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

"chocpkg update" command #1

Open
fragglet opened this issue Jun 18, 2016 · 0 comments
Open

"chocpkg update" command #1

fragglet opened this issue Jun 18, 2016 · 0 comments

Comments

@fragglet
Copy link
Member

Given that we now have "latest" variants to build from version control head, it would be good if there was some way to just automatically update all packages that have been previously built and installed. This will require keeping some kind of "database" of what packages are currently installed, and going through them all to trigger rebuilds.

But really there are several different use cases here that this should probably cover:

  1. User previously built the "latest" variant of a package and wants to keep it up to date with the latest version (through git pull, etc.)
  2. User previously installed a package - either explicitly or as a dependency, then updates the chocpkg repository; the version installed by chocpkg has changed and there is a newer version that should be installed.

Use case 2 covers not just the "built from git" case but also the stable "download a release" one (ie. fetch_download). This will be important in the future if we want to increase the minimum version of dependent libraries for Chocolate Doom or other packages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant