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 basic support for upgrading ports with flavors. #72

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fullermd
Copy link

This doesn't touch the fresh-install cases or the using-packages case, and those haven't been tested. I believe the package case doesn't care much about origins; it just goes by package name, and the new install case can set flavors with -m like currently anyway. My guess is that it won't affect them.

So, I think this is a solid step forward by itself. Upgrading installed ports via ports is presumably the 99.99% usecase for portupgrade, and this should make flavors work for that.

Encoding the flavor in the origin substantially dedups the various
internal lookups, and most places that try to actually go to the dir to
do stuff already use portdir() to find dir.
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.

None yet

1 participant