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

Integrate PackageManager with the new package distro #84

Open
fingolfin opened this issue May 9, 2022 · 0 comments
Open

Integrate PackageManager with the new package distro #84

fingolfin opened this issue May 9, 2022 · 0 comments
Labels
feature request New feature

Comments

@fingolfin
Copy link
Member

The new package distribution at https://github.com/gap-system/PackageDistro collects meta data for all packages distributed with GAP.

One could teach PackageManager to use that data directly instead of going through PackageInfoURLs. This way, a single operation could get all the metadata (e.g. by fetching https://github.com/gap-system/PackageDistro/releases/download/latest/package-infos.json.gz) and parse it. By using this, and possible also tags like v4.11.1 (perhaps eventually also branches like stable-4.11, see gap-system/PackageDistro#297), one could do a variety of things:

  • let the user choose between updating to the latest...
    • released version;
    • accepted version;
    • shipped version
  • implementing a CheckForUpdates successor (see Replacement for CheckForUpdates #46) should be fairly easy
  • implementing UpdateAllPackages (see UpdateAllPackages #45) similarly should be straight forward
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature
Projects
None yet
Development

No branches or pull requests

1 participant