FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 04-08-2010, 04:10 AM
Jonathan Nieder
 
Default The 'git' Debian package in squeeze and possible mass bug filing

Hello,

Gerrit Pape wrote:

> I'm about to provide a new git binary package from the git-core (the
> distributed revision control system) source, so that 'apt-get install
> git' installs the git content tracker in squeeze.

A new version 1.7.0.4-2~exp0 of git has been uploaded to experimental,
with the source and main binary package renamed to git. There is a
note in the NEWS.Debian.gz to help with the transition. Please try it
out and let us know if you find any problems.

If the git-core package is removed, it is no longer available to
satisfy dependencies. For most packages, this is no problem, since
git Provides: git-core. However, a Provides: does not satisfy a
versioned dependency.

The affected packages are listed below. For futureproofing and easy
backporting, I believe they should use

Depends: git (>= 1:1.7) | git-core (>= whatever)

gnuit never had an epoch, so such a dependency would be safe.

Now that there is a package available to test with, I would like to
file bugs for the affected packages suggesting this change. I suggest
an RC severity since it would be nice to have the name change in
squeeze. I am therefore Cc-ing the release team for their input.

A list of affected packages follows. Thoughts welcome.

- Jonathan

Andrea Corradi <lash@unstable.it>
giggle --- Depends, Build-Depends: git-core (>= 1.5.6.3)

Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
python-git (U) --- Depends: git-core (>= 1.5.3.7)

Yann Dirson <dirson@debian.org>
stgit --- Depends: git-core (>= 1:1.5.3)

Vincent Fourmond <fourmond@debian.org>
gitstats --- Depends: git-core (>= 1:1.5.2.4)

Guido Günther <agx@sigxcpu.org>
git-buildpackage --- Depends: git-core (>= 1:1.5.0.1-1)

Wartan Hachaturow <wart@debian.org>
qgit --- Depends: git-core (>= 1.3.0)

Sebastian Harl <tokkee@debian.org>
tig --- Depends: git-core (>= 1.5.4)

Joey Hess <joeyh@debian.org>
etckeeper --- Depends: git-core (>= 1:1.5.4)
ikiwiki --- Recommends: git-core (>= 1:1.5.0)

Julien Lavergne <julien.lavergne@gmail.com>
moap --- Suggests: git-core (>= 1:1.6.0)

Marc-Andre Lureau <marcandre.lureau@gmail.com>
moap (U) --- Suggests: git-core (>= 1:1.6.0)

Python Applications Packaging Team <python-apps-team@lists.alioth.debian.org>
moap (U) --- Suggests: git-core (>= 1:1.6.0)

Josh Triplett <josh@freedesktop.org>
ikiwiki (U) --- Recommends: git-core (>= 1:1.5.0)

Iulian Udrea <iulian@ubuntu.com>
guilt --- Depends: git-core (>= 1.4)

Daniel Watkins <daniel@daniel-watkins.co.uk>
python-git --- Depends: git-core (>= 1.5.3.7)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100408040536.GA27564@progeny.tock">http://lists.debian.org/20100408040536.GA27564@progeny.tock
 
Old 04-08-2010, 09:52 AM
Julien Cristau
 
Default The 'git' Debian package in squeeze and possible mass bug filing

On Wed, Apr 7, 2010 at 23:10:31 -0500, Jonathan Nieder wrote:

> Now that there is a package available to test with, I would like to
> file bugs for the affected packages suggesting this change. I suggest
> an RC severity since it would be nice to have the name change in
> squeeze. I am therefore Cc-ing the release team for their input.
>
This is certainly not RC. Please keep the transitional package for
squeeze, and you can drop it (and make the bugs RC) post-release.

Cheers,
Julien
 
Old 04-08-2010, 11:04 AM
Jonathan Nieder
 
Default The 'git' Debian package in squeeze and possible mass bug filing

Julien Cristau wrote:
> On Wed, Apr 7, 2010 at 23:10:31 -0500, Jonathan Nieder wrote:
>
>> Now that there is a package available to test with, I would like to
>> file bugs for the affected packages suggesting this change. I suggest
>> an RC severity since it would be nice to have the name change in
>> squeeze. I am therefore Cc-ing the release team for their input.
>
> This is certainly not RC. Please keep the transitional package for
> squeeze, and you can drop it (and make the bugs RC) post-release.

Good catch. Apparently, the disappearing package trick (see
http://wiki.debian.org/Renaming_a_Package) would not be usable with
lenny package managers anyway, so the only advantage to fixing these
bugs before the release would be to allow users to remove the
transitional package.

Thanks for the hint.

Cheers,
Jonathan


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100408110402.GA26926@progeny.tock">http://lists.debian.org/20100408110402.GA26926@progeny.tock
 
Old 04-08-2010, 12:33 PM
Jonathan Nieder
 
Default The 'git' Debian package in squeeze and possible mass bug filing

Hi Michael,

Michael Biebl wrote:

> Hm, making git-core a dummy/transitional package, which pulls the "git" package
> on upgrades sounds like a better idea to me.
> Otherwise git won't be updated when going from lenny to squeeze.

Gerrit Pape implemented what I think is a nicer method: git-core is a
disappearing transitional package. On upgrades, it pulls in git and
then disappears (since git takes over all its files). It is a super
neat trick, due to Daniel Kobras, I think [1].

Just one problem: APT does not support that at the moment. Oops.

> You can also change the rdeps more gradually, i.e. they won't break if you
> upload the new package to unstable now.

This could still happen by not having git take over the files from
git-core until the rdeps are taken care of. Actually, here is what I
think is the best thing to do:

For squeeze, let git-core be a transitional package. Its content will
consist of a compatibility symlink for the documentation directory, so
that a future version of git can replace it. Meanwhile, teach APT and
aptitude (I haven’t checked aptitude yet) to handle disappearing
transitional packages, hopefully in time for squeeze.

For squeeze+1, once all the rdeps have been updated, add the
/usr/share/doc/git-core symlink to the git package.

We can drop the transitional package at the same time, but that
doesn’t matter; it might even be nice to keep it around to let
"apt-get install git-core" work for another release.

Cheers,
Jonathan

[1] http://lists.debian.org/debian-devel/2006/06/msg00014.html
http://wiki.debian.org/Renaming_a_Package


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100408123332.GA27449@progeny.tock">http://lists.debian.org/20100408123332.GA27449@progeny.tock
 
Old 04-08-2010, 08:11 PM
Joey Hess
 
Default The 'git' Debian package in squeeze and possible mass bug filing

Jonathan Nieder wrote:
> A list of affected packages follows.

You forgot to include packages that Suggest git-core in the list.

--
see shy jo
 
Old 04-08-2010, 08:36 PM
Jonathan Nieder
 
Default The 'git' Debian package in squeeze and possible mass bug filing

Joey Hess wrote:

> You forgot to include packages that Suggest git-core in the list.

The only package with a versioned Suggest of git-core I found was
moap, which I did include. Still, I wouldn’t be surprised if I missed
something for some other reason.

For what it’s worth, the list of affected packages was generated with
the script below. Corrections welcome.

Jonathan

-- 8< --
#!/bin/sh
set -e
check() {
local rel=$1
shift

grep-dctrl -F$rel git-core -n -sPackage,$rel "$@" |
while :
do
read pkg || break
read deps
read newline
ver=$(
printf "%s
" "$deps" |
sed -ne 's/^.*git-core (([^)]*)).*/1/p'
)
if test "$ver"
then
printf "%s --- $rel: git-core (%s)
" "$pkg" "$ver"
fi
done
}

for rel in Depends Recommends Conflicts Breaks Suggests Enhances
do
check "$rel" /var/lib/apt/lists/*_Packages
done
for rel in Build-Depends Build-Depends-Indep Build-Conflicts
do
check "$rel" /var/lib/apt/lists/*_Sources
done


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100408203655.GA31813@progeny.tock">http://lists.debian.org/20100408203655.GA31813@progeny.tock
 
Old 04-09-2010, 07:29 AM
Vincent Danjean
 
Default The 'git' Debian package in squeeze and possible mass bug filing

On 08/04/2010 14:33, Jonathan Nieder wrote:
> Hi Michael,
>
> Michael Biebl wrote:
>
>> Hm, making git-core a dummy/transitional package, which pulls the "git" package
>> on upgrades sounds like a better idea to me.
>> Otherwise git won't be updated when going from lenny to squeeze.
>
> Gerrit Pape implemented what I think is a nicer method: git-core is a
> disappearing transitional package. On upgrades, it pulls in git and
> then disappears (since git takes over all its files). It is a super
> neat trick, due to Daniel Kobras, I think [1].
>
> Just one problem: APT does not support that at the moment. Oops.

I'm not sure that this solution solves the problem of 'auto' and
'manual' installed packages.

> [1] http://lists.debian.org/debian-devel/2006/06/msg00014.html
> http://wiki.debian.org/Renaming_a_Package

Regards
Vincent

--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial packages: http://moais.imag.fr/membres/vincent.danjean/deb.html
APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4BBED749.6080509@free.fr">http://lists.debian.org/4BBED749.6080509@free.fr
 

Thread Tools




All times are GMT. The time now is 04:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org