YunoHost-Apps / my_webapp_ynh

Custom Web app with SFTP access
GNU General Public License v3.0
48 stars 42 forks source link

Allow to configure extra nginx conf in $app.d/ directory #101

Closed fflorent closed 1 year ago

fflorent commented 1 year ago

Problem

Solution

PR Status

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)

fflorent commented 1 year ago

!testme

fflorent commented 1 year ago

fflorent commented 1 year ago

The cause of the failure is this:


 ! General stuff, misc helper usage

    - READMEs are to be automatically generated using https://github.com/YunoHost/apps/tree/master/tools/README-generator.
    - You are encouraged to create a doc/DISCLAIMER.md file, which should contain any important information to be presented to the admin before installation. Check https://github.com/YunoHost/example_ynh/blob/master/doc/DISCLAIMER.md for more details (it should be somewhat equivalent to the old 'Known limitations' and 'Specific features' section). (It's not mandatory to create this file if you're absolutely sure there's no relevant info to show to the user)
    - If relevant for this app, screenshots can be added in a doc/screenshots/ folder.
    ✘ It looks like the README was not generated automatically by https://github.com/YunoHost/apps/tree/master/tools/README-generator. Note that nowadays you are not suppose to edit README.md, the yunohost bot will usually automatically update it if your app is hosted in the YunoHost-Apps org ... or you can also generate it by running the README-generator yourself.

However, I didn't change the README file. Or did my patch made the check fail somehow?

fflorent commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:sunflower: Test Badge

fflorent commented 1 year ago

Run package_check locally for a5d3f51aa5253ce7f96cd0f419bbd312e86761ed, I got this:

 ============================================
 Tests summary
 ============================================

------------- Test complet -------------
Package linter:                OK  (3 possible improvements)
Install (root):                OK
Install (subdir):              OK
Install (private):             OK
Install (multi):               OK
Backup/restore:                OK
Upgrade:                       OK
Upgrade (a050e555):            OK
Change url:                    OK
------------- Test without sftp -------------
Install (subdir):              OK
Backup/restore:                OK
Upgrade:                       OK
------------- Test without mysql -------------
Install (subdir):              OK
Backup/restore:                OK
Upgrade:                       OK
------------- Test without PHP -------------
Install (subdir):              OK
Backup/restore:                OK
Upgrade:                       OK
------------- Test with PHP7.4 -------------
Install (subdir):              OK
Backup/restore:                OK
Upgrade:                       OK
------------- Test with PHP8.0 -------------
Install (subdir):              OK
Backup/restore:                OK
Upgrade:                       OK

Level results
=============
Level 1 (Installable in at least one scenario)    OK
Level 2 (Installable in all scenarios)            OK
Level 3 (Can be upgraded)                         OK
Level 4 (Can be backup/restored)                  OK
Level 5 (No linter errors)                       
Level 6 (App is in a community-operated git org)  ok 
Level 7 (Pass all tests + no linter warnings)    
Level 8 (Maintained and long-term good quality)  
Level 9 (Flagged high-quality in app catalog)    

Global level for this application: 4 (Can be backup/restored)

(Protip™ for CI admin: you should 'apt install wkhtmltopdf optipng --no-install-recommends' to enable result summary export to .png)
Global working time for all tests: 40 minutes, 50 seconds (21:04:35)
fflorent commented 1 year ago

!testme

yunohost-bot commented 1 year ago

May the CI gods be with you! Test Badge

fflorent commented 1 year ago

!testme

yunohost-bot commented 1 year ago

:stuck_out_tongue_winking_eye: Test Badge

fflorent commented 1 year ago

Do you feel comfortable with the changes? I can understand that you would rather go with changing directly the core for that.

fflorent commented 1 year ago

!testme

yunohost-bot commented 1 year ago

Fingers crossed! Test Badge

fflorent commented 1 year ago

Propose to first focus on #107 and then review this.

ericgaspar commented 1 year ago

Closing with #116

fflorent commented 1 year ago

!testme

8 mai 2023 14:51:57 Éric Gaspar @.***>:

Closed #101[https://github.com/YunoHost-Apps/my_webapp_ynh/pull/101].

— Reply to this email directly, view it on GitHub[https://github.com/YunoHost-Apps/my_webapp_ynh/pull/101#event-9190067834], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AAC2X6M5W7H5EEAK32DWN2DXFDT6VANCNFSM6AAAAAATYCXIIQ]. You are receiving this because you authored the thread.[Image de pistage][https://github.com/notifications/beacon/AAC2X6PZYZZNWVJUI6GWKWTXFDT6VA5CNFSM6AAAAAATYCXIISWGG33NNVSW45C7OR4XAZNWJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XKUY3PNVWWK3TUL5UWJTYAAAAAEI6FJZ5A.gif]