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

Define a way to store sorted packages #1676

Open
TG1999 opened this issue Nov 20, 2024 · 3 comments
Open

Define a way to store sorted packages #1676

TG1999 opened this issue Nov 20, 2024 · 3 comments
Assignees
Labels

Comments

@TG1999
Copy link
Contributor

TG1999 commented Nov 20, 2024

https://docs.google.com/document/d/1USKu6XdyacZKaZKFqZaXkFAFN_Vc0E2xp00wOzg1X1w/edit?tab=t.0

@TG1999
Copy link
Contributor Author

TG1999 commented Nov 20, 2024

@pombredanne said

  • The FixedByPackageRelation and the sorting may be two different things, are they?
  • call that may be "version_rank" and I would make it a float so that you can always insert a version between tow existing versions without having to change anything else
  • Why not put that on the Package? this is package-level IMHO
  • We need to have a default value of something like 0? and then only look at packages that need to be updated

@TG1999
Copy link
Contributor Author

TG1999 commented Nov 20, 2024

We will be storing all packages sorted as per this meta

ordering = ["type", "namespace", "name", "version_rank", "qualifiers", "subpath"]

@TG1999 TG1999 self-assigned this Nov 20, 2024
@TG1999 TG1999 added the 3-next label Nov 20, 2024
@TG1999 TG1999 added this to the v36.0.0 - 3-next milestone Nov 20, 2024
@TG1999
Copy link
Contributor Author

TG1999 commented Nov 26, 2024

Related #1549

@TG1999 TG1999 removed this from the v36.0.0 - 3-next milestone Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant