[policy] 02/03: Recommend setup-repository script

James Clarke jrtc27-guest at moszumanska.debian.org
Thu Apr 28 13:47:56 UTC 2016


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

jrtc27-guest pushed a commit to branch master
in repository policy.

commit f0edaf9b2dc773f9a96d0e677f34a0e6b318000d
Author: James Clarke <jrtc27 at jrtc27.com>
Date:   Thu Apr 28 14:35:02 2016 +0100

    Recommend setup-repository script
---
 debian-science-policy.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/debian-science-policy.xml b/debian-science-policy.xml
index 51e0247..0f0dc13 100644
--- a/debian-science-policy.xml
+++ b/debian-science-policy.xml
@@ -220,6 +220,16 @@ debian-science/
 	<para>The Package Repository name has to be the name of the source package followed by a <filename>.git</filename> extension. A source package named <filename>foo</filename> is therefore stored in a Package Repository named <filename>foo.git</filename>.</para>
       </sect3>
       <sect3>
+	<title>Repository Creation</title>
+	<para>The Package Repository should be created with the <filename>setup-repository</filename> script in <filename>/git/debian-science</filename>. Change directory to <filename>/git/debian-science/packages</filename> and run <filename>../setup-repository</filename> with the package name as the first argument. An optional description can be provided as the second argument, which will default to 'Packaging for <package>'.</para>
+	<screen><![CDATA[
+$ cd /git/debian-science/packages
+$ ../setup-repository foo 'Example package for debian-science policy'
+Initialized empty shared Git repository in /srv/git.debian.org/git/debian-science/packages/foo.git/
+Clone URL: https://anonscm.debian.org/git/debian-science/packages/foo.git
+]]></screen>
+      </sect3>
+      <sect3>
 	<title>Branches</title>
 	<para>All Package Repositories should contain a common set of branches in order to ease maintenance.</para>
 	<para>All Debian-specific changes (such as the <filename>debian/</filename> directory) should go to a branch named <emphasis>debian</emphasis> or <emphasis>master</emphasis>. If you use several branches to organize your changes, the <emphasis>debian</emphasis> branch should be treated as the integration branch.</para>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/policy.git



More information about the debian-science-commits mailing list