[Pkg-jed-commit] r1029 - www
Rafael Laboissiere
rafael at alioth.debian.org
Wed Jan 9 18:23:47 UTC 2008
Author: rafael
Date: 2008-01-09 18:23:47 +0000 (Wed, 09 Jan 2008)
New Revision: 1029
Modified:
www/DJG-Guidelines.txt
Log:
Much simplified cookbook for importing a new package into the
repository. Use the "svn mkdir" and "svn import" commands instead of
checking out the whole repository and messing around with mkdir and cp
commands.
Modified: www/DJG-Guidelines.txt
===================================================================
--- www/DJG-Guidelines.txt 2008-01-09 17:14:45 UTC (rev 1028)
+++ www/DJG-Guidelines.txt 2008-01-09 18:23:47 UTC (rev 1029)
@@ -123,9 +123,13 @@
Here is the cookbook to put a new package under Subversion control:
-* Import the pkg-jed repository::
+* Create the directory for the new package, as well as the subdirectories
+ trunk and tags::
- svn co svn+ssh://svn.debian.org/svn/pkg-jed
+ svn mkdir svn+ssh://svn.debian.org/svn/pkg-jed/jed-cool \
+ svn mkdir svn+ssh://svn.debian.org/svn/pkg-jed/jed-cool/trunk \
+ svn mkdir svn+ssh://svn.debian.org/svn/pkg-jed/jed-cool/tags \
+ --message "Created directory structure for jed-cool package"
:note: This only works if your user name in the system you are working is
the same as your user name in Alioth. If this is not the case, you
@@ -144,35 +148,21 @@
User my-alioth-username
-* Create the directory for the new package in trunk and tags::
-
- mkdir pkg-jed/jed-cool pkg-jed/jed-cool/trunk pkg-jed/jed-cool/tags
-
* Get the latest released version of the package::
apt-get source jed-cool
-* Copy the debian directory to trunk::
+* Import the Debian-related files into the repository::
- cp -a jed-cool-1.2.3/debian pkg-jed/jed-cool/trunk
+ svn import jed-cool-1.2.3/debian \
+ svn+ssh://svn.debian.org/svn/pkg-jed/jed-cool/trunk \
+ --message 'Initial import of package jed-cool'
-* Add the Debian-related files to the repository::
-
- cd pkg-jed
- svn add jed-cool
- svn commit --message 'Initial import of package jed-cool'
-
* Tag its current version::
svn copy --message 'Debian release 1.2.3-4' jed-cool/trunk/ \
svn+ssh://svn.debian.org/svn/pkg-jed/jed-cool/tags/1.2.3-4
-* Now you can go back to the package sources and do::
-
- cd ../jed-cool-1.2.3-4
- rm -rf debian
- svn co svn+ssh://svn.debian.org/svn/pkg-jed/jed-cool/trunk/debian
-
Developers who are not members of the Debian JED Group can access the SVN
repository anonymously.
More information about the Pkg-jed-commit
mailing list