[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help from Git-buildpackage experts wanted (Was: New upstream version of python-csb)



Le Fri, Dec 21, 2012 at 09:32:21AM -0800, Diane Trout a écrit :
> 
> I suspect that settings like export-dir or tarball-dir really shouldn't be in
> a repository. They seem specific to how you want to lay out your work
> directories.

Good point.  How about the following:

Index: policy.xml
===================================================================
--- policy.xml	(révision 12710)
+++ policy.xml	(copie de travail)
@@ -306,6 +306,17 @@
 					<literal>debian/debianversion</literal> and upstream releases are
 					tagged with names like <literal>upstream/upstreamversion</literal>.
 				</para>
+				<para>
+					<command>git-buildpackage</command> can be set to a directory layout
+					similar to the one we use with <command>svn-buildpackage</command>.
+					This setting should use an user-wide or a system-wide
+					<filename>gbp.conf</filename> (not the one committed in the Git
+					repository.<programlisting>
+[git-buildpackage]
+# use this for more svn-buildpackage like behaviour:
+export-dir = ../build-area/
+tarball-dir = ../tarballs/</programlisting>
+				</para>
 			</sect3>
 			<sect3 id="git-without-tarball">
 				<title>Social Git</title>

-- 
Charles


Reply to: