]> git.ozlabs.org Git - patchwork/commit
Add URL and SCM data to projects
authorSimo Sorce <idra@samba.org>
Fri, 26 Oct 2012 12:51:42 +0000 (12:51 +0000)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 15 Nov 2012 06:35:59 +0000 (14:35 +0800)
commitc30c03312041c24c39b6a986882aae6189096c2f
treea8259779a17e29bd3e132fb2f3b51aaa7dbcefc0
parent2894c4aeec566cb678a331f44f3d981c09c7d90c
Add URL and SCM data to projects

This allows us to display friendly links to the project website,
web SCM UI and SCM URL.

For example for the patchwork project these could be set to:
web_url: http://jk.ozlabs.org/projects/patchwork/
scm_url: git://ozlabs.org/home/jk/git/patchwork
webscm_url: http://git.ozlabs.org/?p=patchwork;a=tree

Requires a DB schema upgrade

Signed-off-by: Simo Sorce <idra@samba.org>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
apps/patchwork/models.py
lib/sql/migration/012-project-add-columns.sql [new file with mode: 0644]
templates/patchwork/project.html