[Pkg-bluetooth-maintainers] some changes in SVN

Eddy Petrișor eddy.petrisor at gmail.com
Fri Feb 23 15:10:11 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Soem of you might have noticed that I have done some commits in the
repo. I want to explain what I have done, in case the SVN log is not
clear enough.

I have created in the root of the repo a directory people/, unde
which exists eddyp/trunk-view. This later directory is exactly what
the name suggests, a way to checkout all the trunks of the packages,
without any other cluttering (not branches, tags, upstream branches).

So, if you want to checkout only the trunk of all packages you just
have to do:

svn co
svn+ssh://svn.debian.org/svn/pkg-bluetooth/people/eddyp/trunk-view
pkg-bluetooth-trunk

and you will have something like:

eddy at bounty ~/usr/src/debian-bluetooth/trunk $ ls -l
total 52
drwxr-xr-x  6 eddy eddy 4096 2007-02-20 17:41 bluez-firmware
drwxr-xr-x 12 eddy eddy 4096 2007-02-20 17:42 bluez-gnome
drwxr-xr-x  6 eddy eddy 4096 2007-02-20 17:42 bluez-hcidump
drwxr-xr-x  6 eddy eddy 4096 2007-02-20 17:42 bluez-libs
drwxr-xr-x  7 eddy eddy 4096 2007-02-20 14:03 bluez-pin
drwxr-xr-x 18 eddy eddy 4096 2007-02-20 17:42 bluez-utils
drwxr-xr-x 11 eddy eddy 4096 2007-02-20 14:04 gnome-bluetooth
drwxr-xr-x  9 eddy eddy 4096 2007-02-20 14:04 gnome-phone-manager
drwxr-xr-x  4 eddy eddy 4096 2007-02-20 14:03 gnome-vfs-obexftp
drwxr-xr-x  8 eddy eddy 4096 2007-02-23 15:06 libbtctl
drwxr-xr-x  8 eddy eddy 4096 2007-02-20 17:43 pybluez
drwxr-xr-x  3 eddy eddy 4096 2007-02-23 15:53 tarballs

This should be added after the first svn-buildpackage in any of the
directories belonging to a package:

drwxr-xr-x  2 eddy eddy 4096 2007-02-23 15:32 build-area



Although the name of the directory might indicates that, there is
nothing specific to me in that folder and I will NOT do anything
special in that trunk-view that could be called my own experiment
since the directories are actually the trunk ones pulled in via
svn:externals. ANYONE is welcome to use that location as a way to
pull in only trunk.




Now, second thing, I have added the property svn-bp:origUrl to the
debian/ directory of gnome-vfs-obexftp/ so that it is possible to
run svn-buildpackage in that directory immediatelty after checkout,
without needing to worry about downloading the orig tarball since
will be downloaded automatically by svn-buildpackage, if not found.


I have done all of these since I felt that there are some things
that can be improved so that team maintainership happens more easily
for this team.


Demo follows:


eddy at bounty /tmp $ ls aaaa
ls: aaaa: No such file or directory
eddy at bounty /tmp $ mkdir -p aaaa/tarballs
eddy at bounty /tmp $ cd aaaa/
/tmp/aaaa
eddy at bounty /tmp/aaaa $ svn co
svn+ssh://svn.debian.org/svn/pkg-bluetooth/gnome-vfs-obexftp/trunk a
A    a/debian
A    a/debian/control
A    a/debian/compat
A    a/debian/changelog
A    a/debian/copyright
A    a/debian/rules
Checked out revision 409.
eddy at bounty /tmp/aaaa $ cd a
/tmp/aaaa/a
eddy at bounty /tmp/aaaa/a $ svn-buildpackage -rfakeroot -uc -us
/tmp/aaaa/a/.svn/deb-layout not found, importing settings via
Subversion properties...
        origUrl:
http://pkg-bluetooth.alioth.debian.org/tarballs/gnome-vfs-obexftp-0.2.tar.gz
Autodetecting remaining properties...
dpkg-checkbuilddeps
NOT RELEASED YET tag found - you don't want to release it with it,
do you?
Orig tarball not found (expected
/tmp/aaaa/tarballs/gnome-vfs-obexftp_0.2.orig.tar.gz), fetching from
http://pkg-bluetooth.alioth.debian.org/tarballs/gnome-vfs-obexftp-0.2.tar.gz...
- --16:03:58--
http://pkg-bluetooth.alioth.debian.org/tarballs/gnome-vfs-obexftp-0.2.tar.gz
           => `/tmp/aaaa/tarballs/gnome-vfs-obexftp_0.2.orig.tar.gz'
Rezolvare pkg-bluetooth.alioth.debian.org... 217.196.43.134
Connecting to pkg-bluetooth.alioth.debian.org|217.196.43.134|:80...
conectat.
Cerere HTTP trimisă, se aşteaptă răspuns... 200 OK
Dimensiune: 657.422 (642K) [application/x-tar]

100%[=================================================================================================================>]
657.422      407.34K/s

16:04:00 (406.21 KB/s) -
`/tmp/aaaa/tarballs/gnome-vfs-obexftp_0.2.orig.tar.gz' saved
[657422/657422]

mergeWithUpstream mode detected, looking for
/tmp/aaaa/tarballs/gnome-vfs-obexftp_0.2.orig.tar.gz
I: mergeWithUpstream property set, looking for upstream source
tarball...
tar zxf /tmp/aaaa/tarballs/gnome-vfs-obexftp_0.2.orig.tar.gz -C
/tmp/aaaa/build-area/tmp-0.952514697871269
mv /tmp/aaaa/build-area/tmp-0.952514697871269/gnome-vfs-obexftp-0.2
/tmp/aaaa/build-area/gnome-vfs-obexftp-0.2
mkdir -p /tmp/aaaa/build-area/gnome-vfs-obexftp-0.2/debian
cp --parents -laf debian/control debian/rules debian/copyright
debian/compat debian/changelog
/tmp/aaaa/build-area/gnome-vfs-obexftp-0.2
rm -rf /tmp/aaaa/build-area/tmp-0.952514697871269
dpkg-buildpackage -rfakeroot -uc -us
dpkg-buildpackage: source package is gnome-vfs-obexftp
dpkg-buildpackage: source version is 0.2-1
dpkg-buildpackage: source changed by Oystein Gisnas <oystein at gisnas.net>
dpkg-buildpackage: host architecture amd64
dpkg-buildpackage: source version without epoch 0.2-1
 fakeroot debian/rules clean
test -x debian/rules
test "`id -u`" = 0
for i in ./config.guess ./config.sub  ; do \
                if test -e $i.cdbs-orig ; then \
                        mv $i.cdbs-orig $i ; \
                fi ; \
        done
dh_clean
[....]

- --
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFF3vXCY8Chqv3NRNoRAsOuAJ9xAYuAhoLPLcepWHFheQGcXoF55gCfbpZe
pPhMWERnFzF3t2ggREUGf/g=
=Aizc
-----END PGP SIGNATURE-----



More information about the Pkg-bluetooth-maintainers mailing list