-
-
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
SickChill: fix broken package and update #4835
Conversation
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.
Thanks the Installation and upgrade succeeds and fixes the package. Unfortunately running the internal updater breaks the package again. Can this be fixed? It might be something the sickchill developers have to do.
FYI installation logs this error but does not appear to impact the package.
grep --ignore-case error /var/log/packages/sickchill.log
ERROR: SQLAlchemy-1.3.20-cp37-none-any.whl is not a supported wheel on this platform.
Co-authored-by: Sebastian Schmidt <[email protected]>
Some changes to SC are related to this, and the next release/push to master from develop fixes updating. But we absolutely need fixes in the Synocommunity package for it to ever work. I wish your team would open up a little on changes to this specific package, because it only effects users of SickChill, and we absolutely know what we need for it to be able to run on syno, reliably. If we aren't creating a security issue or some sort of system wide critical error please just let some changes in. If you want a huge change set at once, let us know. We can do a bunch of small PRs with easy to review changes, or a major PR that makes it work for dsm7 and also fix the installer and updater issues at the same time. Just tell us what we need to do to get something merged, otherwise we need to go back to releasing our own spk's, which I don't want to do really. |
I just thought this would be an easy PR to merge and fix the package and would obviously prefer if the updater worked. I haven't looked at #4743 yet, It looks like it doesn't compile yet.
Ideal PR size is hard to judge. Usually 1 PR per SPK package (can include all of: updates/features/cross packages/very small core framework changes) and 1 PR for large changes needed in the framework. If changes to dsm7 are significant enough it might be best to separate it out to a separate PR.
I'm not sure if I understand, Maybe it helps to explain my/our general process. @hgy59 feel free to correct me All packages must compile on all architectures that report themselves as supported. (e.g. pass CI [sometimes there is an exemption e.g. when a known broken package courses an error in the CI, this is from when the CI did not exist]). We can help get you there, but our tiny team is stretched pretty thin. Then we look over the code (I think this where everyone has a slightly different view on things e.g. I don't have much knowledge of Python with the framework, so I usually don't review them, but I know DSM requirements well), Lastly we build package and do some tests (in my case in a virtual environment) of basic functionally and look in log files for errors. Then we merge and publish (master is stable and is what is published) IMHO this PR failed the update test which I think is part of basic functionality testing. The package is otherwise functional. But since this package is already broken I'm happy to merge this. As to my question then
I Just wanted to know what the plan with the updater is. The answer would determine if there are any changes I would recommend adding to this PR. If for instance it would not work in any way we would have to notify users that the updater is not working. So should I wait until |
Never mind. I included the patch here |
@hgy59 I'm sorry but can you delete the dsm7 version. Using the CI to publish no-arch packages was not a good idea of mine... |
DSM 6 spk while we wait for sc release. |
You can use this link too. https://packages.synocommunity.com/sickchill/2/sickchill.v2.f7321%5Bnoarch%5D.spk |
Hi guys, the attempt to put the patch on the file @miigotu can you push the fix to master please. |
Please be specific what fails? I know the patch does not fix the updater (the updater replaces the file), but it did fix the build which I assumed this was about |
No, the fix for I was under the misconception that it actually modified the code in the file being built into the package. |
As soon as I can get to my laptop, I will make a release of SC, but this patch should apply on a new install. I'm only concerned if patching here breaks the updater in SC. Ideally, we should remove the patch and update the commit hash included in the package. (This is why it was not pinned to a specific release originally, it was a git pull from the master branch (which is always the latest release) just like sickbeard-custom.) Any errors were easily fixed on SC end without a new PR here. |
Thanks for merging this though, it's a step in the right direction and what is most important is to see progress. Otherwise it just gets frustrating having perpetual requested changes on PRs that actually work. |
The patch inside the package doesn't seem to have any adverse effects, I removed the patch and built the package. Installed it, swapped the init_helpers file and it starts and with some basic testing functions. I also built DSM7 version and did a test and installs. |
Yeah I've been working on it, there were some issues with current develop and I'm not about to be rushed into another disaster release to partially help only one ecosystem. Maybe tomorrow it will be sorted out for testing. |
Yeah I've been working on it, there were some issues with current develop and I'm not about to rush into another disaster release to partially help only one ecosystem. Maybe tomorrow it will be sorted out for testing. |
Based on the #4856 issue thread it's obvious the online package is duff. Also in my own compilation of the package for DSM7 it is also functional. Please consider releasing the DSM7 version too when the current version is corrected. |
I've already unpublished it yesterday, so It already stops showing up as an update in the package center. The website will still show it though |
The 20210329-1 version also doesn't load now due to #4861 |
As I'm working on a fix for all the issues that have become apparent with moving to Python 38 package and particularly for ARM based architectures I have the code and requirements for 38 but for some reason Edit: additional from build spk.
|
Reverted version 20210329-1 doesn't seem load same requirements. |
* Initial fix to /env folder ownership and move to python 3.8 * Update Sickchill Co-authored-by: Sebastian Schmidt <[email protected]>
Motivation: Fix ownership on the DSM6 package so SickChill can update successfully without having to ssh and chown the env folder
Linked issues: #4703 and many on SickChill https://github.com/SickChill/SickChill/discussions/7364 https://github.com/SickChill/SickChill/issues/7316 #7234 #7249 #7265 #7293 #7295 #7321 #7327 #7347 #7410 #7411
This is the first fix to get the ownership of the /env folder under sc user rather than root so that updates of SickChill can access and utilize the folder for updated python packages. Therefore it's numbered as 20210329-2 as it uses the same original version of SickChill in the cross environment with only the source location changed so it loads.
Yes this still has the #4538 item 1) as python is referred to using \usr\local\python38. But as this is an intermediate small fix only for DSM6 and in prep for the move to a combined DSM6 and DSM7 package this will be tackled soon.
If others wish to try this version here's a link to the spk. sickchill_noarch-dsm6_20210329-2.spk
Checklist
all-supported
completed successfully