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

Managing dependency lifecycle #1

Open
dgkf opened this issue Jan 18, 2024 · 0 comments
Open

Managing dependency lifecycle #1

dgkf opened this issue Jan 18, 2024 · 0 comments

Comments

@dgkf
Copy link
Contributor

dgkf commented Jan 18, 2024

from discussion at R Validation Hub repos wg weekly standup

When considering how this will interact with a destination repository, we were considering different ways of handling dependencies.

Assuming there's a repository of validated packages, we might consider a new package request in the context of the packages already available. Dependencies of a new package might have version requirements that could be:

  • Already satisfied
  • Satisfied, but with updated versions available
  • Unsatisfied, requiring a version upgrade
  • Unsatisfied, requiring a version downgrade (this is probably very unlikely, and probably not worth extensively planning around this condition)
  • Unavailable

The actions that are taken in each condition will inform how we want to handle dependency validation. Some possible paths might include:

  • Never handle dependencies, only validate packages if all dependencies are already satisfied by packages already in the repository
  • When new dependencies or dependency upgrades are required, also validate those packages and upgrade them in the repository

And finally, there's a decision to be made about how this will affect the documentation associated with each package. Should a package's report include information about the validation of its dependencies, or is it sufficient to have this information in a separate report - one for each package on the repository.

dgkf pushed a commit that referenced this issue Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant