Summary: | dev-util/pkgdev-0.1.9: please add a very useful utility | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrey Grozin <grozin> |
Component: | Current packages | Assignee: | Arthur Zamarin <arthurzam> |
Status: | RESOLVED NEEDINFO | ||
Severity: | enhancement | CC: | mgorny, pacho, sam, t |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Andrey Grozin
2022-03-21 11:52:23 UTC
This sounds a bit like your git repo could be configured better, actually...? As per the wiki link, set: git config --local user.signingkey 0xLONG-GPG-KEY git config --local commit.gpgsign 1 git config --local push.gpgsign 1 ... and also set: git config --local pull.rebase true git config --local --unset pull.ff ... and you should just be able to do 'git pull && pkgdev push'? Also FYI, you can use `git config --local alias.<name> "<cmd>"` to add aliases to your repo for hard commands, which you can then call using `git <name>` which is very nice. I have for example `git sync` which does similar things using: git config --local alias.sync "rebase --exec 'git commit --amend --no-edit -n -S -s' -i upstream/master" Yes thanks, the comment 1 (or 2, with alias) solve my problem. But they are not in the documentation. This information should then be added to https://wiki.gentoo.org/wiki/Gentoo_git_workflow. Hi Andrey, I think the info is in: https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Configuration and https://wiki.gentoo.org/wiki/Gentoo_git_workflow#GPG_Configuration Even if I also ended up here as I was hitting the same issue and relied on comment #1, that simply makes all the important configuration commands together. Maybe the wiki page would benefit from a section simply listing the commands to get the recommended configuration, even if still explaining in the following sections the details :/ You guys know anyone can edit the wiki, right? ;) But I'll shove in a TL;DR, then you guys can edit if I missed something. (In reply to Sam James from comment #5) > You guys know anyone can edit the wiki, right? ;) > > But I'll shove in a TL;DR, then you guys can edit if I missed something. https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Repository_settings (In reply to Sam James from comment #5) > You guys know anyone can edit the wiki, right? ;) > > But I'll shove in a TL;DR, then you guys can edit if I missed something. https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Summary (In reply to Sam James from comment #7) > (In reply to Sam James from comment #5) > > You guys know anyone can edit the wiki, right? ;) > > > > But I'll shove in a TL;DR, then you guys can edit if I missed something. > > https://wiki.gentoo.org/wiki/Gentoo_git_workflow#Summary Oh yeah, sorry, I thought that page was under a Project Current summary looks fine to me Thanks a lot! |