pacstall / pacup.py

Help maintainers update pacscripts
GNU General Public License v3.0
12 stars 3 forks source link

[Feature]: Support for multiple URLs and hashes #74

Closed Zahrun closed 4 months ago

Zahrun commented 1 year ago

Is your feature related to a problem? Please describe.

Since pacstall supports Ubuntu and Debian, and ideally different releases LTS/latest Stable/Unstable/Testing, for some packages, it is required to use multiple urls and each can have a different hash. See for example https://github.com/pacstall/pacstall-programs/blob/master/packages/fsearch-deb/fsearch-deb.pacscript

A clear and concise description of what you want to happen.

Would be nice if pacup could update these urls and hashes from repology version change

Maybe it could detect a case structure and evaluate url and hash separately for each case

wizard-28 commented 1 year ago

Not possible currently due to the way pacup parses the pacscript. Maybe in the future I'll implement this.

Elsie19 commented 4 months ago

Will be done soon, when our Perl rewrite is done. Should be in less than a week with the release of 5.0.0.