[Pkg-samba-maint] [Git][samba-team/samba][master] README.source: use gbp pull --track-missing

Mathieu Parent gitlab at salsa.debian.org
Tue Oct 9 10:09:56 BST 2018


Mathieu Parent pushed to branch master at Debian Samba Team / samba


Commits:
71107a46 by Mathieu Parent at 2018-10-09T09:09:43Z
README.source: use gbp pull --track-missing

- - - - -


1 changed file:

- debian/README.source.md


Changes:

=====================================
debian/README.source.md
=====================================
@@ -14,15 +14,12 @@ The first time:
     sudo apt install git-buildpackage pristine-tar cowbuilder
     DIST=sid ARCH=amd64 git-pbuilder create
     git clone https://salsa.debian.org/samba-team/samba.git
-    cd samba
-    git checkout pristine-tar
-    git checkout upstream_4.9
 
 Each time:
 
     cd samba
     git checkout master
-    gbp pull
+    gbp pull --track-missing
     gbp buildpackage --git-pbuilder --git-dist=sid --git-arch=amd64
 
 Merging minor upstream releases
@@ -32,19 +29,15 @@ Importing a new upstream version can be done like this:
 
     # set target version
     upstream_version=4.9.1
-    major_version="$(echo $upstream_version | sed 's/.[^.]\+$//')"
     # go to git repo
     cd $GIT_DIR
     # Import upstream
     git remote add upstream https://git.samba.org/samba.git
     git fetch upstream
-    # ensure required branches exists
-    git checkout "upstream_${major_version}"
-    git checkout pristine-tar
     # go to the Debian branch
     git checkout master
     # sync all required branches
-    gbp pull
+    gbp pull --track-missing
     # Import latest version
     gbp import-orig --uscan \
       -u "${upstream_version}+dfsg" \
@@ -64,6 +57,7 @@ With a new major version, more work is needed.
 
 After `gbp pull`:
 
+    major_version="$(echo $upstream_version | sed 's/.[^.]\+$//')"
     # Edit gbp.conf's upstream-branch
     editor debian/gbp.conf
     # Edit debian/watch's major version



View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/71107a460a815c56888ae6e094dee444ea15fe26

-- 
View it on GitLab: https://salsa.debian.org/samba-team/samba/commit/71107a460a815c56888ae6e094dee444ea15fe26
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20181009/ab89fab3/attachment-0001.html>


More information about the Pkg-samba-maint mailing list