Towards a cleverer apps-brancher: I need help

Daniel Holbach daniel.holbach at ubuntu.com
Fri Jun 22 13:19:03 UTC 2012


Hello everybody,

the apps-brancher is doing alright, if the submissions contains an
up-to-date tarball. Andrew Mitchell was quite right when he requested
https://bugs.launchpad.net/apps-brancher/+bug/1012064 as a lot of
submissions have comments including links to PPAs or branches on LP.

It'd be very nice if you'd help me test the regexes in
http://bazaar.launchpad.net/~dholbach/apps-brancher/1012064/revision/52
together with me on a few pages, so we can test if all the possible
branches/PPAs are found and we can use them instead of the submitted
(possibly outdated) tarball.

Testing this is quite easy, ie:

In [1]: from brancher import web; import urllib

In [2]:
html=urllib.urlopen("https://myapps.developer.ubuntu.com/dev/apps/168/feedback/").read()

In [3]: web.find_ppa_info(html)
Out[3]:
['https://launchpad.net/~app-review-board/+archive/staging',
 'https://code.launchpad.net/~vfrico/+archive/ppa',
 'https://code.launchpad.net/~vfrico/+archive/ppa']

In [4]: web.find_branch_info(html)
Out[4]:
['http://bazaar.launchpad.net/~allison/+junk/extras-guallet',
 'https://code.launchpad.net/~vfrico/guallet/guallet',
 'lp:~vfrico/guallet/guallet']

In [5]:


If some of you could test this on a few pages and report missed
information in the bug report, I'd appreciate it.

Have a great day,
 Daniel

-- 
Get involved in Ubuntu development! developer.ubuntu.com/packaging
And follow @ubuntudev on identi.ca/twitter.com/facebook.com/gplus.to



More information about the App-review-board mailing list