2400
Comment: fixed , vars and s/'/"/
|
2402
converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
The subversion-based source repository of Debian-Java can be inspected at [http://svn.debian.org/wsvn/pkg-java]. | The subversion-based source repository of Debian-Java can be inspected at [[http://svn.debian.org/wsvn/pkg-java]]. |
The subversion-based source repository of Debian-Java can be inspected at http://svn.debian.org/wsvn/pkg-java.
initial import
PACKAGE=$(basename ` pwd`) # replace with your package name cd ${PACKAGE} svn list "svn+ssh://${USER}-guest@svn.debian.org/svn/pkg-java/trunk/" debuild clean svn import debian "svn+ssh://${USER}-guest@svn.debian.org/svn/pkg-java/trunk/${PACKAGE}/debian" svn mkdir "svn+ssh://${USER]-guest@svn.debian.org/svn/pkg-java/tags/${PACKAGE}" svn mkdir "svn+ssh://${USER}-guest@svn.debian.org/svn/pkg-java/branches/${PACKAGE}"
initial import, the svn-inject way
This way is much easier and takes care of a lot of small details. Please first check that:
the debian diff is only within debian/ (with lsdiff)
you have added your alioth login in your .ssh/config file, as in
Host alioth.debian.org User ewl-guest
The part about the login is important as it makes it much easier for other people to work on the package you imported. It also saves you from all the ewl-guest@ in the URLS.Then, import with the following command:
svn-inject -o -l 2 $PACKAGE.dsc svn+ssh://svn.debian.org/svn/pkg-java/
This takes care of all the small details of importing (in particular setting the mergeWithUpstream property, but also many other details.
working, updating, committing
svn checkout svn+ssh://ewl-guest@svn.debian.org/svn/pkg-java/trunk/${PACKAGE} cd ${PACKAGE} svn update svn add DIR|FILE svn commit
creating a tag
svn copy 'svn+ssh://ewl-guest@svn.debian.org/svn/pkg-java/trunk/${PACKAGE}' \ 'svn+ssh://ewl-guest@svn.debian.org/svn/pkg-java/tags/${PACKAGE}/RELEASE_1_2_2-8' \ -m 'SOME COMMENT'
using svn-buildpackage
mkdir WORKINGDIR cd WORKINGDIR mkdir tarballs cp .../*.orig.tar.gz tarballs svn checkout svn+ssh://ewl-guest@svn.debian.org/svn/pkg-java/trunk/${PACKAGE} cd ${PACKAGE} svn propset mergeWithUpstream 1 debian svn commit (svn update) svn-buildpackage --svn-ignore -us -uc -rfakeroot svn-buildpackage --svn-lintian -rfakeroot svn-buildpackage --svn-tag -rfakeroot
Updating a package
rm ../*.gz uscan --no-symlink svn-upgrade ../*.gz rm ../*.gz
Then edit/test/commit as normal.
If uscan fails, update or create the debian/watch file.