[openstack-dev] [infra][neutron] publish and update Gerrit dashboard link automatically

Doug Wiegley dougwig at parksidesoftware.com
Wed Feb 17 18:17:27 UTC 2016


Hi all,

I automated a non-dashboard version of Rossella’s script.

The tweaked script that gets run:

https://review.openstack.org/#/c/281446/

Results, updated hourly (bookmarkable, will redirect to gerrit):

http://104.236.79.17/
http://104.236.79.17/current
http://104.236.79.17/current-min

Thanks,
doug


> On Feb 16, 2016, at 2:52 PM, Carl Baldwin <carl at ecbaldwin.net> wrote:
> 
> Could this be done by creating a project dashboard [1]?  I think the
> one thing that prevents using such a dashboard is that your script
> generates a dashboard that crosses multiple projects.  So, we'd be
> stuck with multiple dashboards, one per project.
> 
> The nature of your script is to create a new URL reflecting the
> current state of things each time it is run.  But, it would be nice if
> it were bookmark-able.  These seem to conflict.
> 
> Would it be possible have a way to create a URL which would return a
> "307 Temporary Redirect" to the URL of the day?  It could be
> bookmarked and redirect to the latest URL of the day.
> 
> Another idea is a page with a frame or something so that the permanent
> URL stays in the browser bar.  I think I've seen web pages redirect
> this way before.
> 
> Or, we could not do the fancy stuff and just have a link on a wiki or something.
> 
> No matter how it is done, there is the problem of where to host such a
> page which can be automatically updated daily (or more often) by this
> script.
> 
> Any thoughts from infra on this?
> 
> Carl
> 
> [1] https://gerrit-review.googlesource.com/Documentation/user-dashboards.html#project-dashboards
> 
> On Fri, Feb 12, 2016 at 10:12 AM, Rossella Sblendido
> <rsblendido at suse.com> wrote:
>> 
>> 
>> On 02/12/2016 12:25 PM, Rossella Sblendido wrote:
>>> 
>>> Hi all,
>>> 
>>> it's hard sometimes for reviewers to filter reviews that are high
>>> priority. In Neutron in this mail thread [1] we had the idea to create a
>>> script for that. The script is now available in the Neutron repository
>>> [2].
>>> The script queries Launchpad and creates a file that can be used by
>>> gerrit-dash-creator to display a dashboard listing patches that fix
>>> critical/high bugs, that implement approved blueprint or feature
>>> requests. This is how it looks like today [3].
>>> For it to be really useful the dashboard link needs to be updated once a
>>> day at least. Here I need your help. I'd like to publish the URL in a
>>> public place and update it every day in an automated way. How can I do
>>> that?
>>> 
>>> thanks,
>>> 
>>> Rossella
>>> 
>>> [1]
>>> 
>>> http://lists.openstack.org/pipermail/openstack-dev/2015-November/079816.html
>>> 
>>> [2]
>>> 
>>> https://github.com/openstack/neutron/blob/master/tools/milestone-review-dash.py
>>> 
>>> [3] https://goo.gl/FSKTj9
>> 
>> 
>> This last link is wrong, this is the right one [1] sorry.
>> 
>> [1] https://goo.gl/Hb3vKu
>> 
>> 
>>> 
>>> __________________________________________________________________________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>> 
>>> 
>> 
>> __________________________________________________________________________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list