On Wed, Oct 07, 2009 at 12:10:39PM +0200, Christian Kellermann wrote: > There are several other eggs that show the same behaviour (locale > for example with '0.0.0'). > > So we either need a new mechanism for chicken-install to choose the > latest version or fix those strings, as I see it now. > > Which way is the right to turn to in this case?
In my opinion, having the same information in two different places is just asking for trouble. It would be best if there were only one place where the version is defined. Ideally, that would just be the name of the tag directory, but that's coupling the setup program too much with the version control system. It also causes some trouble when installing the egg from a locally downloaded copy which might be stored in some random directory of which we don't know the name (or, "the current directory"). I think chicken-install also downloads the egg into a directory with just the bare name of the egg, with no version in it. On the short term, just fixing those strings in the affected eggs is probably the way to go, but this issue surely deserves some more thought. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth
pgpu5iC4D90wo.pgp
Description: PGP signature
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
