On Tue, Mar 20, 2001 at 11:06:02PM -0500, Ben Collins wrote: > Policy should disallow uploads for multiple distributions. Specifically > this means same version uploads to "stable unstable".
What if instead of doing it like this, we made an effort to make it *more* convenient, rather than less? So, rather than uploading to "stable unstable", you upload just to "stable", and the change automatically gets propogated to unstable (and/or testing), unless there's a newer version already there. The test could be something like: (in pseudo-code) stable_v = stable.get_package("foo").version unstable_v = unstable.get_package("foo").version testing_v = testing.get_package("foo").version experimental_v = experimental.get_package("foo").version if stable_v and unstable_v and dpkg_cmp(stable_v, unstable_v) > 0: unstable.put_package(stable.get_package("foo")) if testing_v and unstable_v and dpkg_cmp(testing_v, unstable_v) > 0: unstable.put_package(testing.get_package("foo")) if stable_v and testing_v and dpkg_cmp(stable_v, testing_v) > 0: testing.put_package(stable.get_package("foo")) if unstable_v and experimental_v: if dpkg_cmp(unstable_v, experimental_v) >= 0: experimental.remove_package("foo"); This would guarantee that stable <= testing <= unstable <= experimental at all times, which would make sense (if that relationship wasn't the case, then upgrades to the new release wouldn't match installs of that release, which would be bad). Presumably, if implemented, it wouldn't matter if uploads to multiple distributions were forbidden, and it'd probably make the job a little easier for autobuilders, assuming that the above code handled binaries and sources "correctly". FWIW, etc. Cheers, aj, this mail does not form a contractual obligation between the author and the reader, and does not constitute implementation advice -- Anthony Towns <[EMAIL PROTECTED]> <http://azure.humbug.org.au/~aj/> I don't speak for anyone save myself. GPG signed mail preferred. ``_Any_ increase in interface difficulty, in exchange for a benefit you do not understand, cannot perceive, or don't care about, is too much.'' -- John S. Novak, III (The Humblest Man on the Net)
pgpSFfDvne725.pgp
Description: PGP signature