Hi Ben,

On Dec 14, 2003, at 4:37 PM, Benjamin Reed wrote:

Remi Mommsen wrote:

Hi,
I started improving the scripts for the bindist. More on this later.
While working on the scripts, I came across the following problem: there are a few packages which still use the "old" naming scheme foo-1.2-1. This is fine as long as these files do not define an epoch. However for two packages in 10.3/stable and six in 10.2-gcc3.3 tree this is the case (see below for full list). This makes the parsing harder.
Any objections if I rename these packages using the new naming scheme?

Well, kinda. You really shouldn't be trying to parse the filenames to divine information. The information inside the info is always canonical, the filename shouldn't really matter.

Well, I don't really use the information from the package name, otherwise I would have problems with the new convention anyway. I just have a kind of lazy parsing which chokes when the package uses an epoch in the old style version. But I'll try to improve that.


Also, while the new naming convention is preferred, it is not a requirement. The old convention needs to continue to exist specifically for the purpose of having multiple versions of a package in the tree at once (say, postgresql 7.2 and 7.3 both need to be in the tree so that people can install 7.2 to dump their old databases...)

Agreed, but that's not the case for the packages in question. BTW, what would happen if you have a package foo which needs to be there for both versions 1.2 and 1:1.2 (an academic case).


Cheers,
                Remi



---------------------------------------------------------------------
I haven't lost my mind - it's backed up on my disk somewhere.

*********************************************************************
Remigius K. Mommsen                 e-mail: [EMAIL PROTECTED]
University of California, Irvine       URL:    http://cern.ch/mommsen
c/o SLAC                             voice:        ++1 (650) 926-3595
2575 Sand Hill Road #35                fax:        ++1 (650) 926-3882
Menlo Park, CA 94025, US              home:        ++1 (650) 233-9041
*********************************************************************



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to