Closed (fixed)
Project:
CVS integration
Version:
4.7.x-1.x-dev
Component:
X-CVS scripts
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Sep 2006 at 02:34 UTC
Updated:
19 Sep 2006 at 10:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
dwwwhoops, forgot the footnote with the link(s). ;)
http://drupal.org/node/77562
http://drupal.org/node/83332
http://drupal.org/node/83339
...
Comment #2
dwwupon further consideration, i want to add 2 settings: regexps for valid branches, and regexps for valid tags. now that http://drupal.org/node/83332 is committed, xcvs-taginfo.php already knows if it's a branch or a tag. we're going to want the flexibility to validate branches and tags differently, since the conventions we want to enforce will be different for each. should be pretty trivial to make this change.
Comment #3
dwwas promised, separate lists of regexps and separate error messages for branches vs. tags.
for example, instead of the old way:
with this patch, this could be:
better yet, you could do the more fancy validation we'll need for the new release system, and/or enforce different conventions on branches vs. tags (to prevent people from making non-branch tags like "DRUPAL-4-7" on part/all of their module, for example).
Comment #4
dwwafter review from killes, committed to TRUNK and 4.7.
meanwhile, here's a patch against xcvs-config.php for all of the d.o customizations (except the real DB password, of course). ;) this will make it easier to keep the d.o version in sync with what's in cvs.
Comment #5
dwwminor whoops: the version as currently installed doesn't have the nice error messages for invalid tags and branches. besides, the copy on d.o of those messages could be even more explicit to spell out what makes a tag or branch valid for our particular conventions...
i'll roll a new d.o-specific patch once i've had some sleep.
Comment #6
dwwminor whoops: the version as currently installed doesn't have the nice error messages for invalid tags and branches. besides, the copy on d.o of those messages could be even more explicit to spell out what makes a tag or branch valid for our particular conventions...
i'll roll a new d.o-specific patch once i've had some sleep.
Comment #7
dwwhere's a new patch (for the contrib repo) that doesn't remove the error messages for invalid tags and branches. it doesn't yet spell out what a valid branch/tag would look like, since that's about to change, anyway, and we can spend the effort getting this text how we want it once the new conventions are in place.
i'll attach another patch momentarily for the core repo.
Comment #8
dwwand here's a patch for the core repo. this just modifies the contrib-repo's config. so, to use this, you want to:
hope that's not too much trouble. ;) good news is that even though the xcvs to contrib patch might have to change in the future, this one should pretty much remain valid for a long time. ;)
thanks,
-derek
Comment #9
dwwkilles installed this all on d.o. for now, we're done. we'll have to change the branch/tag validation regexps for the new release system, once we finalize the tag naming conventions. ;) but, i'll just open that as a d.o infra issue, since that's all it is -- d.o-specific settings in the xcvs-config.php file.