diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-12-18 22:44:24 +1300 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:53 +1200 |
commit | 2da4f5d99beb5d106f9a7f43f75d2486f2928417 (patch) | |
tree | 7faf401c23704339c5a0796e2f45bb1e99346828 /templates | |
parent | 5ed5f748f2db2b781d34184767561cb7b796a45d (diff) | |
download | openembedded-core-contrib-2da4f5d99beb5d106f9a7f43f75d2486f2928417.tar.gz |
Implement patch tracking
Collect information about patches applied by a recipe, and record each
patch along with the upstream status, presenting them in the recipe
detail.
Implements [YOCTO #7909].
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layerindex/recipedetail.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/layerindex/recipedetail.html b/templates/layerindex/recipedetail.html index 4164f11513..ef1eebaa41 100644 --- a/templates/layerindex/recipedetail.html +++ b/templates/layerindex/recipedetail.html @@ -148,6 +148,28 @@ </tbody> </table> + <h2>Patches</h2> + {% if recipe.patch_set.exists %} + <table class="table table-striped table-bordered"> + <thead> + <tr> + <th class="span6">Patch</th> + <th>Status</th> + </tr> + </thead> + <tbody> + {% for patch in recipe.patch_set.all %} + <tr> + <td><a href="{{ patch.vcs_web_url }}">{{ patch.src_path }}</a></td> + <td>{{ patch.get_status_display }} {{ patch.status_extra | urlize }}</td> + </tr> + {% endfor %} + </tbody> + </table> + {% else %} + <p>None</p> + {% endif %} + {% if appends %} <h2>bbappends</h2> <p>This recipe is appended by:</p> |