[website] 01/02: Don't use <literal> elements for commandline arguments.

Bas Couwenberg sebastic at debian.org
Sat Jul 9 00:26:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository website.

commit bc2ed33d3da47ca80f38b9fc2eb5748715763332
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 9 02:22:18 2016 +0200

    Don't use <literal> elements for commandline arguments.
---
 policy.xml | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/policy.xml b/policy.xml
index ef4299c..c4e1084 100644
--- a/policy.xml
+++ b/policy.xml
@@ -319,7 +319,7 @@
               You can configure Git to use SSH only for <literal>push</literal>
               actions, by changing the URL:
 <programlisting>
-<command>git remote</command> <option>set-url</option> <option>--push</option> <literal>origin</literal> <literal>ssh://<replaceable><username></replaceable>@git.debian.org/git/pkg-grass/<replaceable><package></replaceable>.git</literal>
+<command>git remote</command> <option>set-url</option> <option>--push</option> origin ssh://<replaceable><username></replaceable>@git.debian.org/git/pkg-grass/<replaceable><package></replaceable>.git
 </programlisting>
             </para>
           </listitem>
@@ -1177,7 +1177,7 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
             <link linkend="debian-changelog"><filename>debian/changelog</filename></link>
             entry for the new upstream release and commit the change:
 <programlisting>
-<command>dch</command> <option>-v</option> <replaceable><version></replaceable>-1 <literal>"New upstream release."</literal>
+<command>dch</command> <option>-v</option> <replaceable><version></replaceable>-1 "New upstream release."
 <command>debcommit</command> <option>-a</option>
 </programlisting>
           </para>
@@ -1274,8 +1274,8 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
               patches and commit the changes.
 <programlisting>
 <command>quilt pop</command> <option>-a</option>
-<command>rm -rf .pc/</command>
-<command>git commit</command> <option>-m</option> <literal>"Refresh patches"</literal> <option>-a</option>
+<command>rm</command> <option>-rf</option> <filename class="directory">.pc/</filename>
+<command>git commit</command> <option>-m</option> "Refresh patches" <option>-a</option>
 </programlisting>
             </para>
           </sect5>
@@ -1292,11 +1292,11 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
               release by inspecting the diff between the upstream branch
               commits.
 <programlisting>
-<command>git diff</command> <literal>upstream~1</literal> <literal>upstream</literal>
+<command>git diff</command> upstream~1 upstream
 </programlisting>
               Or by tag:
 <programlisting>
-<command>git diff</command> <literal>upstream/</literal><replaceable><old-version></replaceable> <literal>upstream/</literal><replaceable><new-version></replaceable>
+<command>git diff</command> upstream/<replaceable><old-version></replaceable> upstream/<replaceable><new-version></replaceable>
 </programlisting>
               Look for removed files which may need to be removed from the
               <filename>debian/copyright</filename> file too, new files whose
@@ -1310,7 +1310,7 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
               release, and compared it to the existing
               <filename>debian/copyright</filename> file.
 <programlisting>
-<command>licensecheck</command> <option>--copyright</option> <option>-r</option> <literal>*</literal> | <command>/usr/lib/cdbs/licensecheck2dep5</command> > <filename>debian/copyright.new</filename>
+<command>licensecheck</command> <option>--copyright</option> <option>-r</option> * | <command>/usr/lib/cdbs/licensecheck2dep5</command> > <filename>debian/copyright.new</filename>
 <command>diff</command> <option>-u</option> <filename>debian/copyright</filename> <filename>debian/copyright.new</filename>
 </programlisting>
             </para>
@@ -1491,7 +1491,7 @@ DIST=<replaceable><distribution></replaceable> ARCH=<replaceable><archi
             </para>
             <para>
 <programlisting>
-<command>git remote add</command> <literal>origin</literal> <filename class="directory">git+ssh://git.debian.org/git/pkg-grass/<replaceable><package></replaceable>.git</filename>
+<command>git remote add</command> origin ssh://git.debian.org/git/pkg-grass/<replaceable><package></replaceable>.git
 </programlisting>
             </para>
             <para>
@@ -1867,18 +1867,18 @@ alias <command>svn-bt</command>='svn-buildpackage --svn-tag'
           In case <command>svn-inject</command> was not used,
           you can do it by hand with the command:
 <programlisting>
-<command>svn propset</command> <literal>mergeWithUpstream</literal> <literal>1</literal> <literal>debian</literal>
+<command>svn propset</command> mergeWithUpstream 1 debian
 </programlisting>
         </para>
         <para id="download-upstream-source">
           To download the upstream sources
           (if there is a <filename>debian/watch</filename> file):
 <programlisting>
-<command>echo</command> <literal>"origDir=.."</literal> >> <filename>.svn/deb-layout</filename> && <command>uscan</command> <option>--force-download</option>
+<command>echo</command> "origDir=.." >> <filename>.svn/deb-layout</filename> && <command>uscan</command> <option>--force-download</option>
 </programlisting>
           Alternatively, you can try:
 <programlisting>
-<command>make</command> <option>-f</option> <filename>debian/rules</filename> <literal>get-orig-source</literal>
+<command>make</command> <option>-f</option> <filename>debian/rules</filename> get-orig-source
 </programlisting>
         </para>
         <para id="svn-write-access">
@@ -2087,7 +2087,7 @@ lintian ../build-area/*changes
       to the Blends repository.
       You can easily check out its sources with the command:
 <programlisting>
-<command>debcheckout</command> <option>-a</option> <literal>debian-gis</literal>
+<command>debcheckout</command> <option>-a</option> debian-gis
 </programlisting>
     </para>
     <para>
@@ -2107,7 +2107,7 @@ lintian ../build-area/*changes
         <command>tasksel</command> and select the package groups to install.
         Run as root:
 <programlisting>
-<command>apt-get install</command> <literal>gis-tasks</literal>
+<command>apt-get install</command> gis-tasks
 <command>tasksel</command>
 </programlisting>
         On Debian Jessie, you can do the same. Or, you can also install one of

-- 
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