public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Package moves as repocopies
@ 2005-06-28 22:35 Donnie Berkholz
  2005-06-29 13:57 ` Chris Gianelloni
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Donnie Berkholz @ 2005-06-28 22:35 UTC (permalink / raw
  To: Gentoo Developers

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

I've been wondering lately with the discussion of yet more new
categories, why don't we do repocopies to move packages? Note that I'm
talking about packages switching categories and explicitly _not_ about
package name changes.

Although this would require a request to someone with shell access to
the CVS box, it would preserve all the history of the moved packages.
The loss of history is (IMO) the _primary_ problem of moving packages.

Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCwdCVXVaO67S1rtsRAs4wAJ4urJOfXB66KScFrvJCvarrT5LWWgCfSayG
IlOiERWZ3L7+Vo5kHxxkAPQ=
=0JZf
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-06-28 22:35 [gentoo-dev] Package moves as repocopies Donnie Berkholz
@ 2005-06-29 13:57 ` Chris Gianelloni
  2005-07-02 18:47 ` Robin H. Johnson
  2005-07-02 18:49 ` Robin H. Johnson
  2 siblings, 0 replies; 9+ messages in thread
From: Chris Gianelloni @ 2005-06-29 13:57 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 869 bytes --]

On Tue, 2005-06-28 at 15:35 -0700, Donnie Berkholz wrote:
> Although this would require a request to someone with shell access to
> the CVS box, it would preserve all the history of the moved packages.
> The loss of history is (IMO) the _primary_ problem of moving packages.

I definitely agree.  Losing the history really stinks, especially if you
have to pull something from the Attic.  Not only this, but it affects
moves outside of the portage tree, as well.  As a good example,
livecd-functions.sh was moved from baselayout to livecd-tools.  All the
history was lost.  Luckily, it hadn't changed too much, and the broken
part of the script was done by me after the move, so I was able to find
it easily, but what if it had been before the move?

-- 
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-06-28 22:35 [gentoo-dev] Package moves as repocopies Donnie Berkholz
  2005-06-29 13:57 ` Chris Gianelloni
@ 2005-07-02 18:47 ` Robin H. Johnson
  2005-07-02 23:42   ` Aron Griffis
  2005-07-02 18:49 ` Robin H. Johnson
  2 siblings, 1 reply; 9+ messages in thread
From: Robin H. Johnson @ 2005-07-02 18:47 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1374 bytes --]

On Tue, Jun 28, 2005 at 03:35:01PM -0700, Donnie Berkholz wrote:
> I've been wondering lately with the discussion of yet more new
> categories, why don't we do repocopies to move packages? Note that I'm
> talking about packages switching categories and explicitly _not_ about
> package name changes.
Because client-side CVS sucks at dealing with this - and from it's
point of view, there is no difference between renaming and moving
packages - they are both just directory names.

After such a move of directories, CVS clients running their next update
would find NO record of the old directory when they attempted to update
it, and the CVS client would then NOT touch the local copy at all.

Eg:
1. sys-apps/foo exists on server
2. all clients are consistent with server.
3. sys-apps/foo is moved to sys-apps/bar.
3. client A tries to update.
3.1. sys-apps/bar is downloaded as it's new to the client.
3.2. sys-apps/foo on the client side is NOT removed, as the server
doesn't know about it (it would need an explicit deletion record on the
server).
4. client has sys-apps/foo until such time as it is manually deleted.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-06-28 22:35 [gentoo-dev] Package moves as repocopies Donnie Berkholz
  2005-06-29 13:57 ` Chris Gianelloni
  2005-07-02 18:47 ` Robin H. Johnson
@ 2005-07-02 18:49 ` Robin H. Johnson
  2005-07-02 18:59   ` Mike Frysinger
  2 siblings, 1 reply; 9+ messages in thread
From: Robin H. Johnson @ 2005-07-02 18:49 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

On Tue, Jun 28, 2005 at 03:35:01PM -0700, Donnie Berkholz wrote:
> Although this would require a request to someone with shell access to
> the CVS box, it would preserve all the history of the moved packages.
> The loss of history is (IMO) the _primary_ problem of moving packages.
I'd like to address this item separately.

The history is NEVER lost in a package move in the current fashion.
It's just split into multiple locations - it's a bit harder to look
back through it, but it isn't lost in any way.

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

[-- Attachment #2: Type: application/pgp-signature, Size: 241 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-07-02 18:49 ` Robin H. Johnson
@ 2005-07-02 18:59   ` Mike Frysinger
  2005-07-04 22:41     ` Robin H. Johnson
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Frysinger @ 2005-07-02 18:59 UTC (permalink / raw
  To: gentoo-dev

On Saturday 02 July 2005 02:49 pm, Robin H. Johnson wrote:
> On Tue, Jun 28, 2005 at 03:35:01PM -0700, Donnie Berkholz wrote:
> > Although this would require a request to someone with shell access to
> > the CVS box, it would preserve all the history of the moved packages.
> > The loss of history is (IMO) the _primary_ problem of moving packages.
>
> I'd like to address this item separately.
>
> The history is NEVER lost in a package move in the current fashion.
> It's just split into multiple locations - it's a bit harder to look
> back through it, but it isn't lost in any way.

umm, that is until someone thinks it's a good idea to delete old stuff

case in point, wtf is app-games in gentoo-x86 ?  we split all the games 
packages into games-* categories but we lost all the history because 
app-games is now gone
-mike
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-07-02 18:47 ` Robin H. Johnson
@ 2005-07-02 23:42   ` Aron Griffis
  2005-07-03  1:55     ` Donnie Berkholz
  0 siblings, 1 reply; 9+ messages in thread
From: Aron Griffis @ 2005-07-02 23:42 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

Robin H. Johnson wrote:[Sat Jul 02 2005, 02:47:48PM EDT]
> After such a move of directories, CVS clients running their next update
> would find NO record of the old directory when they attempted to update
> it, and the CVS client would then NOT touch the local copy at all.

So copy it instead of moving it, then do a proper cvs rm on the old
one.

Package moving/renaming with history following is a worthwhile feature
to pursue.  Nobody wants to go digging through various directories
to track down package history, especially if the package has moved
or been renamed more than once.

Regards,
Aron

--
Aron Griffis
Gentoo Linux Developer


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-07-02 23:42   ` Aron Griffis
@ 2005-07-03  1:55     ` Donnie Berkholz
  0 siblings, 0 replies; 9+ messages in thread
From: Donnie Berkholz @ 2005-07-03  1:55 UTC (permalink / raw
  To: gentoo-dev

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

Aron Griffis wrote:
> Robin H. Johnson wrote:[Sat Jul 02 2005, 02:47:48PM EDT]
> 
>>After such a move of directories, CVS clients running their next update
>>would find NO record of the old directory when they attempted to update
>>it, and the CVS client would then NOT touch the local copy at all.
> 
> 
> So copy it instead of moving it, then do a proper cvs rm on the old
> one.

This is why I called it "repocopies" in the subject rather than
"repomoves." =)

Thanks,
Donnie
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCx0WcXVaO67S1rtsRAvXAAKDFxN1Zkur1a7oHaOJ9NdNnTdFWxQCfdSp/
itShMmrdDSzLIui+4l/Qe4Q=
=R3Ck
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-07-02 18:59   ` Mike Frysinger
@ 2005-07-04 22:41     ` Robin H. Johnson
  2005-07-05  1:34       ` Mike Frysinger
  0 siblings, 1 reply; 9+ messages in thread
From: Robin H. Johnson @ 2005-07-04 22:41 UTC (permalink / raw
  To: gentoo-dev

On Sat, Jul 02, 2005 at 02:59:49PM -0400, Mike Frysinger wrote:
> umm, that is until someone thinks it's a good idea to delete old stuff
> 
> case in point, wtf is app-games in gentoo-x86 ?  we split all the games 
> packages into games-* categories but we lost all the history because 
> app-games is now gone
When did it vanish? It shouldn't have been removed (at least without a
backup existing somewhere else).

-- 
Robin Hugh Johnson
E-Mail     : robbat2@orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-dev] Package moves as repocopies
  2005-07-04 22:41     ` Robin H. Johnson
@ 2005-07-05  1:34       ` Mike Frysinger
  0 siblings, 0 replies; 9+ messages in thread
From: Mike Frysinger @ 2005-07-05  1:34 UTC (permalink / raw
  To: gentoo-dev

On Monday 04 July 2005 06:41 pm, Robin H. Johnson wrote:
> On Sat, Jul 02, 2005 at 02:59:49PM -0400, Mike Frysinger wrote:
> > umm, that is until someone thinks it's a good idea to delete old stuff
> >
> > case in point, wtf is app-games in gentoo-x86 ?  we split all the games
> > packages into games-* categories but we lost all the history because
> > app-games is now gone
>
> When did it vanish? It shouldn't have been removed (at least without a
> backup existing somewhere else).

no idea, i only noticed it when i wanted to look up history on a game which 
hadnt been updated since the move
-mike
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-07-05  1:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-28 22:35 [gentoo-dev] Package moves as repocopies Donnie Berkholz
2005-06-29 13:57 ` Chris Gianelloni
2005-07-02 18:47 ` Robin H. Johnson
2005-07-02 23:42   ` Aron Griffis
2005-07-03  1:55     ` Donnie Berkholz
2005-07-02 18:49 ` Robin H. Johnson
2005-07-02 18:59   ` Mike Frysinger
2005-07-04 22:41     ` Robin H. Johnson
2005-07-05  1:34       ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox