Page MenuHomeSoftware Heritage

Remove no longer needed admin folder
ClosedPublic

Authored by anlambert on Aug 19 2022, 5:31 PM.

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

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 T4398

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1991/ for more details.

This revision is now accepted and ready to land.Aug 19 2022, 6:04 PM
This revision was automatically updated to reflect the committed changes.