Prevent people from putting "-dev" in CVS tag names

dww - April 29, 2008 - 02:08
Project:Drupal.org infrastructure
Component:CVS
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

Somehow, people got the bright idea that they should name their official release tags crazy things like DRUPAL-5--1-7-DEV, which creates version strings like 5.x-1.7-dev. For example, see http://drupal.org/project/taxonomy_fields

Of course, technically, this is legitimate, but it sure is confusing for everyone involved.

Any objections to adding a clause to our validation regexp to explicitly prevent people from including "-dev*" in the "extra" portion of a CVS tag?

#1

Liam McDermott - April 29, 2008 - 02:16

For what my opinion is worth, that sounds like a very good idea dww. Sounds like the kind of mistake I'd make. :)

#2

pwolanin - April 29, 2008 - 02:57

Does the "extra" need to be freeform at all? According to http://drupal.org/node/93999 it can be any cap letters/numbers, which seems like enough rope to hang oneself.

how about just limiting it to something like (ALPHA|BETA)[0-9]*

#3

merlinofchaos - April 29, 2008 - 02:58

+1;

I thought -dev was already in the list of banned extra tags anyway.

#4

Gerhard Killesreiter - April 29, 2008 - 06:38

+1

#5

hass - May 12, 2008 - 11:53

Don't forget to allow RC (ALPHA|BETA|RC)[0-9]+.

And if there is a chance to force a naming scheme it would be good, too. Some people name their releases -alpha others -alpha1 and so on. I don't like names without numbers and it is nearly save that we mostly get more then one pre-release...

 
 

Drupal is a registered trademark of Dries Buytaert.