[PATCH] Add a source_tree field to Project.
jk at ozlabs.org
Wed Mar 30 17:56:35 EST 2011
> 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
Hm, good idea.
> It probably needs another field to construct the full URL from source
> tree and commit_ref.
I think this could be fairly independent of the source tree: I'd imagine that
this could be implemented with a format-string style field on the Project
commit_url = 'http://git.ozlabs.org/?p=patchwork;a=commitdiff;h=%s'
- we then format with (project.commit_url % patch.commit_ref) to create the
I'm happy to add this, but I think it's a separate change to the one that
Guilherme is planning. Guilherme - do you agree?
More information about the Patchwork