So it can be reused in other non django part of the deposit (e.g
deposit client cli)
Related to T2886
Paths
| Differential D4735 Authored by ardumont on Dec 14 2020, 5:35 PM.
Details
Summary So it can be reused in other non django part of the deposit (e.g Related to T2886 Test Plan tox
Diff Detail
Event TimelineHerald added a reviewer: Reviewers. · View Herald TranscriptDec 14 2020, 5:35 PM2020-12-14 17:35:47 (UTC+1) Comment Actions Build has FAILED Patch application report for D4735 (id=16772)Rebasing onto 73ee587df9... Current branch diff-target is up to date. Changes applied before testcommit 36527db3c35089f11b56858df8de6fc3a221f6e3 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Dec 14 17:34:22 2020 +0100 Move parse_swh_reference in swh.deposit.utils namespace So it can be reused in other non django part of the deposit. Related to T2886 Link to build: https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/479/ Harbormaster failed remote builds in B17932: Diff 16772!Dec 14 2020, 5:38 PM2020-12-14 17:38:29 (UTC+1)
zack retitled this revision from Move parse_swh_reference in swh.deposit.utils namespace to Move parse_swh_reference to swh.deposit.utils namespace.Dec 14 2020, 5:46 PM2020-12-14 17:46:43 (UTC+1) Comment Actions Build is green Patch application report for D4735 (id=16774)Rebasing onto 73ee587df9... Current branch diff-target is up to date. Changes applied before testcommit 2e0c77b59f4ef11fc6385465caf4f0dd48485309 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Dec 14 17:43:36 2020 +0100 Move parse_swh_reference in swh.deposit.utils namespace So it can be reused in other non django part of the deposit. Related to T2886 See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/480/ for more details. Harbormaster completed remote builds in B17934: Diff 16774.Dec 14 2020, 5:47 PM2020-12-14 17:47:45 (UTC+1) Comment Actions Build is green Patch application report for D4735 (id=16775)Rebasing onto 73ee587df9... Current branch diff-target is up to date. Changes applied before testcommit 36f0b632966bf94ff2d4b9880e1ca89c6b14a68e Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Mon Dec 14 17:43:36 2020 +0100 Move parse_swh_reference to swh.deposit.utils namespace So it can be reused in other non django part of the deposit. Related to T2886 See https://jenkins.softwareheritage.org/job/DDEP/job/tests-on-diff/481/ for more details. Harbormaster completed remote builds in B17935: Diff 16775.Dec 14 2020, 5:52 PM2020-12-14 17:52:56 (UTC+1) This revision is now accepted and ready to land.Dec 15 2020, 10:02 AM2020-12-15 10:02:17 (UTC+1) Closed by commit rDDEP36f0b632966b: Move parse_swh_reference to swh.deposit.utils namespace (authored by ardumont). · Explain WhyDec 15 2020, 11:45 AM2020-12-15 11:45:46 (UTC+1) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 16774 swh/deposit/api/common.py
swh/deposit/parsers.py
swh/deposit/tests/api/test_parsers.py
swh/deposit/tests/test_utils.py
|
this group of imports should be after the other ones. See the second item here: https://www.python.org/dev/peps/pep-0008/#imports