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

Add package orderers documentation #1737

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

BryceGattis
Copy link
Contributor

@BryceGattis BryceGattis commented Apr 29, 2024

Looking for some feedback on what exactly this page should look like. Some examples of the configuration are on the configuring rez page, but I'm not sure if we want the same kind of info here or not.

TODO:

  • Not really sure what the purpose of the "per_family" orderer is. If each orderer can optionally specify what package families they affect, what is the point of an orderer whose purpose is exactly that?

@BryceGattis BryceGattis marked this pull request as ready for review April 29, 2024 13:53
@BryceGattis BryceGattis requested a review from a team as a code owner April 29, 2024 13:53
Copy link
Member

@JeanChristopheMorinPerso JeanChristopheMorinPerso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a good start. I made small comments that shouldn't be too difficult to address.

We should also be careful to not drop or have duplicated information with https://rez--1737.org.readthedocs.build/en/1737/configuring_rez.html#package_orderers.

Package Orderers
================

Rez's default version resolution algorithm will always sort by the latest alphanumeric

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs/source/package_orderers.rst Outdated Show resolved Hide resolved
Comment on lines +8 to +10

Configuring package orderers
============================

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Configuring package orderers
============================

I don't think we need a section for configuring.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeanChristopheMorinPerso Do you mean we don't need this section because it already exists on the Configuring Rez page? I'm not really adding new content here, just cross referencing to that page.

}
]

Per Family Order

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would move this to the end if we are to mention version_split.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeanChristopheMorinPerso Can do, but why is this? I'm still trying to wrap my head around the architecture of this code.

Per Family Order
----------------

This orderer allows you to define different orderers to different package families.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should document that orderers can be any supported orderer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JeanChristopheMorinPerso Can you explain a bit more what you mean?

@JeanChristopheMorinPerso JeanChristopheMorinPerso added this to the Next milestone Jun 22, 2024
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

Successfully merging this pull request may close these issues.

2 participants