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 pq import –force –time-machine=10
  • build from that branch? gbp buildpackage -b
  • gbp pq export –drop –commit
  • podman run –interactive –tty –rm –shm-size=1G –cap-add SYS_PTRACE –env='DEB*' –volume=$PWD:/tmp/test –workdir=/tmp/test debian:sid bash
  • read:
    • Policy
    • Developers Reference
    • Debhelper man pages
gitbuildpackagenotes.1748461759.txt.gz · Last modified: 2025-05-28 19:49 by zugschlus

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki