[Pkg-zope-developers] Switch to subversion

Brian Sutherland jinty at web.de
Sat Oct 14 00:46:06 UTC 2006


On Fri, Oct 13, 2006 at 08:17:31PM +0200, J=C3=A9r=C3=A9my Bobbio wrote:
> Le vendredi 13 octobre =E0 17:15 +0200, Brian Sutherland =E9crivait:
> > On Fri, Oct 13, 2006 at 02:11:02AM +0200, J=E9r=E9my Bobbio wrote:
> > > Hi!
> > >=20
> > > After a discussion with Fabio Tranchitella on IRC, we've decided to
> > > switch Zope packages to subversion.  We basically hope this will he=
lp to
> > > get more work done in a collective manner!
> >=20
> > Yay, can I have access?
>=20
> Sure! :)
>=20
> Just create an account on alioth if you have not done it yet.  Then, yo=
u
> need to be member of the pkg-zope project on alioth.  Final step is to
> copy your ssh key on costa.debian.org (ssh-copy-id or manual copy/paste
> in .ssh/authorized_keys).

hmm, I should have been a member of that group for a while. Anyway, my
alioth id is jinty-guest.

I have read access to the repository via ssh, but when I try and commit,
I get the following:

svn: Can't open file '/svn/pkg-zope/db/write-lock': Permission denied
svn: Your commit message was left in a temporary file:
svn:    '/home/jinty/src/python-mechanize/trunk/svn-commit.tmp'


> > Also I've been working on packages of zc.* zope3 extensions. Could I
> > import those as well?
>=20
> Are they already in the archive?

Nope.

> Anyway, if you want to do it yourself,
> here is my procedure:
>=20
>   1. Get the package:
>  =20
>     $ apt-get source <package>
>=20
>   2. Check if you have the correct Build-Depends installed, for the cle=
an
>      target (and if everything is in Build-Depends and not
>      Build-Depends-Indep):
>=20
>     $ less debian/control
>     $ less debian/rules
>=20
>   3. Import the package:
>  =20
>     $ svn-inject <package>*.dsc svn+ssh://svn.debian.org/svn/pkg-zope
>=20
>   4. Check for differences between imported and original package:
>=20
>     $ diff -qrn -x .svn <package>-<version> <package>

I'll give it a try when things calm down at work.

> > > You should look at the relevant documentation first,
> >=20
> > Perhaps you could give a pointer to the relevant documentation.
>=20
> About Subversion, a must read is "Version Control with Subversion" [1].
> It's quite big though, but it's well organized and it's quite easy to
> figure out how to do what you have in mind.
>=20
> About svn-buildpackage, the documentation in the Debian package [2].
> It's quite short and a bit rough on some area.
>=20
> [1] http://svnbook.red-bean.com/
> [2] /usr/share/doc/svn-buildpackage/HOWTO*=20

Subversion I'm quite used to, it's the what to do and what not to do
when group managing packages via svn-buildpackage that's a bit
confusing.


--=20
Brian Sutherland

Metropolis - "it's the first movie with a robot. And she's a woman.
              And she's EVIL!!"



More information about the pkg-zope-developers mailing list