Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AppImage] use owncloudcmd #10888

Closed
2 tasks done
michaelstingl opened this issue May 30, 2023 · 4 comments
Closed
2 tasks done

[AppImage] use owncloudcmd #10888

michaelstingl opened this issue May 30, 2023 · 4 comments
Assignees
Labels
AppImage Linux p2-high Escalation, on top of current planning, release blocker
Milestone

Comments

@michaelstingl
Copy link
Contributor

michaelstingl commented May 30, 2023

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Feature description

ownCloud provides a Command Line Client, and users would like to use it from the AppImage too.

Proposed solution

As I understood, there are multiple options.

(1) Document workaround: extract AppImage?

This is ugly, but already works today.

(2) AppImage entrypoint

@fmoc please elaborate. Link to AppImage docs?

(3) Add non-GUI CLI parameter to owncloud binary

@fmoc more a mid-term approach? (5.0+)

Alternative solutions you considered

No response

Additional context

@fmoc @TheOneRing POC doable in the context of 4.1?

@michaelstingl michaelstingl added this to the Desktop Client 4.1 milestone May 30, 2023
@michaelstingl michaelstingl added the p2-high Escalation, on top of current planning, release blocker label May 31, 2023
@michaelstingl
Copy link
Contributor Author

(2) AppImage entrypoint

@fmoc please elaborate. Link to AppImage docs?

POC should be doable for the 4.1 🤞

@michaelstingl
Copy link
Contributor Author

(3) Add non-GUI CLI parameter to owncloud binary

@fmoc more a mid-term approach? (5.0+)

➡️ doable for 5.0, but needs some more changes. (parse CLI before GUI init etc)

@fmoc @TheOneRing new issue or keep this one?

@TheOneRing
Copy link
Contributor

@saw-jan
Copy link
Member

saw-jan commented Jun 6, 2023

Tested with 4.1

$ ./ownCloud-4.1.0.11174-daily20230606-x86_64.AppImage --cmd --help             
Usage: /tmp/.mount_ownCloCfTcfC/usr/bin/owncloudcmd [options] source_dir server_url remote_folder
owncloudcmd version 4.1.0.11174-daily20230606 - command line client tool

Options:
  -s, --silent                      Don't be so verbose.
  --httpproxy <http://server:port>  Specify a http proxy to use.
  --trust                           Trust the SSL certification
  --exclude <file>                  Path to an exclude list [file]
  --unsyncedfolders <file>          File containing the list of unsynced remote
                                    folders (selective sync)
  --server <url>                    Use [url] as the location of the server.
                                    OCIS only (server location and spaces url
                                    can differ)
  -u, --user <name>                 Use [name] as the login name
  -p, --password <password>         Use [pass] as password
  -n                                Use netrc (5) for login
  --non-interactive                 Do not block execution with interaction
  --max-sync-retries <n>            Retries maximum n times (default to 3)
  --uplimit <n>                     Limit the upload speed of files to n KB/s
  --downlimit <n>                   Limit the download speed of files to n KB/s
  --sync-hidden-files               Enables synchronization of hidden files
  --logdebug                        More verbose logging
  -h, --help                        Displays help on commandline options.
  --help-all                        Displays help including Qt specific
                                    options.
  -v, --version                     Displays version information.

Arguments:
  source_dir                        The source dir
  server_url                        The url to the server
  remote_folder                     A remote folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AppImage Linux p2-high Escalation, on top of current planning, release blocker
Projects
None yet
Development

No branches or pull requests

4 participants