Skip to content

Commit

Permalink
Merge pull request #14 from umjammer/0.1.7
Browse files Browse the repository at this point in the history
0.1.7
  • Loading branch information
umjammer authored Mar 10, 2022
2 parents 5f6ed39 + 4dd6d9f commit 6c2c791
Show file tree
Hide file tree
Showing 198 changed files with 8,055 additions and 2,703 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand All @@ -51,21 +42,19 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
run: mvn -B install --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
7 changes: 6 additions & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,10 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file

- name: Build with Maven
run: mvn -B install --file pom.xml
run: mvn -B install --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
lib
tmp
.eclipse
target/
local.properties
57 changes: 35 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,33 @@

# vavi-apps-fuse

fuse for java and many file systems.
🌏 mount the world!

## Status

| fs | list | upload | download | copy | move | rm | mkdir | cache | watch | project | library |
|--------------------|------|--------|----------|------|------|----|-------|-------|-------|---------|---------|
| google drive (v3) ||||||||| | [sub module](vavi-nio-file-googledrive) | [google-api-services-drive](https://developers.google.com/api-client-library/java/) |
| one drive (v1) ||||||||| | [sub module](vavi-nio-file-onedrive) | [OneDriveJavaSDK](https://github.com/umjammer/OneDriveJavaSDK) |
| one drive (graph) ||||||||| | [sub module](vavi-nio-file-onedrive3) | [msgraph-sdk-java](https://github.com/microsoftgraph/msgraph-sdk-java) |
| one drive (graph) ||||||||| | [sub module](vavi-nio-file-onedrive4) | [onedrive-java-client](https://github.com/iterate-ch/onedrive-java-client) |
| dropbox (v2) ||||||||| | [java7-fs-dropbox](https://github.com/umjammer/java7-fs-dropbox) | |
| box (v2) ||||||||| | [java7-fs-box](https://github.com/umjammer/java7-fs-box) | |
| vfs (sftp) ||||||||| | [sub module](vavi-nio-file-vfs) | [commons-vfs2](https://commons.apache.org/proper/commons-vfs/), [jcifs](https://www.jcifs.org/), [jsch](http://www.jcraft.com/jsch/) |
| vfs (webdav ssh) | 🚧 | | | | | | | | | [sub module](vavi-nio-file-vfs) | [commons-vfs2-jackrabbit2](https://commons.apache.org/proper/commons-vfs/commons-vfs2-jackrabbit2/) |
| archive || - || - | - | - | - | - | | [sub module](vavi-nio-file-archive) | [vavi-util-archive](https://github.com/umjammer/vavi-util-archive) |
| hfs+ (dmg) || | | | | | | | | [sub module](vavi-nio-file-hfs) | [hfsexplorer](https://github.com/umjammer/hfsexplorer) |
| [gathered](https://github.com/umjammer/vavi-apps-fuse/wiki/GatheredFileSystem) || - || - | - | - | - | - | | [sub module](vavi-nio-file-gathered) | - |
| google drive (v3) ||||||||| 🚧 | [sub module](vavi-nio-file-googledrive) | [google-api-services-drive](https://developers.google.com/api-client-library/java/) |
| one drive (v1) ||||||||| 🚧 | [sub module](vavi-nio-file-onedrive) | [OneDriveJavaSDK](https://github.com/umjammer/OneDriveJavaSDK) |
| one drive (graph) ||||||||| 🚧 | [sub module](vavi-nio-file-onedrive3) | [msgraph-sdk-java](https://github.com/microsoftgraph/msgraph-sdk-java) |
| one drive (graph) ||||||||| 🚧 | [sub module](vavi-nio-file-onedrive4) | [onedrive-java-client](https://github.com/iterate-ch/onedrive-java-client) |
| dropbox (v2) ||||||||| 🚧 | [java7-fs-dropbox](https://github.com/umjammer/java7-fs-dropbox) | |
| box (v2) ||||||||| 🚧 | [java7-fs-box](https://github.com/umjammer/java7-fs-box) | |
| vfs (sftp) ||||||||| | [sub module](vavi-nio-file-vfs) | [commons-vfs2](https://commons.apache.org/proper/commons-vfs/), [jsch](http://www.jcraft.com/jsch/) |
| vfs (smb:cifs-ng) ||||||||| | [sub module](vavi-nio-file-vfs) | [commons-vfs2-cifs](https://github.com/vbauer/commons-vfs2-cifs), [jcifs-ng](https://github.com/AgNO3/jcifs-ng) |
| vfs (smb:smbj) ||| ? || 🚫 ||| - | | [sub module](vavi-nio-file-vfs) | [commons-vfs2-smb](https://github.com/mikhasd/commons-vfs2-smb) |
| vfs (webdav ssh) | 🚧 | | | | | | | | | [sub module](vavi-nio-file-vfs) | [commons-vfs2-jackrabbit2](https://commons.apache.org/proper/commons-vfs/commons-vfs2-jackrabbit2/) |
| vfs (smb:cifs) |||||||| - | | [sub module](vavi-nio-file-vfs) | [commons-vfs2-sandbox](https://commons.apache.org/proper/commons-vfs/commons-vfs2-sandbox/), [jcifs-ng](https://github.com/AgNO3/jcifs-ng/) |
| archive || - || - | - | - | - | - | | [sub module](vavi-nio-file-archive) | [vavi-util-archive](https://github.com/umjammer/vavi-util-archive) |
| hfs+ (dmg) || || | | | | | | [sub module](vavi-nio-file-hfs) | [hfsexplorer](https://github.com/umjammer/hfsexplorer) |
| [gathered](https://github.com/umjammer/vavi-apps-fuse/wiki/GatheredFileSystem) || - || - | - | - | - | - | | [sub module](vavi-nio-file-gathered) | - |
| cyberduck (webdav ssh) ||||||||| | [vavi-nio-file-cyberduck](https://github.com/umjammer/vavi-nio-file-cyberduck) | [cyberduck.webdav](https://github.com/iterate-ch/cyberduck/) |
| cyberduck (sftp) ||||||||| | [vavi-nio-file-cyberduck](https://github.com/umjammer/vavi-nio-file-cyberduck) | [cyberduck.ssh](https://github.com/iterate-ch/cyberduck/) |
| discutils (vdi/ntfs) || || | | | | | | [vavi-nio-file-discutils](https://github.com/umjammer/vavi-nio-file-discutils) | |
| google play music | | - || - | - | - | - | - | | [vavi-nio-file-googleplaymusic](https://github.com/umjammer/vavi-nio-file-googleplaymusic) | [gplaymusic](https://github.com/umjammer/gplaymusic) |
| fuse (javafs) |||| ? | ? ||| - | | [sub module](vavi-net-fuse) | [javafs](https://github.com/umjammer/javafs) |
| fuse (fuse-jna) |||| ? | ? ||| - | | [sub module](vavi-net-fuse) | [fuse-jna](https://github.com/EtiennePerot/fuse-jna) |
| fuse (jnr-fuse) | 🚧 ||| ? | ? ||| - | | [sub module](vavi-net-fuse) | [jnr-fuse](https://github.com/SerCeMan/jnr-fuse) |
| discutils (vdi/ntfs) || || | | | | | | [vavi-nio-file-discutils](https://github.com/umjammer/vavi-nio-file-discutils) | |
| ~~google play music~~ || - || - | - | - | - | - | | [vavi-nio-file-googleplaymusic](https://github.com/umjammer/vavi-nio-file-googleplaymusic) | [gplaymusic](https://github.com/umjammer/gplaymusic) |
| fuse (javafs) |||| || || - | | [sub module](vavi-net-fuse) | [javafs](https://github.com/umjammer/javafs) |
| fuse (fuse-jna) |||| || || - | | [sub module](vavi-net-fuse) | [fuse-jna](https://github.com/EtiennePerot/fuse-jna) |
| fuse (jnr-fuse) | ||| || || - | | [sub module](vavi-net-fuse) | [jnr-fuse](https://github.com/SerCeMan/jnr-fuse) |

## Installation

Expand All @@ -42,9 +45,18 @@ fuse for java and many file systems.

* [instruction wiki](https://github.com/umjammer/vavi-apps-fuse/wiki/Home#installation)

### fuse

* install [macFUSE](https://osxfuse.github.io/)
* jvmarg (fuse-jna)
* `-Djna.library.path=/usr/local/lib`

## How To

* [how to replace authenticator](https://github.com/umjammer/vavi-apps-fuse/wiki/HowToReplaceAuthenticator)
* [OCR using google drive](https://github.com/umjammer/vavi-apps-fuse/blob/ade22cec00d1ca9a3ade45cf4061228a032e4a32/vavi-nio-file-sandbox/src/test/java/GoogleOCR.java)
* [remove older revisions on google drive](https://github.com/umjammer/vavi-apps-fuse/blob/9608a560f014d515ad95b45de0264dbe3f7c1d62/vavi-nio-file-googledrive/src/test/java/vavi/nio/file/googledrive/Main7.java)
* [write a description to a file on google drive or onedrive](https://github.com/umjammer/vavi-apps-fuse/blob/9608a560f014d515ad95b45de0264dbe3f7c1d62/vavi-nio-file-sandbox/src/test/java/Descriptor.java)

## References

Expand All @@ -55,12 +67,13 @@ https://github.com/umjammer/vavi-apps-fuse/wiki/Libraries
* ~~amazon~~ (only ios and android are supported now)
* ~~adrive~~ (i was banned)
* ~~flickr~~ (quit 1T service)
* ~~apache-commons-vfs~~ (wip)
* ~~vavi-util-archive~~ (wip)
* ~~apache-commons-vfs~~ (done)
* ~~vavi-util-archive~~ (done)
* ~~shutdownHook~~
* ~~https://github.com/unsound/hfsexplorer~~ (wip)
* ~~virtualbox vdi~~ ([wip](https://github.com/umjammer/vavi-nio-file-discutils))
* mincraft nbt
* ~~https://github.com/unsound/hfsexplorer~~ (done)
* ~~virtualbox vdi~~ ([done](https://github.com/umjammer/vavi-nio-file-discutils))
* ~~mincraft nbt~~ (deal in [tree view](https://github.com/umjammer/vavi-apps-treeview))
* ~~credential from uri~~
* ~~https://github.com/cryptomator/fuse-nio-adapter~~
* https://github.com/mucommander/mucommander

123 changes: 30 additions & 93 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>vavi</groupId>
<artifactId>vavi-apps-fuse</artifactId>
<version>0.1.6</version>

<properties>
<vavi-net-auth.version>0.1.2</vavi-net-auth.version>
<vavi-nio-file.groupId>com.github.umjammer</vavi-nio-file.groupId>
<vavi-nio-file.version>0.0.12</vavi-nio-file.version>
<java7-fs-base.groupId>com.github.umjammer</java7-fs-base.groupId>
<java7-fs-base.version>0.0.10v</java7-fs-base.version>
</properties>
<version>0.1.7</version>

<modules>
<module>vavi-nio-file-commons</module>
<module>vavi-nio-file-googledrive</module>
<module>vavi-nio-file-amazondrive</module>
<module>vavi-nio-file-flickr</module>
Expand All @@ -29,71 +22,19 @@
<module>vavi-net-fuse</module>
</modules>

<properties>
<vavi-net-auth.groupId>com.github.umjammer.vavi-net-auth</vavi-net-auth.groupId>
<vavi-net-auth.version>0.1.4</vavi-net-auth.version>
<vavi-nio-file.groupId>com.github.umjammer </vavi-nio-file.groupId>
<vavi-nio-file.version>0.0.13</vavi-nio-file.version>
<java7-fs-base.groupId>com.github.umjammer</java7-fs-base.groupId>
<java7-fs-base.version>0.0.12v</java7-fs-base.version>
</properties>

<packaging>pom</packaging>
<name>vavi-apps-fuse</name>
<url>https://github.com/umjammer/vavi-apps-fuse</url>
<description>0.1.0

separate into sub modules

0.0.10

fix googledrive redundancy
use util transfer method

0.0.9

fix gatheredfs name map update

0.0.8

update dependencies

0.0.7

catch up with vavi-net-auth

0.0.6

improve google drive
add google drive ocr capability
gatheredfs alias

0.0.5

relive fuse-jna as generic
make onedrive (cyberduck engine) work
make vfs (ssh engine) work

0.0.4

separate nio base
separate oauth2

0.0.3

apache commons vfs
archive
hfs

0.0.2

nio.file

onedrive
googledrive (wip)
box
dropbox

fuse-jna

onedrive

TODO

apple photos.app
google automatic authentication (how to click button)
detect gdocs automatically</description>
<description>fuse for java and many file systems.</description>
<scm>
<url>https://github.com/umjammer/vavi-apps-fuse</url>
</scm>
Expand All @@ -105,18 +46,19 @@ TODO
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.9.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>utf-8</encoding>
</configuration>
<version>3.3</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.0</version>
<version>3.0.0-M5</version>
<configuration>
<argLine>-Djava.util.logging.config.file=${project.build.testOutputDirectory}/logging.properties</argLine>
<trimStackTrace>false</trimStackTrace>
Expand Down Expand Up @@ -155,27 +97,22 @@ TODO

<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.6</version>
<artifactId>vavi-nio-file-commons</artifactId>
<version>0.1.7</version>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.3.0</version>
<scope>test</scope>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.7</version>
</dependency>

<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<version>1.5.2</version>
<scope>test</scope>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.8.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
Expand All @@ -195,13 +132,13 @@ TODO
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.6</version>
<version>0.1.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.6</version>
<version>0.1.7</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
1 change: 1 addition & 0 deletions vavi-net-fuse/local.properties.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
test.mountPoint=/Users/you/mnt/fuse
Loading

0 comments on commit 6c2c791

Please sign in to comment.