patch for bugzilla-submit to allow setting of e.g groups "bit-fields"

UNCONFIRMED
Unassigned

Status

()

--
enhancement
UNCONFIRMED
12 years ago
12 years ago

People

(Reporter: cheese, Unassigned)

Tracking

Details

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.9) Gecko/20061219 Fedora/1.5.0.9-1.fc6 Firefox/1.5.0.9 pango-text
Build Identifier: 2.22

it should be possible to set bugzilla's group-bits when processing bugs via bugzilla-submit.

Reproducible: Always
(Reporter)

Comment 1

12 years ago
fixed with the given patch. 
i tested it and it works great.
(Reporter)

Comment 2

12 years ago
Created attachment 253603 [details] [diff] [review]
allows setting ob bit-fields

now one can set bit-fields by using:

bit-12: checked
bit-14: checked
bit-16: checked
(Reporter)

Comment 3

12 years ago
I sent the original patch (not working) to christian robottom reis, who was kind enough to fix my patch and requesting that i file a bug here.

On Wed, Jan 24, 2007 at 02:52:35PM +0100, Josef Radinger wrote:
> works great
> :)
> 
> thanks for work

Could you file a bug on bugzilla.mozilla.org and add this patch to it?
That way it can get rolled back into the main release.

Thanks,
-- 
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125
Attachment #253603 - Flags: review?(kiko)
(Reporter)

Comment 4

12 years ago
Created attachment 258768 [details] [diff] [review]
new patch. the first one was wrong. sorry

The first patch was not the correct one. sorry.

Comment 5

12 years ago
Comment on attachment 253603 [details] [diff] [review]
allows setting ob bit-fields

Based on comments, marking as obsolete.
Attachment #253603 - Attachment is obsolete: true
Attachment #253603 - Flags: review?(kiko)

Comment 6

12 years ago
Comment on attachment 258768 [details] [diff] [review]
new patch. the first one was wrong. sorry

Hey Josef,

When submitting a patch for a file in the contrib directory, please make sure you do your diff from the Bugzilla root directory rather than from the contrib/bugzilla-submit dir.  This helps us when trying to figure out where your file is among the hundreds we have to maintain.

I would review this further for you, but I am not a Python expert.  FYI - one reason why this code is in contrib (among many others) is that it's in Python and not Perl as the rest of the Bugzilla code is Perl-based.

One more note - if you submit a patch that replaces an older patch, it's always good to mark the old patch as obsolete - that way we know not to even bother looking at the old patch.

Thanks for your contributions.
Attachment #258768 - Flags: review-
You need to log in before you can comment on or make changes to this bug.