layerindex-web/layerindex
Paul Eggleton 8ab9c15085 Add partial path macro for vcs URL fields
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>
2018-08-07 14:44:27 +02:00
..
migrations Add site-wide notice support 2018-07-09 13:50:15 +02:00
static rrs: Set of UI improvments 2018-05-04 23:57:51 +12:00
templatetags templatetags/addurlparameter: remove unused reference 2018-04-24 10:15:47 +12:00
tools update_classic_status: fix matching on wrong layer 2018-08-06 14:38:40 +02:00
__init__.py Initial commit of layerindex-web 2013-02-13 12:09:57 +00:00
admin.py admin: improve layer maintainer handling 2018-08-06 12:36:31 +02:00
bulkchange.py bulkchange: make script more robust 2018-08-06 12:36:31 +02:00
context_processors.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
forms.py forms: clear out comparison recipe/layerbranch if status doesn't accept them 2018-08-06 14:38:40 +02:00
layerconfparse.py layerconfparse.py: remove unused layerbranch from parse_layer() 2017-07-21 08:14:57 +02:00
models.py Add partial path macro for vcs URL fields 2018-08-07 14:44:27 +02:00
querysethelper.py Replace usage of model._meta.get_all_field_names() 2018-04-24 10:15:47 +12:00
recipedesc.py layerindex: Update tinfoil to call shutdown method 2017-01-11 21:56:35 +13:00
recipeparse.py recipeparse: don't error out on missing layer recommends 2018-07-09 13:50:15 +02:00
restperm.py expose REST API for layerindex 2014-09-24 11:32:34 +01:00
restviews.py restviews: add additional layer view with extra nested fields 2018-02-07 11:27:48 +13:00
simplesearch.py Improve recipe search 2013-02-19 17:22:45 +00:00
tasks.py Asynchronous email notifications, task execution 2017-09-01 16:59:43 +12:00
update_layer.py update: fix handling of moves outside of a layer 2018-07-19 15:12:45 +02:00
update.py update.py: check whether branch existed when nocheckout 2018-07-09 13:46:08 +02:00
urls_branch.py Add CSV export for layer recipes 2018-05-07 15:30:04 +12:00
urls.py Drop old raw recipe export code 2018-05-07 12:01:12 +12:00
utils.py Add site-wide notice support 2018-07-09 13:50:15 +02:00
views.py settings: allow disabling layer publishing emails 2018-07-09 13:50:15 +02:00