[yocto] [layerindex-web][PATCH 3/3] Fix cgit commit URL setting
Paul Eggleton
paul.eggleton at linux.intel.com
Sun Oct 20 15:49:52 PDT 2019
Typo, there has to be a ? in front of the id or otherwise we don't get
linked to the right commit. This would have affected recently added layers
with a cgit web frontend.
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
templates/layerindex/editlayer.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/layerindex/editlayer.html b/templates/layerindex/editlayer.html
index dd95ea30..e21e649d 100644
--- a/templates/layerindex/editlayer.html
+++ b/templates/layerindex/editlayer.html
@@ -286,7 +286,7 @@
if (e) {
$('#id_vcs_web_tree_base_url').val(vcs_web_url + '/tree/%path%?h=%branch%')
$('#id_vcs_web_file_base_url').val(vcs_web_url + '/tree/%path%?h=%branch%')
- $('#id_vcs_web_commit_url').val(vcs_web_url + '/commit/id=%hash%')
+ $('#id_vcs_web_commit_url').val(vcs_web_url + '/commit/?id=%hash%')
}
}
else if (type == 'gitweb') {
--
2.20.1
More information about the yocto
mailing list