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 |
Jump to:
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
For what my opinion is worth, that sounds like a very good idea dww. Sounds like the kind of mistake I'd make. :)
#2
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
+1;
I thought -dev was already in the list of banned extra tags anyway.
#4
+1
#5
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
-alphaothers-alpha1and so on. I don't like names without numbers and it is nearly save that we mostly get more then one pre-release...