-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use emaint for syncing and for applying package moves #4
base: master
Are you sure you want to change the base?
Conversation
By using emaint for syncing, EMERGE_DEFAULT_OPTS is ignored and, thus, it will not break if a user has --ask as a default option (as some do). Note that emerge --sync calls through to the emaint sync system anyway. Also, emaint provides a specific option for applying package moves so use it.
emaint also syncs layman repos now, so in addition to this the layman syncing step should be disabled. |
The previous commit merged upstream changes while also removing support for SYNC_OVERLAYS_CMD. In this day and age, portage supports a formal repo configuration syntax and there is really no need to specify a distinct command. Instead, default to emaint sync -a, which automatically syncs all repos that have "auto-sync = yes" in effect. To account for this change, also provide a commented sample SYNC_CMD that syncs only the gentoo repo - thus, avoiding any overlays.
Pull request updated to address the comment from @GreatEmerald, with test support added and passed. Please review. |
Hi! Will need to come back later for a closer look. Could you get the merge commit out of the commit list? That would be cool. Thanks! |
I don't know how to do that but I'll see if I can figure it out. Otherwise, I'll do it all over and overwrite my branch. |
By using emaint for syncing, EMERGE_DEFAULT_OPTS is ignored and, thus, it
will not break if a user has --ask as a default option (as some do). Note that
emerge --sync calls through to the emaint sync system anyway.
Also, emaint provides a specific option for applying package moves so use it in place of emerge --info.