On 3/26/07, Jonas Karlsson <[EMAIL PROTECTED]> wrote: > I know there were some discussions on our revision token when we > introduced revisions on recipe, but I don't remeber the conclusion and why > some decisions were made. One such case is the Imagemagick recipe. The > Imagemagick developers release several revisions of each version, last > version atm being 6.3.3-1, while we have 6.3.3-0 in the recipe store. > However the recipe is named 6.3.3_0, i.e. the revision dash is replaced > with an underscore and I can't remember the real reason behind that > decision, if there ever were such a decision. Lucas remembered something > about it being because it was easier (less visually confusing) to use > underscores when the deelopers released revisions as we have dashes in our > revisions, e.g. ImageMagick 6.3.3_0-r1 instead of 6.3.3-0-r1. However this > breaks the update of the recipe as the dash is used in the URL in the > recipe, so NewVersion tried to substitue 6.3.3_0 with 6.3.3-1 when I ran > 'NewVersion imagemagick 6.3.3-1'. Because of that I think we should reise > the decision of substituting dashes with underscore, as I believe > functionality should come before visual comfort.
We can replace underscores with "[-_]" in the source regex when doing the replacement in NewVersion; that would fix it (no access to CVS right now to do it, though). -- Hisham _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel