-
Notifications
You must be signed in to change notification settings - Fork 257
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
emerge-webrsync: Create repo location with $PORTAGE_USERNAME:$PORTAGE_GRPNAME ownership #1390
Conversation
The commit message shouldn't be empty, but it also needs discussion of the: a) rationale, and b) trade-offs here at least. |
@thesamesam The commit message isn't empty:
|
I (obviously) meant the body needs text. |
We really should not hard-code "portage:portage" for this. See https://bugs.gentoo.org/941605#c9. |
Agreed, |
@floppym fyi, I implemented your suggestion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's some code in sync_local()
that hard codes "portage:portage" as well. Would you mind fixing that up?
fyi, I created a bug for the missing definition of And, I am gonna take the Posix parameter expansion out again. The statement in I make this PR a draft as long as the bug isn't resolved. |
fyi, there is also: portage/misc/emerge-delta-webrsync Line 524 in fad3818
|
Is this still work-in-progress? |
@Flowdalic As long as https://bugs.gentoo.org/941977 isn't taken care of, this PR cannot be merged. |
Just add a default value for now? |
Also, portage certainly does default to that - it just may not be exported (can't check easily on mobile). |
fyi, I created a new PR: |
Please rebasd this one now thats in |
Needs another rebase and to be marked as ready, if it is. |
OK, I use it for a while on my laptop first. |
I think the change looks good, but please:
Please ideally squash using |
Both variables default to "portage" according to "man 5 make.conf" and should be used instead of hardcoding "portage" user. Bug: https://bugs.gentoo.org/707980 Signed-off-by: David Sardari <[email protected]>
Bug: https://bugs.gentoo.org/707980 Signed-off-by: David Sardari <[email protected]>
@thesamesam done. I haven't tested the code yet, as I'm busy with private stuff. But if you think it's kosher, feel free to merge. |
Thanks. |
(I am a bit confused as to how you hadn't tested it yet given the PR was from October and the substance of it was the same, so I hope you just mean the latest variant wasn't yet tested.) |
I have tested it at that time. But, I haven't re-tested it recently. |
@thesamesam As this change #1416 isn't in current portage yet, I set just now |
Bug: https://bugs.gentoo.org/707980