The latest version should always use the debian/master and upstream/latest branches. Also, full upstream source with full upstream commit history is integrated (automated with the help of git-buildpackage ). The parallel branch for upstream source without the debian/ directory is named upstream/latest The primary packaging branch is named debian/master. debian/gbp.conf is provided to enable git-buildpackage to work without manual adjustment. The Debian GNOME team does not use the current default git-buildpackage layout for its repositories. Please read the manual to learn how to use git-buildpackage. See the Pro Git book for one popular guide. Several of our repos don't yet have debian/upstream/metadata so that will need to be added for the -add-upstream-vcs feature to work.Ī full git tutorial is beyond the scope of this wiki page. The upstreamvcs repo is pulled from the Repository field of debian/upstream/metadata in each of our packaging repos. If you are using Ubuntu 22.04 LTS or Debian 11, use these commands instead: The -add-upstream-vcs option requires git-buildpackage 0.9.29 or higher which is available in Debian Testing or Ubuntu 22.10. Gbp clone pkg-gnome:gnome-text-editor -add-upstream-vcs Type the following commands in to your terminal to check out the Debian packaging and add a remote named upstreamvcs to track the upstream GNOME repo. It's recommended to use a separate directory for your code so that it doesn't clutter your home directory. You can set up and change git url handling in your ~/.config/git/config (or with the git config command).įor this example, we're going to grab the gnome-text-editor source. We can use this to create handy shortcuts that require less characters to type and will make migration easier if your username ever changes (for instance, if you become a Debian Developer and no longer need an Alioth -guest account) or if the repo ever moves (like happened with the 2018 Debian Gitlab migration). Sudo apt install debhelper git-buildpackage gnome-pkg-tools Packages named differently from their git repos.
0 Comments
Leave a Reply. |