OpenPrinting / ps-printer-app

PostScript Printer Application
Apache License 2.0
40 stars 13 forks source link

[Add]: Snap Update Automation #24

Closed rudra-iitm closed 10 months ago

rudra-iitm commented 10 months ago
tillkamppeter commented 10 months ago

Thank you very much for your work.

I will look through it and find solutions for foomatic-db and HPLIP.

HPLIP perhaps needs only deeper investigation of the GitLab repository from Debian which is the base for it. Note that HPLIP itself (upstream, at HP) has no public GIT repo and so the current Snap automation does not work directly with it. Also the HPLIP developers at HP do not deliver a high coding quality and do not accept the patches created by distro package maintainers and community. Therefore the distro packages have many patches (~80) and with this it is better to base the Snaps on the Debian package of HPLIP.

For foomatic-rip I actually did not have really a release policy (rolling release, version number = date) as it is no code, only data. I will now look into whether I can make it trigger the Snap automation with each commit or each day with has at least one commit. Probably I will add a GIT workflow to it which creates a tag on each day it gets a commit, so that this triggers Snap automation (and any other packager's or admin's upstream release observation system).

tillkamppeter commented 10 months ago

Changes are correct so far, only keep the original branch as download source for hPLIP as long as we did not have found a solution here.

rudra-iitm commented 10 months ago

Implemented automated updates for the hplip and foomatic-db, additional updated pappl-retrofit to support automated updates successfully.