Closed (fixed)
Project:
Drupal.org infrastructure
Component:
Other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 15:45 UTC
Updated:
13 Dec 2010 at 23:10 UTC
I was going to re-launch a test to see if
#961172: All D6 Core patches are failing
was fixed.
So I went to
#612870: Weight fields should be int, not tinyint
where comment #23 has a patch file called
612870-increase-weights-d6.patch
The file is marked "ignored", although the issue is Drupal Core, version 6.x-dev, and status Needs Reviewed.
So I couldn't launch the test bot on it. I think this is a bug in the code that is deciding to ignore patches with -D6 file names, for Drupal 7? Hopefully I've filed this in the correct issue queue...
Comments
Comment #1
jwilson3I experienced the same thing a couple days ago in comment #7 of #335621: PHP strict warning in template_preprocess_block_admin_display_form. Dave Reid told me to just get rid of the -D6 suffix, which indeed queued the subsequent patch for testing... then of course, that patch hit the other testing bug #961172: All D6 Core patches are failing.
Comment #2
boombatower commentedWe had the restriction in place purposefully due to D6 not being supported originally. This is a setting that simply needs to be changed. The default is already set properly in the code and drupal.org should use the same value.
I believe the pift_description field will also need to be updated as it (at least used to) mention the D6 limitation.
Comment #3
jhodgdonWe still don't want to test patches with the -D6.patch extension using Drupal 7 code (e.g. if someone wants to upload a D6 and D7 patch at the same time to fix an issue present in both). Will that be possible to restrict if the setting is changed? It seems to me that any patch with an extension -Dx.patch should not be tested unless the version of the issue is Drupal x.y?
Comment #4
boombatower commentedNope, get one or the other. Suppose it makes more sense to leave it since patches in d6 have no reason to require D6 in the name.
Comment #5
jhodgdonIn that case, how about changing it so that any patch with a -Dx in the name doesn't get tested, and changing the help text on the attachment field accordingly? Just a thought -- people seem to want to make patches for more than one version at the same time. [I personally rarely do that, as I usually think it's better to get the patch to RTBC in one version before bothering to make a patch for another version].
Actually, right now the Attachment field doesn't have the note about -D6 any more that I can see (at least not in this issue), so I guess this has been done already?
Comment #6
boombatower commentedThe comment only displays in projects that have testing enabled..."Drupal.org infrastructure" does not have testing enabled. I think changing the regex to ignore all Dx sounds like a good idea.
Anyone from infrastructure team change the 6 to \d?
Comment #7
jhodgdonOr perhaps \d+ (we may get to Drupal 10 some day, though probably not soon if D7 is any indication)...
Comment #8
dwwOld value was:
Old description was:
New value is:
New description is:
The new description could probably use some help, so if someone wants to propose a new wording, please re-open this with your draft. Thanks.
Comment #9
jhodgdonI think that description is clear enough. :) Thanks...
Comment #10
sunis an invalid lookbehind and led to PCRE compilation failures and plenty of ignored/untested patches:
Fixed version:
EDIT: i.e., I fixed the setting already.
Comment #11
dwwThanks sun! Sorry for the drive-by "fix" without looking at the logs and/or confirming it was working. I've got too much on my mind and plate these days to be as careful as I usually try to be. ;)
Comment #12
dave reidPlease make sure this gets announced to the development list because this broken anyone's patch process that used the previously valid -[dD]7 syntax on their patches which they are now finding being ignored.
Comment #13
dwwhttp://lists.drupal.org/pipermail/development/2010-November/036782.html