-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
cops: upgrade to 1.4.2 #5817
cops: upgrade to 1.4.2 #5817
Conversation
ec35045
to
72fde13
Compare
cfa563a
to
4d158ef
Compare
@smaarn unfortunately the github lint action cannot not find json syntax errors here, as the wizard files are generated upon build... It would be great to have a syntax check of the generated wizard files, but it is not worth to include EDIT: |
@smaarn I have now a working version of COPS on DSM 7.2. The last failure was, that I did not install Apache 2.4. |
The online viewer is not yet working. The same ebook works with The only error log found is in
|
Will be checking for adding a json check. I am wondering if a simple jq processing wouldn't be doing the trick. |
this can be fixed by adding the "zlib" extension for php got this error with cops 1.1.3 on DSM 6 without zlib extension |
@smaarn can we please downgrade the required php to v7.4 (instead of 8.2) to get compatibility with DSM 7.1 and DSM 6? |
@hgy59 unfortunately we don't have much choice here. The forked version actually requires PHP 8.2. Another option would be to do this in two steps:
WDYT ? |
Regarding the Changelog, php8 is required for cops >= 1.4 (but not for 1.3.6). So since the last published version of cops is broken on DSM 6, it would be good to have a fixed version (it is not only the missing zlib extension entry). |
43bdd00
to
c6c674c
Compare
Alas, it seems that the 1.2.0 is already about migrating to PHP 8.0.
That's a fair point. Will be making an intermediary fixed version. |
Indeed there is no note in the changelog, that PHP 8 is required, there are only entries about PHP 8 compatibility. EDIT |
6bcdceb
to
95afd18
Compare
c01ca4c
to
ebf9b29
Compare
Bumped to 1.4.2 which is supposed to officially support PHP 7.4 Generated packages here: https://github.com/smaarn/spksrc/releases/tag/cops-1.4.2-rc-1 Will be testing out the newly generated binaries right away. |
Fixed installer PHP instructions for DSM 7 New binaries: https://github.com/smaarn/spksrc/releases/tag/cops-1.4.2-rc-2 |
PTAL @hgy59 I upgraded to 1.4.2 and fixed a few mustache issues (basically DSM 6 and DSM 7 weren't appropriately separated) |
@smaarn just a small issue with DSM 6: the installation logs show:
So for DSM < 7 we need Please add this to the Makefile (just above the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM now
Description
Original project has gone quiet for some time now (few years).
A fork has been created and maintained since which includes an OOM fix when trying to download "big files" and adds support for latest supported PHP versions.
This MR is therefore aiming for
.htaccess
migrationAdditionally all its wizards are switched to using mustache templates.
Checklist
all-supported
completed successfullyType of change