mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
![]() Add a %pathelement[]% macro that lets you extract just the nth element or a slice and substitute it into the URL. This will be used so we can treat multiple repos that appear under the same base URL as belonging to the same comparison layer, e.g. https://github.com/somedistro/<packagename>/... would be handled using the file URL https://github.com/somedistro/%pathelement[0]%/blob/master/%pathelement[1:]% so that the path /abc/fix.patch would generate the URL https://github.com/somedistro/abc/blob/master/fix.patch Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> |
||
---|---|---|
.. | ||
migrations | ||
static | ||
templatetags | ||
tools | ||
__init__.py | ||
admin.py | ||
bulkchange.py | ||
context_processors.py | ||
forms.py | ||
layerconfparse.py | ||
models.py | ||
querysethelper.py | ||
recipedesc.py | ||
recipeparse.py | ||
restperm.py | ||
restviews.py | ||
simplesearch.py | ||
tasks.py | ||
update_layer.py | ||
update.py | ||
urls_branch.py | ||
urls.py | ||
utils.py | ||
views.py |