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

When fetching versions, an in-progress release can result in an inconsistent set of packages #52

Open
al4 opened this issue May 11, 2017 · 0 comments
Assignees

Comments

@al4
Copy link
Collaborator

al4 commented May 11, 2017

packageA depends on packageB (this is not modeled by Orlo), thus they are normally released together.

When such a release is in progress, and packageA is SUCCESSFUL and packageB is IN_PROGRESS, a query to /info/packages/versions will give the new version of package A and the old version of packageB. This is a problem for software which treats them as inseparable.

Options considered:

  • Include IN_PROGRESS packages in the version
    • current version would go backwards if it failed
  • Inspect the release to see if a package is part of a release in progress before considering it the current version
@al4 al4 changed the title When fetching versions, an in-progress release results in a half-way set of packages When fetching versions, an in-progress release results in an inconsistent set of packages May 11, 2017
@al4 al4 changed the title When fetching versions, an in-progress release results in an inconsistent set of packages When fetching versions, an in-progress release can result in an inconsistent set of packages May 11, 2017
@al4 al4 self-assigned this May 11, 2017
@al4 al4 mentioned this issue May 17, 2017
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