1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/miniflux_ynh.git synced 2024-09-03 19:45:58 +02:00

Merge pull request #11 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-09-26 14:20:39 +02:00 committed by GitHub
commit d0aa4afd51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 89 additions and 22 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

55
.github/ISSUE_TEMPLATE.md vendored Executable file
View file

@ -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.*

16
.github/PULL_REQUEST_TEMPLATE.md vendored Executable file
View file

@ -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)

View file

@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Minimalist and opinionated RSS feed reader Minimalist and opinionated RSS feed reader
**Shipped version:** 2.0.32~ynh1 **Shipped version:** 2.0.33~ynh1

View file

@ -11,9 +11,9 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
## Vue d'ensemble ## Vue d'ensemble
Agrégateur de flux RSS minimaliste Minimalist and opinionated RSS feed reader
**Version incluse :** 2.0.32~ynh1 **Version incluse :** 2.0.33~ynh1

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.32/miniflux-linux-amd64 SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.33/miniflux-linux-amd64
SOURCE_SUM=4ff864b067f9e5fa4aa7550b9ff8ec45be8673d991ebd40aece5dcdbdc2b063a SOURCE_SUM=fa1996c1d6d6dae58b7f009ea484b92f7b7bba322fd483213332147e359e811d
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=miniflux SOURCE_FILENAME=miniflux

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.32/miniflux-linux-armv5 SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.33/miniflux-linux-armv5
SOURCE_SUM=45f2c16f18d82eb339f2db365c9ba7c284704f97a87a90ee6c6d0753bbb69c25 SOURCE_SUM=f0e11903bb3688ab4aa08746b4f904c9a71c94d5f005cc4f5d3fdbb58745c3de
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=miniflux SOURCE_FILENAME=miniflux

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.32/miniflux-linux-armv6 SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.33/miniflux-linux-armv6
SOURCE_SUM=947babb72998eae246a1e84e9613756dd30651ee03213aa9f37c0272e7b69157 SOURCE_SUM=7aa84c40f3b272cd67c1a599710e8979e08bb715360d065b4578fc5c6a97d9c3
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=miniflux SOURCE_FILENAME=miniflux

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.32/miniflux-linux-arm64 SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.33/miniflux-linux-arm64
SOURCE_SUM=b0561ccb88d0a21864b7d5165a2caa60443b642215c29e37ad88c0dc72ac5458 SOURCE_SUM=e5a98f987c6b019459d42f56f2d2566f13aa3e06b808f27fb5b602fcbe8f0c57
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=miniflux SOURCE_FILENAME=miniflux

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.32/miniflux-linux-armv7 SOURCE_URL=https://github.com/miniflux/v2/releases/download/2.0.33/miniflux-linux-armv7
SOURCE_SUM=fda79571cb8fc316e61f1853d3f95d39c961ad48d6de4e5f98b119442abb6e39 SOURCE_SUM=41a2c6bc2d90062badd001df576a8d82621b304b3059dca64441c73ca4ce707c
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false
SOURCE_FILENAME=miniflux SOURCE_FILENAME=miniflux

1
doc/DESCRIPTION.md Normal file
View file

@ -0,0 +1 @@
Minimalist and opinionated RSS feed reader

View file

@ -6,7 +6,7 @@
"en": "Minimalist and opinionated RSS feed reader", "en": "Minimalist and opinionated RSS feed reader",
"fr": "Agrégateur de flux RSS minimaliste" "fr": "Agrégateur de flux RSS minimaliste"
}, },
"version": "2.0.32~ynh1", "version": "2.0.33~ynh1",
"url": "https://miniflux.app/", "url": "https://miniflux.app/",
"upstream": { "upstream": {
"license": "Apache-2.0", "license": "Apache-2.0",
@ -29,8 +29,7 @@
"install" : [ "install" : [
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "domain.org"
}, },
{ {
"name": "path", "name": "path",
@ -40,8 +39,7 @@
}, },
{ {
"name": "admin", "name": "admin",
"type": "user", "type": "user"
"example": "johndoe"
}, },
{ {
"name": "is_public", "name": "is_public",
@ -58,8 +56,7 @@
"help": { "help": {
"en": "Must be more than 6 characters.", "en": "Must be more than 6 characters.",
"fr": "Doit contenir plus de 6 caractères." "fr": "Doit contenir plus de 6 caractères."
}, }
"example": "Choose a password"
} }
] ]
} }

View file

@ -35,8 +35,6 @@ db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
#================================================= #=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=2 ynh_script_progression --message="Validating restoration parameters..." --weight=2
ynh_webpath_available --domain=$domain --path_url=$path_url \
|| ynh_die --message="Path not available: ${domain}${path_url}"
test ! -d $final_path \ test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path " || ynh_die --message="There is already a directory: $final_path "