kensanata / mastodon-archive

Archive your statuses, favorites and media using the Mastodon API (i.e. login required)
https://alexschroeder.ch/software/Mastodon_Archive
GNU General Public License v3.0
358 stars 33 forks source link

add script to upgrade python-mastodon if distribution shipped an outdated version #81

Closed IzzySoft closed 1 year ago

IzzySoft commented 1 year ago

see #80. This script…

IzzySoft commented 1 year ago

PS: no execution bit on the script. This is on purpose, so one cannot "accidentally" run it (but either has to make it executable or explicitly state bash upgrade_python-mastodon.sh).

IzzySoft commented 1 year ago

@kensanata Ready to be merged I'd say. Do you think I should generate new packages afterwards – or first take care for a Readme in contrib/? Also, once the packages are publicly available, will debinstall.sh still be needed if installation is as simple as apt install mastodon-backup / yum install mastodon-backup with the package installers taking care for the dependencies – or should that be removed then (after having extracted things like the 2 wrapper scripts)?

One more question concerns the warning when MB finds an outdated Mastodon.py: with this PR merged, maybe a hint could be introduced there (pointing to a section in the Readme we'd need to establish)? Or should there be an FAQ to collect such things as the Readme got quite long already? Another idea would be opening the wiki section :wink:

kensanata commented 1 year ago

Some minor questions. Merged anyway!

IzzySoft commented 1 year ago

Thanks! I will include the corrections with the next PR then :smile: