Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ jobs:
with:
check_filenames: true
skip: ./.git,./.github/workflows/codespell.yml,.git,*.png,*.jpg,*.svg,*.sum,./vendor,go.sum,./NOTICE
ignore_words_list: filetest,dum,varius,KeyPair,keypair,ro,WRONLY,wronly,AKS,ser
ignore_words_list: filetest,dum,varius,KeyPair,keypair,ro,WRONLY,wronly,AKS,ser,datas

88 changes: 77 additions & 11 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,41 @@ checksum:
algorithm: sha256

archives:
- format: tar.gz
- id: linux-amd64
builds:
- linux-amd64
format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- LICENSE
- README.md
- NOTICE
- src: "./gui/dist/cloudfuseGUI_linux/*"
dst: "./"
- src: "setup/baseConfig.yaml"
dst: "./samples/baseConfig.yaml"
- src: "sampleFileCacheConfigAzure.yaml"
dst: "./samples/sampleFileCacheConfigAzure.yaml"
- src: "sampleFileCacheWithSASConfigAzure.yaml"
dst: "./samples/sampleFileCacheWithSASConfigAzure.yaml"
- src: "sampleFileCacheConfigS3.yaml"
dst: "./samples/sampleFileCacheConfigS3.yaml"
- src: "sampleStreamingConfigS3.yaml"
dst: "./samples/sampleStreamingConfigS3.yaml"
- src: "sampleStreamingConfigAzure.yaml"
dst: "./samples/sampleStreamingConfigAzure.yaml"

- id: linux-arm64
builds:
- linux-arm64
format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
Expand All @@ -69,21 +103,53 @@ archives:
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- NOTICE
- setup/baseConfig.yaml
- sampleFileCacheConfigAzure.yaml
- sampleFileCacheWithSASConfigAzure.yaml
- sampleFileCacheConfigS3.yaml
- sampleStreamingConfigS3.yaml
- sampleStreamingConfigAzure.yaml
- src: "setup/baseConfig.yaml"
dst: "./samples/baseConfig.yaml"
- src: "sampleFileCacheConfigAzure.yaml"
dst: "./samples/sampleFileCacheConfigAzure.yaml"
- src: "sampleFileCacheWithSASConfigAzure.yaml"
dst: "./samples/sampleFileCacheWithSASConfigAzure.yaml"
- src: "sampleFileCacheConfigS3.yaml"
dst: "./samples/sampleFileCacheConfigS3.yaml"
- src: "sampleStreamingConfigS3.yaml"
dst: "./samples/sampleStreamingConfigS3.yaml"
- src: "sampleStreamingConfigAzure.yaml"
dst: "./samples/sampleStreamingConfigAzure.yaml"

- id: windows
builds:
- windows
format: zip
# this name template makes the OS and Arch compatible with the results of `uname`.
name_template: >-
{{ .ProjectName }}_
{{ .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end }}
files:
- LICENSE
- README.md
- NOTICE
- src: "./gui/dist/cloudfuseGUI_windows/*"
dst: "./"
- src: "setup/baseConfig.yaml"
dst: "./samples/baseConfig.yaml"
- src: "sampleFileCacheConfigAzure.yaml"
dst: "./samples/sampleFileCacheConfigAzure.yaml"
- src: "sampleFileCacheWithSASConfigAzure.yaml"
dst: "./samples/sampleFileCacheWithSASConfigAzure.yaml"
- src: "sampleFileCacheConfigS3.yaml"
dst: "./samples/sampleFileCacheConfigS3.yaml"
- src: "sampleStreamingConfigS3.yaml"
dst: "./samples/sampleStreamingConfigS3.yaml"
- src: "sampleStreamingConfigAzure.yaml"
dst: "./samples/sampleStreamingConfigAzure.yaml"
nfpms:
- id: default

Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,24 @@ Cloudfuse supports clouds with an S3 or Azure interface.
## Installation
Download the provided installation packages for your preferred operating system. -- COMING SOON!

### From Tar or Zip files
In the release tab on GitHub, you can download a tar folder for Linux on x86 and a zip folder for Windows on x86 which bundles

the GUI and the Cloudfuse binary. Then run the `cloudfuseGUI` file on your system to launch the GUI or
call the `cloudfuse` binary file on the command line to use Cloudfuse as a command line tool.

On Windows, you will need to install WinFsp to use Cloudfuse. See [this](https://winfsp.dev/rel/) to install WinFSP.

### Source Installation
Please refer to the [Installation from source](https://github.com/Seagate/cloudfuse/wiki/Installation-From-Source) to
manually install Cloudfuse.

## Config
The GUI can help you quickly configure Cloudfuse.

* There are two ways to run the GUI:
* There are three ways to run the GUI:
- Open the Cloudfuse GUI provided in the installation package -- COMING SOON!
- Extract either the tar or zip files to your computer and launch the `cloudfuseGUI`.
- Run the GUI from source, see instructions [here](https://github.com/Seagate/cloudfuse/wiki/Running-the-GUI-from-source)
* Select the desired type of cloud (Azure or S3).
* Click `config`, which opens a new window for settings.
Expand Down
43 changes: 43 additions & 0 deletions gui/cloudfuse_gui.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
['FuseGUI.py'],
pathex=[],
binaries=[],
datas=[],
hiddenimports=[],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
noarchive=False,
)
pyz = PYZ(a.pure)

exe = EXE(
pyz,
a.scripts,
[],
exclude_binaries=True,
name='cloudfuseGUI',
debug=False,
bootloader_ignore_signals=False,
strip=True,
upx=True,
console=False,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
)
coll = COLLECT(
exe,
a.binaries,
a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='cloudfuseGUI',
)
5 changes: 5 additions & 0 deletions gui/create_gui.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

source ./compile_ui.sh

pyinstaller cloudfuse_gui.spec --distpath=./dist