Allow using git tags for branch names

Now supports branch names, commit shas, and git tags. Shas must still be the full length 40-character value. Tags are a fall back on branch names. If a tag has the same name as a branch, the branch will be retrieved and not the tag
This commit is contained in:
andrew committed 2023-06-11 06:49:38 -04:00
1 parent 61b54991e8
commit a9c532f873
4 files changed
+19 -16

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ urlpatterns = [
django.urls.path(r'test/<int:id>/', OpenBench.views.test),
django.urls.path(r'viewTest/<int:id>/', OpenBench.views.test),
django.urls.path(r'test/<int:id>/<str:action>', OpenBench.views.test),
django.urls.path(r'newTest/', OpenBench.views.newTest),
django.urls.path(r'newTest/', OpenBench.views.create_test),
# Links for viewing and managing Networks
django.urls.path(r'networks/', OpenBench.views.networks),