[website] 01/01: Update git-buildpackage commands.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sun May 3 19:09:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository website.
commit 7611b4a12582a0add471174b3e058c0211efe587
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun May 3 21:06:01 2015 +0200
Update git-buildpackage commands.
Support for the old commands was removed in git-buildpackage 0.6.26.
From the git-buildpackage NEWS:
"
git-buildpackage (0.6.26) unstable; urgency=medium
All gbp-* and git-* commands are now gone as as announced in the
deprecation notice from June 2013. From now on only "gbp <command>" is
supported.
-- Guido Günther <agx at sigxcpu.org> Mon, 27 Apr 2015 21:55:23 +0200
"
---
policy.xml | 47 +++++++++++++++++++++++------------------------
1 file changed, 23 insertions(+), 24 deletions(-)
diff --git a/policy.xml b/policy.xml
index 9d26edc..40b4cc1 100644
--- a/policy.xml
+++ b/policy.xml
@@ -648,7 +648,7 @@ pkg-grass/
<para>
It is also possible to prepare a Git repository containing some of the
package's history using the command
- <command>git-import-dscs --debsnap</command> from the helper toolkit
+ <command>gbp import-dscs --debsnap</command> from the helper toolkit
<command>git-buildpackage</command>.
This will download all the versions of a package available in
<ulink url="http://snapshot.debian.org">snapshot.debian.org</ulink>
@@ -760,7 +760,7 @@ pkg-grass/
tarball from the <literal>upstream</literal> branch.
</para>
<para>
- Use <command>git-buildpackage</command>
+ Use <command>gbp buildpackage</command>
<option>--git-pristine-tar</option> to generate missing
upstream tarballs with the <command>pristine-tar</command>
command from the <literal>upstream</literal> and
@@ -780,7 +780,7 @@ pkg-grass/
distribution specific <literal>chroot</literal> environments.
</para>
<para>
- Use <command>git-buildpackage</command>
+ Use <command>gbp buildpackage</command>
<option>--git-pbuilder</option> to use
<command>cowbuilder</command> for building the package in a clean
<literal>chroot</literal> instead of on the development system
@@ -964,7 +964,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<command>mkdir</command> <replaceable><package></replaceable>
<command>cd</command> <replaceable><package></replaceable>
<command>git init</command>
-<command>git import-orig</command> <option>--pristine-tar</option> <filename><replaceable>../package_version.orig.tar.gz</replaceable></filename>
+<command>gbp import-orig</command> <option>--pristine-tar</option> <filename><replaceable>../package_version.orig.tar.gz</replaceable></filename>
<command>git clone</command> git://git.debian.org/git/pkg-grass/package_template.git
<command>mv</command> package_template/debian/ .
<command>rm</command> <option>-rf</option> debian/.git/ package_template/
@@ -1022,9 +1022,9 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<para>
To update the <literal>master</literal>, <literal>upstream</literal>
and <literal>pristine-tar</literal> branches from an existing clone
- at once, use the <command>gbp-pull</command> command.
+ at once, use the <command>gbp pull</command> command.
<programlisting>
-<command>gbp-pull</command> <option>--pristine-tar</option>
+<command>gbp pull</command> <option>--pristine-tar</option>
</programlisting>
</para>
<para>
@@ -1055,11 +1055,11 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<para>
Some prefer to update <filename>debian/changelog</filename> with
each commit using the <command>dch</command> command,
- others leave this to the <command>git-dch</command> tool
+ others leave this to the <command>gbp dch</command> tool
at package release time.
</para>
<para>
- In case you use <command>git-dch</command> for the changelog entries,
+ In case you use <command>gbp dch</command> for the changelog entries,
don't forget to use it when you stop working on the package.
</para>
<para>
@@ -1077,7 +1077,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
It is highly recommended to always
<link linkend="git-build-package">build the package</link>
in a clean chroot using
- <command>git-buildpackage</command> <option>--git-pbuilder</option>.
+ <command>gbp buildpackage</command> <option>--git-pbuilder</option>.
Refer to
<link linkend="git-pbuilder">Setup the build environment</link>
for details about creating the <command>cowbuilder</command>
@@ -1089,7 +1089,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<para>
To download the new upstream release and import the sources into
the git repository, the most common way is to use
- <command>uscan</command> and <command>git-import-orig</command>
+ <command>uscan</command> and <command>gbp import-orig</command>
as follows.
</para>
<para>
@@ -1100,9 +1100,9 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
</para>
<para>
Then import the downloaded tarball with
- <command>git-import-orig</command>:
+ <command>gbp import-orig</command>:
<programlisting>
-<command>git-import-orig</command> <option>--pristine-tar</option> <option><replaceable>../<package>_<version>.orig.tar.gz</replaceable></option>
+<command>gbp import-orig</command> <option>--pristine-tar</option> <option><replaceable>../<package>_<version>.orig.tar.gz</replaceable></option>
</programlisting>
</para>
<para>
@@ -1115,14 +1115,13 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
</programlisting>
</para>
<para>
- <command>git-buildpackage</command>'s command
- <command>git-import-orig</command> makes it easy to update the
+ <command>gbp import-orig</command> makes it easy to update the
<literal>upstream</literal> branch using upstream releases
distributed as a compressed archive, and to merge these changes in
the <literal>master</literal> branch.
</para>
<para>
- The <command>git-import-orig</command>
+ The <command>gbp import-orig</command>
<option>--pristine-tar</option> option is very useful for
stabilizing the MD5 sum of the <filename>orig.tar.gz</filename>
produced when building a source package from the repository alone
@@ -1132,7 +1131,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
When the <option>pristine-tar</option> option is not configured in
<link linkend="debian-gbp.conf"><filename>debian/gbp.conf</filename></link>
you need to explicitly use
- <command>git-import-orig</command> <option>--pristine-tar</option>.
+ <command>gbp import-orig</command> <option>--pristine-tar</option>.
</para>
<para>
If you do not use <command>git-buildpackage</command>, please use
@@ -1151,7 +1150,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<warning>
<para>
While it's possible to use the <option>--uscan</option> option
- to have <command>git-import-orig</command> download the upstream
+ to have <command>gbp import-orig</command> download the upstream
tarball using <command>uscan</command> before importing it,
its use is not recommended when the upstream tarball is repacked.
There is a bug
@@ -1159,7 +1158,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
that causes <command>git-import-orig</command> to import the
unrepacked tarball.
This bug is fixed in <literal>jessie</literal>, but
- <command>git-import-orig</command> in <literal>wheezy</literal>
+ <command>gbp import-orig</command> in <literal>wheezy</literal>
is still affected.
</para>
</warning>
@@ -1261,7 +1260,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
It's highly recommended to always build the package in clean
<command>cowbuilder</command> chroot using:
<programlisting>
-<command>git-buildpackage</command> <option>--git-pbuilder</option>
+<command>gbp buildpackage</command> <option>--git-pbuilder</option>
</programlisting>
Without the <option>--git-pbuilder</option> option plain
<command>debuild</command> is used on the development system itself
@@ -1273,7 +1272,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<literal>wheezy-backports</literal>, use the
<option>--git-dist</option> option.
<programlisting>
-<command>git-buildpackage</command> <option>--git-pbuilder</option> <option>--git-dist=<replaceable><distribution></replaceable></option>
+<command>gbp buildpackage</command> <option>--git-pbuilder</option> <option>--git-dist=<replaceable><distribution></replaceable></option>
</programlisting>
Refer to the
<link linkend="git-pbuilder">Setup the build environment</link>
@@ -1304,7 +1303,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<filename>debian/gbp.conf</filename> you can use the
<option>--git-pristine-tar</option> option.
<programlisting>
-<command>git-buildpackage</command> <option>--git-pbuilder</option> <option>--git-pristine-tar</option>
+<command>gbp buildpackage</command> <option>--git-pbuilder</option> <option>--git-pristine-tar</option>
</programlisting>
Or if you need to override the automatic use of
<command>pristine-tar</command> via the
@@ -1316,7 +1315,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
a different architecture than that of the development system, such
as <literal>i386</literal> on <literal>amd64</literal>.
<programlisting>
-<command>git-buildpackage</command> <option>--git-pbuilder</option> <option>--git-arch=<replaceable><architecture></replaceable></option>
+<command>gbp buildpackage</command> <option>--git-pbuilder</option> <option>--git-arch=<replaceable><architecture></replaceable></option>
</programlisting>
Refer to the
<link linkend="git-pbuilder">Setup the build environment</link>
@@ -1330,7 +1329,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<option>--git-debian-branch</option> option to specify another
branch.
<programlisting>
-<command>git-buildpackage</command> <option>--git-pbuilder</option> <option>--git-debian-branch=<replaceable><branch></replaceable></option>
+<command>gbp buildpackage</command> <option>--git-pbuilder</option> <option>--git-debian-branch=<replaceable><branch></replaceable></option>
</programlisting>
For building a package for <literal>experimental</literal> using
dependencies from <literal>unstable</literal> only, the above is
@@ -1339,7 +1338,7 @@ Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
<para>
To build the package using a different distribution and branch use:
<programlisting>
-<command>git-buildpackage</command> <option>--git-pbuilder</option> <option>--git-dist=<replaceable><distribution></replaceable></option> <option>--git-debian-branch=<replaceable><branch></replaceable></option>
+<command>gbp buildpackage</command> <option>--git-pbuilder</option> <option>--git-dist=<replaceable><distribution></replaceable></option> <option>--git-debian-branch=<replaceable><branch></replaceable></option>
</programlisting>
For example, use the <literal>wheezy</literal> distribution and
the <literal>wheezy-backports</literal> branch to build a backport.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/website.git
More information about the Pkg-grass-devel
mailing list