diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..2729a6b --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,55 @@ +--- +name: Bug report +about: When creating a bug report, please use the following template to provide all the relevant information and help debugging efficiently. + +--- + +**How to post a meaningful bug report** +1. *Read this whole template first.* +2. *Determine if you are on the right place:* + - *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!* + - *Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.* + - *When in doubt, post here and we will figure it out together.* +3. *Delete the italic comments as you write over them below, and remove this guide.* +--- + +### Describe the bug + +*A clear and concise description of what the bug is.* + +### Context + +- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...* +- YunoHost version: x.x.x +- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...* +- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes* + - If yes, please explain: +- Using, or trying to install package version/branch: +- If upgrading, current package version: *can be found in the admin, or with `yunohost app info $app_id`* + +### Steps to reproduce + +- *If you performed a command from the CLI, the command itself is enough. For example:* + ```sh + sudo yunohost app install the_app + ``` +- *If you used the webadmin, please perform the equivalent command from the CLI first.* +- *If the error occurs in your browser, explain what you did:* + 1. *Go to '...'* + 2. *Click on '...'* + 3. *Scroll down to '...'* + 4. *See error* + +### Expected behavior + +*A clear and concise description of what you expected to happen. You can remove this section if the command above is enough to understand your intent.* + +### Logs + +*When an operation fails, YunoHost provides a simple way to share the logs.* +- *In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.* +- *In command line, the command to share the logs is displayed at the end of the operation and looks like `yunohost log display [log name] --share`. If you missed it, you can find the log ID of a previous operation using `yunohost log list`.* + +*After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)* + +*If applicable and useful, add screenshots to help explain your problem.* diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..ef70e18 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## Problem + +- *Description of why you made this PR* + +## Solution + +- *And how do you fix that problem* + +## PR Status + +- [ ] Code finished and ready to be reviewed/tested +- [ ] The fix/enhancement were manually tested (if applicable) + +## Automatic tests + +Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ *after creating the PR*, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization) diff --git a/README.md b/README.md index 175269c..767e695 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ It shall NOT be edited by hand. ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform. -**Shipped version:** 5.0.1~ynh1 +**Shipped version:** 5.0.3~ynh1 ## Screenshots diff --git a/README_eu.md b/README_eu.md index 34979c5..005bb19 100644 --- a/README_eu.md +++ b/README_eu.md @@ -18,7 +18,7 @@ EZ editatu eskuz. ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform. -**Paketatutako bertsioa:** 5.0.1~ynh1 +**Paketatutako bertsioa:** 5.0.3~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index d719b30..2f1ea7a 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. ownCloud Infinite Scale (oCIS) est la nouvelle plateforme de synchronisation et de partage de fichiers qui constituera la base de votre plateforme de gestion de données. -**Version incluse :** 5.0.1~ynh1 +**Version incluse :** 5.0.3~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 966276b..78a8c74 100644 --- a/README_gl.md +++ b/README_gl.md @@ -18,7 +18,7 @@ NON debe editarse manualmente. ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform. -**Versión proporcionada:** 5.0.1~ynh1 +**Versión proporcionada:** 5.0.3~ynh1 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md index f574989..cef32e7 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -18,7 +18,7 @@ ownCloud Infinite Scale (oCIS) is the new file sync & share platform that will be the foundation of your data management platform. -**分发版本:** 5.0.1~ynh1 +**分发版本:** 5.0.3~ynh1 ## 截图 diff --git a/manifest.toml b/manifest.toml index eddb7a7..82e673f 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "ownCloud" description.en = "Online storage, file sharing platform" description.fr = "Stockage en ligne, plateforme de partage de fichiers" -version = "5.0.1~ynh1" +version = "5.0.3~ynh1" maintainers = ["eric_G"] @@ -50,19 +50,18 @@ ram.runtime = "50M" [resources] [resources.sources.main] - amd64.url = "https://github.com/owncloud/ocis/releases/download/v5.0.1/ocis-5.0.1-linux-amd64" - amd64.sha256 = "173d1e7b42eed022f7c496eca75082974aec37fa78f0174e8fca1539fd104a1e" - arm64.url = "https://github.com/owncloud/ocis/releases/download/v5.0.1/ocis-5.0.1-linux-arm64" - arm64.sha256 = "cc7ee7262e80d42f80707737ef9bda1f554ec48169951e47a7903398036e88e0" - armhf.url = "https://github.com/owncloud/ocis/releases/download/v5.0.1/ocis-5.0.1-linux-arm" - armhf.sha256 = "4896e080296fe0d007d1601b56af4c4518bd21a6ace7f6d1a6bf91c113177423" - i386.url = "https://github.com/owncloud/ocis/releases/download/v5.0.1/ocis-5.0.1-linux-386" - i386.sha256 = "aabc59d4a8326ffd82f11c2f83aa87d9dd56e45ec54f413c71e7c06857d46081" + amd64.url = "https://github.com/owncloud/ocis/releases/download/v5.0.3/ocis-5.0.3-linux-amd64" + amd64.sha256 = "6257c2cc95ac52361c3f49968e45951fe7c28d3a8d1a27f523441389326b3cc1" + arm64.url = "https://github.com/owncloud/ocis/releases/download/v5.0.3/ocis-5.0.3-linux-arm64" + arm64.sha256 = "84651ac080ae4866555f8bda084f4d19dd88f0bafea6b0cbbe79b4e6a337796e" + armhf.url = "https://github.com/owncloud/ocis/releases/download/v5.0.3/ocis-5.0.3-linux-arm" + armhf.sha256 = "9d01a3754a68a56811291ce9738af973c2dfaae6caf256ebd4ef44a84241915a" + i386.url = "https://github.com/owncloud/ocis/releases/download/v5.0.3/ocis-5.0.3-linux-386" + i386.sha256 = "d9b9c7f36bfea8f8ebee004435dadabbf6b1b0656eb6f3541a8e181212baecc1" in_subdir = false rename = "ocis" - # commented for now, waiting for stable owncloud v5 - # autoupdate.strategy = "latest_github_release" + autoupdate.strategy = "latest_github_release" autoupdate.asset.amd64 = "^ocis-.*-linux-amd64$" autoupdate.asset.arm64 = "^ocis-.*-linux-arm64$" autoupdate.asset.i386 = "^ocis-.*-linux-386$" diff --git a/scripts/upgrade b/scripts/upgrade index c00d6b7..00701f3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -11,12 +11,6 @@ source /usr/share/yunohost/helpers timezone=$(cat /etc/timezone) -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -29,14 +23,10 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=1 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=1 - - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="ocis.env ocis.yaml" -fi +# Download, check integrity, uncompress and patch the source from app.src +ynh_setup_source --dest_dir="$install_dir" --full_replace=1 --keep="ocis.env ocis.yaml" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"