YunoHost-Apps / dokuwiki_ynh

Dokuwiki package for YunoHost
https://www.dokuwiki.org/dokuwiki
GNU General Public License v3.0
11 stars 16 forks source link

Fix conf folder handling + fix admin user + misc enhancements #40

Closed Gofannon closed 6 years ago

Gofannon commented 6 years ago

Problem

Solution

Edit

PR Status

Validation


Minor decision

Gofannon commented 6 years ago

Thanks for the fixes and review.


Error in upgrade script

According to package_linter, there is an error in the upgrade script and I cannot fix it :/ I don't know where it comes from.

from the CI

>> Package linter... [Test 1/11]
Traceback (most recent call last):
  File "/home/CI_package_check/dev_CI/../package_check/package_linter/package_linter.py", line 382, in <module>
    check_script(app_path, script, script_nbr)
  File "/home/CI_package_check/dev_CI/../package_check/package_linter/package_linter.py", line 252, in check_script
    check_non_helpers_usage(read_file(script_path))
  File "/home/CI_package_check/dev_CI/../package_check/package_linter/package_linter.py", line 313, in check_non_helpers_usage
    if "exit" in script:
  File "/usr/lib/python3.5/shlex.py", line 263, in __next__
    token = self.get_token()
  File "/usr/lib/python3.5/shlex.py", line 90, in get_token
    raw = self.read_token()
  File "/usr/lib/python3.5/shlex.py", line 166, in read_token
    raise ValueError("No closing quotation")
ValueError: No closing quotation

from my computer

>>>> UPGRADE SCRIPT <<<<
Traceback (most recent call last):
  File "./package_linter.py", line 382, in <module>
    check_script(app_path, script, script_nbr)
  File "./package_linter.py", line 252, in check_script
    check_non_helpers_usage(read_file(script_path))
  File "./package_linter.py", line 313, in check_non_helpers_usage
    if "exit" in script:
  File "/usr/lib/python3.6/shlex.py", line 295, in __next__
    token = self.get_token()
  File "/usr/lib/python3.6/shlex.py", line 105, in get_token
    raw = self.read_token()
  File "/usr/lib/python3.6/shlex.py", line 187, in read_token
    raise ValueError("No closing quotation")
ValueError: No closing quotation
JimboJoe commented 6 years ago

Woops, thanks for the fix :+1:

maniackcrudelis commented 6 years ago

Looks good to me

maniackcrudelis commented 6 years ago

Will be merged in 3 days.