Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 178109

Summary: Define global Bugzilla flags
Product: Community Reporter: Denis Roy <denis.roy>
Component: BugzillaAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: caniszczyk, john.arthorne, phperret
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 177815    
Bug Blocks:    
Attachments:
Description Flags
test.patch denis.roy: review-, remy.suen: review-, pwebster: review+, mike.pawlowski: review+, steffen.pingel: review?

Description Denis Roy CLA 2007-03-19 14:22:02 EDT
If the committer population agrees that Flags are a Good Thing, I'd like to define which flags could potentially be Global - flags that just about every project can use to some extent.  Of course, a Global flag will appear on every darn bug, so it's best to limit the quantity.

Potential Global Flags:

- Review: committers request a review, other committers/leads flag + or - (accept or decline the review)

- CommitApproval: committers request approval to commit code to HEAD, other committers/leads flag + or - (accept or decline the request)

Project Leads and PMC members, please write your suggestions for *global* flags only, and be sure to describe them. Project-specific flags will be handled according to your needs.
Comment 1 Chris Aniszczyk CLA 2007-03-19 14:27:48 EDT
blog about this Denis plz
Comment 2 Denis Roy CLA 2007-03-19 14:31:54 EDT
You're too quick - I'm in the process of writing one of my patented Webmaster Updates to get committers talking about the Flags.
Comment 3 Pierre-Henry Perret CLA 2007-03-19 17:05:37 EDT
After opening a bug, the default 'Assigned To:' attribute is Eclipse Webmaster.
Shouldn't it be to the Reporter?
Comment 4 Denis Roy CLA 2007-03-20 08:55:37 EDT
(In reply to comment #3)
> After opening a bug, the default 'Assigned To:' attribute is Eclipse Webmaster.
> Shouldn't it be to the Reporter?

It depends where you open a bug. Each Bugzilla component is owned by someone. The Community/Bugzilla component happens to be owned by webmaster.
Comment 5 Denis Roy CLA 2007-04-13 10:35:21 EDT
There wasn't too much feedback on this, so I went ahead and created three global flags that I think may be useful for all projects.  This may generate discussion:

review: request a code review/flag as reviewed

pmc_approval: request PMC/project lead approval / flag as reviewed

documentation: flag to indicate documentation has been updated.
Comment 6 Chris Aniszczyk CLA 2007-04-13 10:37:30 EDT
Hey Denis, is it possible to have flags associated with patches (ie., attachments)?
Comment 7 Denis Roy CLA 2007-04-13 10:38:13 EDT
Yes... what do you have in mind?
Comment 8 Chris Aniszczyk CLA 2007-04-13 10:45:37 EDT
if it's possible to associated flags with patch attachments, go for it.

I want something similar to how Mozilla does it. Look at this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=247116

for how they approve patches.
Comment 9 Denis Roy CLA 2007-04-13 10:53:53 EDT
(In reply to comment #8)
> if it's possible to associated flags with patch attachments, go for it.

Mozilla seems to create flags for each version (approve1.8.0.4) for instance. I'm not ready for that.  If I add generic global flags for attachments, such as 'review' and 'approve', would that be sufficient?
Comment 10 Chris Aniszczyk CLA 2007-04-13 11:16:57 EDT
do they? I would just like a simple "review+"

 patch rev 2   (2.20 KB, patch)
2007-03-16 17:40 PDT, Dave Townsend (Mossop) 	gavin.sharp: re

versions are too fancy for me :)

If it's too much now, we can open a separate bug to track this specific issue and ask for community comments.
Comment 11 Denis Roy CLA 2007-04-13 11:20:07 EDT
(In reply to comment #10)
> do they? I would just like a simple "review+"

That makes sense.  I added a review flag for attachments.
Comment 12 Nick Boldt CLA 2007-04-13 11:25:34 EDT
(In reply to comment #5)
> review: request a code review/flag as reviewed
> pmc_approval: request PMC/project lead approval / flag as reviewed
> documentation: flag to indicate documentation has been updated.

This may be too-late nitpickery, but would the following be slightly better?

reviewed
pmc_approved
doc_updated

In this way, it's a boolean status code rather than a non-boolean category. Before reading the definitions, I wasn't sure if "review" meant 'we request a review' or 'has been reviewed'. Obviously, it's both... but "review [+]" could also be seen to mean "yes, I agree, this needs a review, if we get enough votes we'll schedule a meeting" rather than "reviewed and I concur." 
Comment 13 Chris Aniszczyk CLA 2007-04-13 13:52:02 EDT
Created attachment 63780 [details]
test.patch
Comment 14 Chris Aniszczyk CLA 2007-04-13 13:52:35 EDT
Denis, can you vote on the dummy patch? I'm curious what it looks like :)
Comment 15 Denis Roy CLA 2007-04-13 13:56:52 EDT
Comment on attachment 63780 [details]
test.patch

Doesn't pass my review. 6 bytes is too much code.
Comment 16 Paul Webster CLA 2007-04-13 14:02:59 EDT
Comment on attachment 63780 [details]
test.patch

I prefer blech but blah is also API.
Comment 17 Mike Pawlowski CLA 2007-04-13 14:03:42 EDT
Comment on attachment 63780 [details]
test.patch

Test comment from Mike
Comment 18 John Arthorne CLA 2007-04-13 14:39:31 EDT
I'm a bit confused about the "documentation" flag. Does this have any value over the "documentation" keyword? What would setting doc flag to "-" mean?
Comment 19 Denis Roy CLA 2007-04-13 14:47:58 EDT
(In reply to comment #18)
> I'm a bit confused about the "documentation" flag. Does this have any value
> over the "documentation" keyword? What would setting doc flag to "-" mean?

Hrm.  I just sent out a committer e-mail that attempts to define these.  Actually, I hadn't seen that there was a documentation keyword so I can remove it if it's redundant.
Comment 20 John Arthorne CLA 2007-04-13 15:00:21 EDT
Ok, we'll see what others think. The other flags make sense to me. Thanks for adding this!
Comment 21 John Lanuti CLA 2007-05-02 14:56:47 EDT
How do you set up search queries based on flags.  What does the flag equal?  +?  -?  Or does the flag equal "review" or "pmc_approved"?  How do we know what the value then of the flag is?