[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Renaming a source package



Le 14/04/2014 09:19, Оlе Ѕtrеісhеr a écrit :
> Hi,
> 

Hi Ole,

I'll summarize my answers from the bug and perhaps provide some more:

> 
> Question is now how to proceed:
> 
> * how do I declare that the *source* package cpl-plugin-xshoo is just
>   renamed from cpl-plugin-csh?

You don't. You could keep the old name for the source package (which the
users never see), or use the new name.

If you use the new name, and if you build dummy packages with the old
names from the new source package, then the old source package will be
cruft removed automatically at some point. Else, you need to request the
removal of the old source and old binaries.

> * ho do I create a good transition?
> 
> I thought of two ways:
> 
> 1. Just create a new source package cpl-plugin-xshoo that creates the
> new cpl-plugin-xshoo* packages; set "Provides" and "Replaces" fields for
> all three binary packages, and a "Breaks" field for the -doc (because of
> the manpages). When they entered testing, manually remove all old
> cpl-plugin-xsh* source and binary packages

IF you use Conflicts/Provides/Replaces in the new packages, then the old
packages will be removed from the end-user system *when they request
installation of the new package*, but upgrading their system will not do
it automatically.

IF you provide dummy packages with the old names, then the new packages
will be pulled automatically, leaving marginal cruft behind (i.e. empty
packages installed). The dummy packages can be purged by tools like
deborphan.

You can't have both.

> 2. From the new source, create a soource package that is still named
> "cpl-plugin-xsh" that contains the new binary packages, and the old ones
> as transitional dependencies (cpl-plugin-xsh has a Depends:
> cpl-plugin-xshoo etc.) Once this entered testing, create a new source
> package cpl-plugin-xshoo that contains the cpl-plugin-xshoo
> packages. However, how do I declare then that the new source package just
> overtakes the old source package?

Their is nothing in there which requires multiple uploads.

Kind regards, Thibaut.


Reply to: