Bas Couwenberg pushed to branch master at Debian GIS Project / 
debian-gis-team.pages.debian.net


Commits:
1b38bade by Bas Couwenberg at 2022-01-19T08:03:59+01:00
Configure pbuilder hooks in ~/.pbuilderrc.

- - - - -


2 changed files:

- policy.xml
- public/policy/packaging.html


Changes:

=====================================
policy.xml
=====================================
@@ -848,20 +848,10 @@ DIST=<replaceable>&lt;distribution&gt;</replaceable> 
ARCH=<replaceable>&lt;archi
 </programlisting>
             </para>
             <para>
-              Specify the <command>pbuilder</command> hook directory when
-              creating the chroot to run the hook scripts contained therein.
+              Configure the hook directory in
+              <filename>~/.pbuilderrc</filename> to have it used by default.
 <programlisting>
-<command>sudo cowbuilder</command> <option>--create</option> \
-                <option>--distribution=<replaceable>sid</replaceable></option> 
\
-                
<option>--basepath=/var/cache/pbuilder/base-<replaceable>sid</replaceable>.cow</option>
 \
-                <option>--hookdir=/var/cache/pbuilder/hook.d/</option>
-</programlisting>
-              If you have already created the chroot, then you will need to do 
an update and override the configuration to ensure the hook is found:
-<programlisting>
-<command>sudo cowbuilder</command> <option>--update</option> \
-                <option>--override-config</option> \
-                
<option>--basepath=/var/cache/pbuilder/base-<replaceable>&lt;distribution&gt;</replaceable>-<replaceable>&lt;architecture&gt;</replaceable>.cow</option>
 \
-                <option>--hookdir=/var/cache/pbuilder/hook.d/</option>
+HOOKDIR="/var/cache/pbuilder/hooks.d/"
 </programlisting>
             </para>
           </sect5>


=====================================
public/policy/packaging.html
=====================================
@@ -206,20 +206,10 @@ DIST=<em 
class="replaceable"><code>&lt;distribution&gt;</code></em> ARCH=<em cla
 <span class="command"><strong>sed</strong></span> <code 
class="option">-i</code> <code class="literal">'s/lintian -I 
--show-overrides/&amp; --pedantic -E/; s/^su /##&amp;/; s/^#su /su /'</code> 
<code class="filename">/var/cache/pbuilder/hook.d/B90lintian</code>
 </pre><p>
             </p><p>
-              Specify the <span 
class="command"><strong>pbuilder</strong></span> hook directory when
-              creating the chroot to run the hook scripts contained therein.
+              Configure the hook directory in
+              <code class="filename">~/.pbuilderrc</code> to have it used by 
default.
 </p><pre class="programlisting">
-<span class="command"><strong>sudo cowbuilder</strong></span> <code 
class="option">--create</code> \
-                <code class="option">--distribution=<em 
class="replaceable"><code>sid</code></em></code> \
-                <code class="option">--basepath=/var/cache/pbuilder/base-<em 
class="replaceable"><code>sid</code></em>.cow</code> \
-                <code 
class="option">--hookdir=/var/cache/pbuilder/hook.d/</code>
-</pre><p>
-              If you have already created the chroot, then you will need to do 
an update and override the configuration to ensure the hook is found:
-</p><pre class="programlisting">
-<span class="command"><strong>sudo cowbuilder</strong></span> <code 
class="option">--update</code> \
-                <code class="option">--override-config</code> \
-                <code class="option">--basepath=/var/cache/pbuilder/base-<em 
class="replaceable"><code>&lt;distribution&gt;</code></em>-<em 
class="replaceable"><code>&lt;architecture&gt;</code></em>.cow</code> \
-                <code 
class="option">--hookdir=/var/cache/pbuilder/hook.d/</code>
+HOOKDIR="/var/cache/pbuilder/hooks.d/"
 </pre><p>
             </p></div><div class="sect5"><div class="titlepage"><div><div><h6 
class="title"><a id="git-pbuilder-update"></a>Updating cowbuilder 
chroots</h6></div></div></div><p>
               Remember to update the chroots for
@@ -1225,7 +1215,7 @@ allowed_distributions = .*
           <span class="command"><strong>gbp-pq</strong></span> can be used for 
treating the patches as a
           series of commits, see:
           <a class="ulink" 
href="https://honk.sigxcpu.org/piki/development/debian_packages_in_git/"; 
target="_top">Keeping debian/patches on a patch-queue branch</a>
-        </p></div><div class="sect3"><div class="titlepage"><div><div><h4 
class="title"><a id="git-commit-policy"></a>Commit 
policy</h4></div></div></div><p></p><div class="sect4"><div 
class="titlepage"><div><div><h5 class="title"><a id="idm1442"></a>Single change 
per commit</h5></div></div></div><p>
+        </p></div><div class="sect3"><div class="titlepage"><div><div><h4 
class="title"><a id="git-commit-policy"></a>Commit 
policy</h4></div></div></div><p></p><div class="sect4"><div 
class="titlepage"><div><div><h5 class="title"><a id="idm1427"></a>Single change 
per commit</h5></div></div></div><p>
             This is true for any VCS, but it won't hurt saying it again:
             please include only one change in each commit.
           </p><p>
@@ -1233,7 +1223,7 @@ allowed_distributions = .*
             <span class="command"><strong>git add</strong></span> <code 
class="option">-p</code>'s
             ability to stage single lines (or hunks) is a huge help
             if you have done several unrelated changes in the sources.
-          </p></div><div class="sect4"><div class="titlepage"><div><div><h5 
class="title"><a id="idm1449"></a>Changelog 
maintenance</h5></div></div></div><p>
+          </p></div><div class="sect4"><div class="titlepage"><div><div><h5 
class="title"><a id="idm1434"></a>Changelog 
maintenance</h5></div></div></div><p>
             Some prefer to update <code 
class="filename">debian/changelog</code>
             with each commit, while others prefer to do that only at release 
time
             by using <span class="command"><strong>gbp dch</strong></span>.



View it on GitLab: 
https://salsa.debian.org/debian-gis-team/debian-gis-team.pages.debian.net/-/commit/1b38bade25a3e29b83b978b66abfb4124cf354bb

-- 
View it on GitLab: 
https://salsa.debian.org/debian-gis-team/debian-gis-team.pages.debian.net/-/commit/1b38bade25a3e29b83b978b66abfb4124cf354bb
You're receiving this email because of your account on salsa.debian.org.


_______________________________________________
Pkg-grass-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to