what do you think about adding custom tags support to review requests?

22 views
Skip to first unread message

nan...@gmail.com

unread,
Mar 23, 2013, 5:53:01 AM3/23/13
to reviewb...@googlegroups.com, Godfroid Thierry
Hi,

on our side, we were thinking about grouping reviews or some advanced filtering mechanism.

Since it will be a major change in reviewboard, there could be an easier way: adding custom tags support to a review request

Idea could be to add a new table "custom tags" in database, tags could be added, removed, modified as well as "review groups" are in admin section (first step), this permission could be granted to users/groups too.

On review request dashboard, selection of tags could be done thanks to auto completion. Each tag will be a hyperlink to a view filtering all requests including this tag...

Rbtools should be modified to support a new option --custom-tags="tag1,tag2,..." or --tags=

2nd step could be to allow or not new tag creation at review request submission

thank you in advance for comments and feedbacks.

We'd appreciate any recommendation regarding database extension to keep easy upgrades

PS: I've tried looking for such proposal and have not still found, maybe someone has already thought about it?

Nicolas

Christian Hammond

unread,
Mar 23, 2013, 3:51:55 PM3/23/13
to reviewb...@googlegroups.com, Godfroid Thierry
Hi Nicolas,

When we were originally developing Review Board, we were strongly considering tags as a way of organizing review requests. We played around with it and decided against it, favoring the groups method instead.

We try to keep workflows pretty sane and fast, and we felt that tags would just complicate things, based on our past experience as users and developers of tag-based systems.

Tags have the problems of lack of standardization. Should the tag for this review request be "UI", "User Interface", "Linux UI", "GTK", or "GTK+"? All might be valid, but different people are going to have different tags they think of when they go to tag their review request.

As a reviewer who is then trying to keep an eye on all tags that have to do with the UI, they'd have to periodically go through all the known tags (these add up!) and add each new one they find to their filter, or they'd easily miss something.

It's additional work for all involved. That's why we went with groups. There's a list of known groups. They must be explicitly created. They have members. You can't typo them and get a new group. And yet, organization-wise, they can be just as useful as tags.

So we won't be adding tag support to Review Board.

Now, if tags are something you really want, I'd recommend writing an extension. It might at the moment test the limits of what extensions can do, but it'd be a great way of seeing what needs to be added to our extension framework. You could (in 1.8, not yet), cleanly introduce fields on a review request for specifying tags, add database models to link things, add new API for tags, add a page for showing all tags. That way it's something you guys could use, maybe even make available, without having to modify Review Board itself.

That would require some in-progress work we're doing in 1.8 to make it possible to add custom fields to a review request. I'm actively working on the change for this right now, and it will land in master at some point before long.

Christian

-- 
Christian Hammond - chi...@chipx86.com
Review Board - http://www.reviewboard.org

--
 
---
You received this message because you are subscribed to the Google Groups "reviewboard-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-d...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

nan...@gmail.com

unread,
Apr 8, 2013, 12:18:28 PM4/8/13
to reviewb...@googlegroups.com, Godfroid Thierry
Hi Christian,

thank for your feedback.

Indeed using group is enough.

So for the moment, I simply create empty reviewgroups (no user) and assign this kind of group to reviewrequest and they can be filtered easily

regarding plugin framework, we'll have a look to existing plugin framework capabilities and then try 1.8.x branch ;-)

Regards,

Nicolas
Reply all
Reply to author
Forward
0 new messages