hi

since pacman-tools 0.7.0 it's possible to manage updates to -stable with
repoman (just use repoman -t 0.4 foo instead of repoman foo)

also the makepkg from darcs supports compiling packages for -stable
while the system is -current (makepkg -t stable -R)

yes, this is great, etc, but there is a little problem. from now,
pkgname-pkgver-pkgrel will no longer unique, since the -stable and the
-current repo can contain two different packages with the same name. for
example i've uploaded a backported pacman for stable, but it's compiled
against the old libarchive, so it's different from the pacman we have in
-current

i found out a sollution, i hope you'll like it. if not, then propose a
better one. so:
1) all modifications in -stable have to be done first in -current,
including any security fix and others
2) so we have for example foo-1.0-2 (ie. added a secfix) in -current,
then the package should be called foo-1.0-2wanda1 in -stable. this
causes:
a) the package will be upgraded if the user upgrades to -current (this
is necessary, since the wanda one is compiled against the -stable libs)
b) if somehow (a typo or something) should be done only in -stable, then
we can do this by uploading foo-1.0-2wanda2, and the release number will
be still less than "2" which is in -current (yes, "1" is greater than
"1foo" or "1foo1" for pacman)

in short: the primary benefit is that when the user does a pacman -Q
pkgname, we _will_ know what package he/she uses and it won't break
upgrades

quick notes:
1) if this proposal is ok, then i'll put this to man repoman
2) if this proposal is ok, then cups will have to be re-uploaded since
we have current two separate package for -stable and -current with the
same name (fglrx and libstdc++ is not a problem, they had been pulled to
-stable without any modification, so they _are_ the same). this is
something for voroskoi :)
3) always use repoman -t 0.4, and not -t stable. this is necessary the
webpage informations to be correct (this can be handled in fdb2db if
xbit has some time to do it :) - for example a switch in fdb2db:
fdb2db -e stable -E 0.4, so that stable will be replaced with 0.4)
4) always use makepkg -R -t stable, and not -t 0.4 since the tree name
is -stable and not -0.4. yes, this is a bit ugly, please pay attention
for that

so. is this ok? comments?

udv / greetings,
VMiklos

-- 
Developer of Frugalware Linux, to make things frugal - http://frugalware.org
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to