Revert to ArchiveLoader and allow it to pass through task checks
As it's already running in production, the 'tar' visit type is now immutable. So we cannot change anything related to it. So, instead rename it as before and adapt the check utility functions to allow those checks to be bypassed for some specific cases (like the ArchiveLoader). New loaders should fix their assertion failure immediately though. Refs. swh/infra/sysadm-environment#4906
Showing
- docs/package-loader-tutorial.rst 1 addition, 1 deletiondocs/package-loader-tutorial.rst
- swh/loader/package/archive/__init__.py 2 additions, 2 deletionsswh/loader/package/archive/__init__.py
- swh/loader/package/archive/loader.py 9 additions, 12 deletionsswh/loader/package/archive/loader.py
- swh/loader/package/archive/tasks.py 3 additions, 3 deletionsswh/loader/package/archive/tasks.py
- swh/loader/package/archive/tests/test_archive.py 29 additions, 29 deletionsswh/loader/package/archive/tests/test_archive.py
- swh/loader/package/archive/tests/test_tasks.py 2 additions, 2 deletionsswh/loader/package/archive/tests/test_tasks.py
- swh/loader/package/nixguix/tests/test_nixguix.py 3 additions, 3 deletionsswh/loader/package/nixguix/tests/test_nixguix.py
- swh/loader/tests/__init__.py 7 additions, 1 deletionswh/loader/tests/__init__.py
- swh/loader/tests/test_tasks.py 4 additions, 1 deletionswh/loader/tests/test_tasks.py
Loading
Please register or sign in to comment