-
Notifications
You must be signed in to change notification settings - Fork 10
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 option to git pull --rebase
before scan/push of pkgdev push
#102
Comments
OK, that's sound good. I think naming it @ajakk do you think the |
There's a race condition either way between getting to the local push and other developer's pushes. I don't think it matters much in practice, but I'd prefer the scan after the pull to catch any new changes from the remote. Also, if it's not too much trouble, can there be a config option for this? I wouldn't mind this doing a |
Add a new option `--pull` to `pkgdev push` to pull all changes before starting the scan & push. This is very useful for most normal usage for developers. This can be also set in config, but adding the line: push.pull = Resolves: pkgcore#102 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
@ajakk thanks for the answer, opened a PR with this implemented (with instructions how to add to config). I will wait for sam (or you if you agree) to review the strings used. |
Given the pace of commits to gentoo.git, it's pretty common to need to
git pull --rebase
before being able to successfully push something. Thus, it would be great forpkgdev push
to be able to do this for us automatically.The text was updated successfully, but these errors were encountered: