gerrit only searches openstack namespace when linking blueprints

Bug #1083766 reported by Michael Basnight
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Triaged
Low
Unassigned

Bug Description

When you click on a BP link in a gerrit review, the openstack namespace is automatically searched. Reddwarf is not in the openstack namespace so it doesnt link up any of the reddwarf BPs.

Example, click on the BP link in this review. https://review.openstack.org/#/c/16357/

Now search for that in the reddwarf namespace instead (https://blueprints.launchpad.net/reddwarf/?searchtext=tox-tests) and there it is.

Revision history for this message
James E. Blair (corvus) wrote :

Since the gerrit commentlinks are simple regexes with no context of project, we have to link to blueprints by searching for them. We currently limit that search to openstack projects so we are not searching all of LP.

Some ways we could solve this:

1) Add any project in Gerrit to an umbrella project in Launchpad (eg, the openstack project).

    Is that desirable? If not, is a second umbrella project an option?

2) Add a commentlink regex that includes the project name. So that "Implements blueprint myproject/myblueprint" would link to myproject/+spec/myblueprint.

     This could cause confusion for projects if they migrate from stackforge/ to openstack/, and may also confuse people working on multiple projects. We might mitigate that by _only_ using the expanded syntax (perhaps after a transition period).

Changed in openstack-ci:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
James E. Blair (corvus) wrote :

Changes to the commentlink should have corresponding changes to the update_blueprint script.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.