User Tools

Site Tools


gitbuildpackagenotes

This is an old revision of the document!


Git-Buildpackage Notes

  • git config set user.email
  • git clone –origin upstreamvcs –branch master –single-branch
  • git checkout -b upstream/latest (versionnummer)
  • git checkout -b debian/latest
  • git remote add origin salsa
  • git push –set-upstream origin debian/latest
  • wrap-and-sort -vast
  • debputy reformat –style=black
  • dpkg-depcheck
  • git reset –hard && git clean -fdx
  • debcraft
  • lintian -EviIL +pedantic
  • update
    • git fetch upstreamvcs && gbp import-orig –uscan
    • gbp dch –distribution=UNRELEASED – debian/
    • gbp dch –release –commit
    • gbp tag
  • gbp pq import –force –time-machine=10
  • build from that branch? gbp buildpackage -b
  • gbp pq export –drop –commit
  • maintenance branches branch off release tags.
  • podman run –interactive (–network host) –tty –rm –shm-size=1G -e DISPLAY=$DISPLAY –cap-add SYS_PTRACE –env='DEB*' –volume=$PWD:/tmp/test –workdir=/tmp/test debian:sid bash
  • read:
    • Policy
    • Developers Reference
    • Debhelper man pages
gitbuildpackagenotes.1748462560.txt.gz · Last modified: 2025-05-28 20:02 by zugschlus

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki