Skip to content
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

jackett: update to v0.8.490 #3032

Closed
wants to merge 3 commits into from
Closed

Conversation

kaso17
Copy link

@kaso17 kaso17 commented Dec 5, 2017

Motivation: This should fix various jackett specific issues
Linked issues: fixes #3015 #2986 #2881 #1995 Jackett/Jackett#1985 Jackett/Jackett#2217

Checklist

  • Build rule all-supported completed successfully
  • Package upgrade completed successfully (Only tested on DSM 6.1)
  • New installation of package completed successfully (Only tested on DSM 6.1)

SPK_VERS = 0.7.1483
SPK_REV = 4
SPK_VERS = 0.8.490
SPK_REV = 3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably want to increment the SPK_REV to 5, rather than decrement it to 3, or the package will not be proposed as update in the DSM package manager...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, the version is not considered by the package manager?

@ymartin59
Copy link
Contributor

@kaso17 Thanks for your work. May you please rework package installation and start-stop process thanks to generic service support described at https://github.com/SynoCommunity/spksrc/wiki/Service-Support.
You may look at spk/demoservice demonstration package or to mosquitto PR #3049

@kaso17
Copy link
Author

kaso17 commented Dec 18, 2017

@ymartin59 unfortunately I've no longer access to a syno device so I can't test the requests changes.
I still would propose to merge this as it still significantly improves the situation.

@m4tt075
Copy link
Contributor

m4tt075 commented Dec 18, 2017

@ymartin59 @kaso17 Happy to step in and handle the transition to generic service once TVH is done.

@kaso17
Copy link
Author

kaso17 commented Dec 20, 2017

@m4tt075 thank you.
Some notes:
${INSTALL_DIR}/share/${PACKAGE} must be writable by the jackett user (otherwise the build in update will fail)

If the user is changed as part of the legacy migration path make sure to chown the ${INSTALL_DIR}/var directory accordingly

The HOME environment variable must point to ${INSTALL_DIR}/var
The PATH environment variable must include the mono binary
The LD_LIBRARY_PATH environment variable should point to ${INSTALL_DIR}/lib

Jackett handles it's own log file generation including log rotation, so pointing the log to ${INSTALL_DIR}/var/.config/Jackett/log.txt is fine

As you can see in the PR I redirect the stderr output to ${HOME_DIR}/${PACKAGE}-stderr.log.

Under normal circumstances it should never write anything to that will but in case there's a low level mono crash it will contain the mono stack trace which might be helpfull for debugging.

The stdout output is sent to logger but that seems to equal /dev/null, it doesn't matter as it's all sent to the log.txt anyway.

@m4tt075
Copy link
Contributor

m4tt075 commented Jan 1, 2018

@kaso17 OK, see #3070 for adaptations and let's continue the discussion there.

@m4tt075
Copy link
Contributor

m4tt075 commented Jan 3, 2018

@kao17 Could you squash your Update and Makefile commits, please, and rebase your branch to get rid of the merge commit?

@kaso17
Copy link
Author

kaso17 commented Jan 5, 2018

@m4tt075 I don't see any conflicts.
I've no access to my dev machine at this time, will take me ~5 days to squash them. Can't you squash them as part of the github PR "Squash and merge" feature?

@ymartin59
Copy link
Contributor

From my point of view, problem is that PR contains "obsolete" changes on makefile (mono version), installer.sh and dsm-control.sh... So I will probably discard it, to be replaced by a squashed commit of #3070, but no worry, credits for your work should remain in GitHub commit/history.

@kaso17
Copy link
Author

kaso17 commented Jan 8, 2018

Feel free to close it.
I don't care about credits.
I just hope once the official packages are released the number of Syno/DSM 6.1 related duplicate issues go down.

@ymartin59
Copy link
Contributor

Included in #3070. Many thanks for your work !

@ymartin59 ymartin59 closed this Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Compiling jackett for rtd1296
3 participants