Skip to content

Commit

Permalink
Merge pull request #18 from umjammer/0.1.8
Browse files Browse the repository at this point in the history
0.1.8
  • Loading branch information
umjammer authored Nov 14, 2022
2 parents 6c2c791 + a4385cb commit de196ac
Show file tree
Hide file tree
Showing 104 changed files with 1,804 additions and 652 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: [umjammer] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -43,18 +43,20 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 1.8
java-version: '8'
distribution: 'temurin'
cache: maven
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
- name: Build with Maven
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
uses: github/codeql-action/analyze@v2
35 changes: 23 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,26 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- 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

- name: Build with Maven
run: mvn -B install --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Checkout repository
uses: actions/checkout@v3

- name: Check w/o SNAPSHOT when "bump version"
if: ${{ contains(github.event.head_commit.message, 'bump version') }}
run: grep "<version>" pom.xml | head -1 | grep -v SNAPSHOT

- name: Set up JDK 1.8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
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: |
mkdir -p $FUSE_MOUNT_POINT
mvn -B install --file pom.xml -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
FUSE_MOUNT_POINT: tmp/fuse
63 changes: 39 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
[![Release](https://jitpack.io/v/umjammer/vavi-apps-fuse.svg)](https://jitpack.io/#umjammer/vavi-apps-fuse) [![Java CI with Maven](https://github.com/umjammer/vavi-apps-fuse/workflows/Java%20CI%20with%20Maven/badge.svg)](https://github.com/umjammer/vavi-apps-fuse/actions)
[![Release](https://jitpack.io/v/umjammer/vavi-apps-fuse.svg)](https://jitpack.io/#umjammer/vavi-apps-fuse)
[![Java CI with Maven](https://github.com/umjammer/vavi-apps-fuse/workflows/Java%20CI%20with%20Maven/badge.svg)](https://github.com/umjammer/vavi-apps-fuse/actions)
[![CodeQL](https://github.com/umjammer/vavi-apps-fuse/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/umjammer/vavi-apps-fuse/actions/workflows/codeql-analysis.yml)
![Java](https://img.shields.io/badge/Java-8-b07219)

# vavi-apps-fuse

Expand All @@ -8,35 +11,44 @@

| 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/), [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) |
| 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) |

## Usage

```java
URI uri = URI.create("googledrive:///[email protected]");
FileSystems fs = FileSystems.newFileSystem(uri, Collections.emptyMap());
Fuse.getFuse().mount(fs, "/your/mout/point", Collections.emptyMap());
```

## Installation

### jars

* https://jitpack.io/#umjammer/vavi-apps-fuse

### selenium chrome driver
### ~~selenium chrome driver~~ (obsolete, use os default browser)

* download the [chromedriver executable](https://chromedriver.chromium.org/downloads) and locate it into some directory.
* don't forget to run jvm with the jvm argument `-Dwebdriver.chrome.driver=/usr/local/bin/chromedriver`.
Expand Down Expand Up @@ -64,7 +76,7 @@ https://github.com/umjammer/vavi-apps-fuse/wiki/Libraries

## TODO

* ~~amazon~~ (only ios and android are supported now)
* ~~amazon~~ (~~only ios and android are supported now~~ to be closed)
* ~~adrive~~ (i was banned)
* ~~flickr~~ (quit 1T service)
* ~~apache-commons-vfs~~ (done)
Expand All @@ -76,4 +88,7 @@ https://github.com/umjammer/vavi-apps-fuse/wiki/Libraries
* ~~credential from uri~~
* ~~https://github.com/cryptomator/fuse-nio-adapter~~
* https://github.com/mucommander/mucommander
* trash,recent
* https://github.com/googleapis/java-storage-nio (official !!!)
* https://github.com/unsound/jfuse (jni)

25 changes: 13 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>vavi</groupId>
<artifactId>vavi-apps-fuse</artifactId>
<version>0.1.7</version>
<version>0.1.8</version>

<modules>
<module>vavi-nio-file-commons</module>
Expand All @@ -24,11 +24,12 @@

<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>
<vavi-net-auth.version>0.1.6</vavi-net-auth.version>
<vavi-nio-file.groupId>com.github.umjammer</vavi-nio-file.groupId>
<vavi-nio-file.version>0.0.14</vavi-nio-file.version>
<!-- com.github.fge / com.github.umjammer -->
<java7-fs-base.groupId>com.github.umjammer</java7-fs-base.groupId>
<java7-fs-base.version>0.0.12v</java7-fs-base.version>
<java7-fs-base.version>0.0.13v</java7-fs-base.version>
</properties>

<packaging>pom</packaging>
Expand All @@ -48,7 +49,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.9.0</version>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
Expand All @@ -58,7 +59,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.0.0-M7</version>
<configuration>
<argLine>-Djava.util.logging.config.file=${project.build.testOutputDirectory}/logging.properties</argLine>
<trimStackTrace>false</trimStackTrace>
Expand Down Expand Up @@ -98,19 +99,19 @@
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-nio-file-commons</artifactId>
<version>0.1.7</version>
<version>0.1.8</version>
</dependency>

<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.7</version>
<version>0.1.8</version>
</dependency>

<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.8.1</version>
<version>5.9.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand All @@ -132,13 +133,13 @@
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.7</version>
<version>0.1.8</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>vavi</groupId>
<artifactId>vavi-net-fuse</artifactId>
<version>0.1.7</version>
<version>0.1.8</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion vavi-net-fuse/local.properties.sample
Original file line number Diff line number Diff line change
@@ -1 +1 @@
test.mountPoint=/Users/you/mnt/fuse
fuse.mountPoint=/Users/you/mnt/fuse
16 changes: 9 additions & 7 deletions vavi-net-fuse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>vavi</groupId>
<artifactId>vavi-apps-fuse</artifactId>
<version>0.1.7</version>
<version>0.1.8</version>
</parent>

<artifactId>vavi-net-fuse</artifactId>
Expand Down Expand Up @@ -56,12 +56,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M7</version>
<configuration>
<includes>
<include>**/Main4</include>
</includes>
<environmentVariables>
<TEST4_MOUNT_POINT>${test.mountPoint}</TEST4_MOUNT_POINT>
<FUSE_MOUNT_POINT>${fuse.mountPoint}</FUSE_MOUNT_POINT>
</environmentVariables>
<argLine>
-Djava.util.logging.config.file=${project.build.testOutputDirectory}/logging.properties
Expand All @@ -79,6 +80,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<goals>
Expand All @@ -92,16 +94,16 @@

<dependencies>
<dependency>
<!-- fuse jnr (co.paralleluniverse) -->
<!-- fuse jnr (co.paralleluniverse / com.github.umjammer) -->
<groupId>com.github.umjammer</groupId>
<artifactId>javafs</artifactId>
<version>0.1.6v</version>
<version>0.1.7v</version>
</dependency>
<dependency>
<!-- fuse jna (net.fuse-jna) -->
<groupId>com.github.umjammer</groupId>
<artifactId>fuse-jna</artifactId>
<version>1.0.4v</version>
<version>1.0.5v</version>
</dependency>
<dependency>
<groupId>com.github.serceman</groupId>
Expand All @@ -112,7 +114,7 @@
<dependency>
<groupId>com.github.umjammer</groupId>
<artifactId>vavi-commons</artifactId>
<version>1.1.6</version>
<version>1.1.8</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -144,7 +146,7 @@
<dependency>
<groupId>com.google.jimfs</groupId>
<artifactId>jimfs</artifactId>
<version>1.1</version>
<version>1.2</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Loading

0 comments on commit de196ac

Please sign in to comment.