[PATCH] Add a source_tree field to Project.

Janne Grunau janne-ffmpeg at jannau.net
Wed Mar 30 17:40:54 EST 2011


On Wed, Mar 30, 2011 at 12:10:14PM +0800, Jeremy Kerr wrote:
> Hi Guilherme,
> 
> >  apps/patchwork/models.py                      |    1 +
> >  lib/sql/migration/008-project-source-tree.sql |    3 +++
> >  2 files changed, 4 insertions(+), 0 deletions(-)
> >  create mode 100644 lib/sql/migration/008-project-source-tree.sql
> 
> Looks good. I'd like to wait until there is a user of this field before 
> merging the change though - or are you using this for linaro-internal things?

I would like to use it for patches.libav.org to link the commit hash to
that commit in gitweb. see http://patches.libav.org/patch/1927/ for an
example. That is currently hardcoded.
It probably needs another field to construct the full URL from source
tree and commit_ref.

Janne


More information about the Patchwork mailing list