Show last commit in bzr on page

Bug #669418 reported by Artur Rona
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-sponsoring
New
Undecided
Unassigned

Bug Description

Ubuntu CVE Tracker has got on the bottom last commit on bzr. Would be nice to add this code to sponsors overview.

[20:07] <kees> ari-tczew: it's a little circuitous, but start here: http://bazaar.launchpad.net/~ubuntu-security/ubuntu-cve-tracker/master/files
[20:07] <kees> and look at Makefile, which includes Makefile.include
[20:08] <kees> in there is:
[20:08] <kees> BZR_COMMIT:=$(shell bzr log --limit=1 --line | cut -d: -f1)
[20:08] <kees> that will basically store the current commit revision number in a Make variable.
[20:08] <kees> and that can get reused when you build out the HTML files.
[20:08] <kees> $(SCRIPTS)/html-export-cve.py --commit $(BZR_COMMIT) $< > $@.tmp
[20:08] <kees> etc
[20:09] <kees> http://bazaar.launchpad.net/~ubuntu-security/ubuntu-cve-tracker/master/annotate/head%3A/Makefile.include shows it

Revision history for this message
Artur Rona (ari-tczew) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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