Details
Details
- Reviewers
vlorentz - Group Reviewers
Reviewers - Maniphest Tasks
- T4398: Create one django application for each webapp feature
- Commits
- rDWAPPS1f465cfe6a02: Remove no longer needed admin folder
Diff Detail
Diff Detail
- Repository
- rDWAPPS Web applications
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D8272 (id=29876)
Could not rebase; Attempt merge onto f135b35ee5...
Updating f135b35e..1f465cfe
Fast-forward
swh/web/admin/adminurls.py | 35 ----------------------
swh/web/admin/urls.py | 22 --------------
swh/web/common/urlsindex.py | 5 ++--
swh/web/config.py | 1 +
swh/web/{admin => deposit}/__init__.py | 0
.../templates/deposit-admin.html} | 0
swh/web/{admin/deposit.py => deposit/urls.py} | 22 ++++++++------
swh/web/templates/layout.html | 2 +-
swh/web/tests/{admin => deposit}/__init__.py | 0
swh/web/tests/deposit/test_app.py | 32 ++++++++++++++++++++
.../test_deposit.py => deposit/test_views.py} | 4 +--
swh/web/urls.py | 1 -
12 files changed, 52 insertions(+), 72 deletions(-)
delete mode 100644 swh/web/admin/adminurls.py
delete mode 100644 swh/web/admin/urls.py
rename swh/web/{admin => deposit}/__init__.py (100%)
rename swh/web/{templates/admin/deposit.html => deposit/templates/deposit-admin.html} (100%)
rename swh/web/{admin/deposit.py => deposit/urls.py} (69%)
rename swh/web/tests/{admin => deposit}/__init__.py (100%)
create mode 100644 swh/web/tests/deposit/test_app.py
rename swh/web/tests/{admin/test_deposit.py => deposit/test_views.py} (95%)Changes applied before test
commit 1f465cfe6a021fc68b154a3eb563ce6ba31f6ccb
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date: Fri Jul 22 14:47:19 2022 +0200
Remove no longer needed admin folder
Related to T4398
commit bde7e0f1c8ab3c1da8dddf86c8914e5f6f2fa444
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date: Fri Jul 22 14:42:37 2022 +0200
deposit: Move administration view into a dedicated django application
Related to T4398See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1991/ for more details.