Closed (fixed)
Project:
Drupal.org customizations
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Oct 2014 at 16:39 UTC
Updated:
10 Nov 2014 at 22:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marvil07 commentedSince the patch posted on the related issue I implemented the "if issue nid in the branch name" case, and also followed the changes about the hook rename and its modifications.
@drumm, IIRC project node itself have the valid release pattern, so this probably can be improved a little, so it less hardcoded, hopefully you want to jump into it.
Comment #2
marvil07 commentedComment #4
drummIt does, but
DrupalorgVersioncontrolLabelVersionMapperGit.class.phphas the final say.Comment #5
marvil07 commentedThen I will add it directly to 7.x-3.x.
I guess we could instanciate the plugin an run some methods with the passed refname and verify is not false, but I thin kthis shoul dbe ok for now.
Comment #7
marvil07 commentedAdding tag
Comment #9
drummI added 2 small changes:
Quoting the regexp is unnecessary, but good to do.
Loading the project already had a node ID, so using
node_load().Comment #10
drummNow deployed and confirmed working.