yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #05767
Re: naming and versioning of packages
Hi, Vaclav!
I just wanted to create yade-bzr package to have the latest packaged
bzr-version.
I had no idea about virtual package yade-snapshot. I agree, it is better.
I will delete yade-bzr and create yade-bzr2XXX
Thanks for suggestion.
Anton
On Mon, Sep 27, 2010 at 7:23 PM, Vaclav Smilauer <eudoxos@xxxxxxxx> wrote:
> Hi Anton,
>
> there is some misunderstanding on how packages should be named. I had
> the following scenario in mind:
>
> 1. Each yade version (release or snapshot) has a different package
> *name* -- that makes it possible to install all version at once,
> otherwise the newer package will upgrade the older one.
>
> That means that the version is embedded in the package name. PLEASE no
> yade-bzr package, that breaks this scenario. Instead, yade-bzr1234 etc,
> which provides yade-snapshot (the "snapshot" is consistent with the
> system used in debian, e.g. gcc-snapshot etc).
>
> IIRC the scripts/debian-prep script was trying to do it this way.
>
> What it currently does wrong is to get the right *version* number (it
> uses 1~distribution1 or such in all cases), which should be the same as
> the one embedded in the name, plus updates etc: e.g. yade-0.50 would
> have version 0.50.0~lucid1 etc, where lucid1, lucid2 and so on should
> correspond to packaging changes, while 0.50.0, 0.50.1 etc to "upstream"
> changes in the code itself (update releases). For snapshot packages,
> there should be some deliberation.
>
> 2. Snapshot packages provide yade-snapshot *virtual* package; in such
> case, installing yade-snapshot will drag in the latest non-virtual
> package. Release package provide yade *virtual* package.
>
> Maybe you have some better reasons in mind, but please explain where are
> you heading.
>
> Looking back at the e-mail, I might create a wiki page for that ;-)
>
> Needless to say, your packaging effors are greatly appreciated.
>
> Cheers, Vaclav
>
> --
> Vaclav Smilauer <eudoxos@xxxxxxxx>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
References