Romern / syncMyMoodle

Synchronization client for RWTH Moodle
GNU General Public License v3.0
72 stars 18 forks source link

Regularly check for updates #14

Closed juliusrickert closed 3 years ago

septatrix commented 3 years ago

Personally I think automatic updates should be done from outside this script. For example by performing a simple git fetch. There are multiple factors which make this hard from inside a script. E.g. git fetch would not work if one only downloaded the ZIP etc. Also it is quite annoying to use/parse the github api/page for such a small feature.

I am currently working on publishing this to pypi. Once that is done a pip install [--user] --upgrade syncmymoodle would also work and simultaneously take care of all the other stuff like dependencies. You can also setup a cronjob/sytemd-timer/schtasks which automatically updates this script.

juliusrickert commented 3 years ago

Fixed in #71.