Add incremental support based on sha256 EXTID
Adapt test dataset and add incremental test cases
Related T4104
Differential D8171
crates: Loader implements incremental mode franckbret on Aug 2 2022, 9:31 AM. Authored by
Details
Diff Detail
Event TimelineThere are a very large number of changes, so older changes are hidden. Show Older Changes Comment Actions Build has FAILED Patch application report for D8171 (id=29658)Rebasing onto 43597c4806... First, rewinding head to replay your work on top of it... Applying: crates: Loader implements incremental mode Changes applied before testcommit 3a5aab819f75899d7e7e09d3f0af255923e204db Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Adapt test dataset and add incremental test cases Related T4104 Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/821/ Comment Actions Build is green Patch application report for D8171 (id=29661)Rebasing onto 43597c4806... First, rewinding head to replay your work on top of it... Applying: crates: Loader implements incremental mode Changes applied before testcommit bbc96fd5703dbca0bd4372301e1890d7b24c5e3b Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Adapt test dataset and add incremental test cases Related T4104 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/822/ for more details.
Comment Actions From chatroom: Comment Actions Update the patch to make it work with new lister patch that give a last_update value for each versions Related D8454 Comment Actions Build is green Patch application report for D8171 (id=30607)Rebasing onto 134087342b... Current branch diff-target is up to date. Changes applied before testcommit b83aa6e71e737d32dee223b47e6ff3435531530e Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/872/ for more details. Comment Actions The loader requires some adaptation to align with lister output.
Comment Actions Build is green Patch application report for D8171 (id=31170)Rebasing onto 8aa6dab72a... First, rewinding head to replay your work on top of it... Applying: crates: Loader implements incremental mode Using index info to reconstruct a base tree... M swh/loader/package/crates/loader.py M swh/loader/package/crates/tests/test_tasks.py Falling back to patching base and 3-way merge... Auto-merging swh/loader/package/crates/tests/test_tasks.py CONFLICT (content): Merge conflict in swh/loader/package/crates/tests/test_tasks.py Removing swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Removing swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core Auto-merging swh/loader/package/crates/loader.py CONFLICT (content): Merge conflict in swh/loader/package/crates/loader.py Patch failed at 0001 crates: Loader implements incremental mode Resolve all conflicts manually, mark them as resolved with "git add/rm <conflicted_files>", then run "git rebase --continue". You can instead skip this commit: run "git rebase --skip". To abort and get back to the state before "git rebase", run "git rebase --abort". Rebase failed (ret=1)! Could not rebase; Attempt merge onto 8aa6dab72a... Already up to date. Changes applied before testcommit 8dc23c52dacd0acef1a1f145279aeda82eaebf32 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/962/ for more details.
Comment Actions Make use of checksums Instantiate test task with valid data Comment Actions Build is green Patch application report for D8171 (id=31176)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..9179f4b Fast-forward docs/package-loader-specifications.rst | 9 + setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 ++++++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 166 ++++------ swh/loader/package/crates/tests/data/expected.json | 133 ++++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 346 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- 27 files changed, 1052 insertions(+), 227 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit 9179f4b7ca0bece92609ebb41c806ea5efadee77 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/963/ for more details. Comment Actions Remove description from Release message, add raw extrinsic metadata Description removed, its value were describing the package, not a releaseAdd raw extrinsic metatata with format="original-artifacts-json". Populate it with data from extra loader arguments "artifacts" Comment Actions Build is green Patch application report for D8171 (id=31180)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..6cacf4e Fast-forward docs/package-loader-specifications.rst | 9 + setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 +++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 216 +++++----- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 444 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- 27 files changed, 1162 insertions(+), 265 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit 6cacf4e4da48ac88e13adee2a423bc73e26401be Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/964/ for more details. Comment Actions @vlorentz @anlambert Last commit introduce raw extrinsic metatata with format="original-artifacts-json". It is populated with data from extra loader arguments "artifacts". Regarding the "yanked" information, I suppose I just need to add one more entry to directory_extrinsic_metadata, "crates-package-json"? Also I will do some cleanup, big part of the intrinsic metadata related code is useless now, as we only need to get the author. Comment Actions Add "crates-package-json" raw extrinsic metadata Add a second entry raw extrinsic metadata format named "crates-package-json", it contains "last_update" and "yanked" information Cleanup useless code Adapt loader specification documentation Comment Actions Build has FAILED Patch application report for D8171 (id=31183)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..382a099 Fast-forward docs/package-loader-specifications.rst | 19 +- setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 +++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 305 +++++--------- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 459 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- 27 files changed, 1189 insertions(+), 352 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit 382a099eaa21b67b37cf47d66192ede116c5cf11 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/966/ Comment Actions Build has FAILED Patch application report for D8171 (id=31186)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..515fbdd Fast-forward docs/package-loader-specifications.rst | 19 +- setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 +++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 304 +++++--------- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 459 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- 27 files changed, 1188 insertions(+), 352 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit 515fbdd935c1f3c078264ebded1bee98af7b738f Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/967/ Comment Actions Build has FAILED Patch application report for D8171 (id=31189)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..df538b0 Fast-forward docs/package-loader-specifications.rst | 19 +- setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 +++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 304 +++++--------- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 459 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- tox.ini | 1 + 28 files changed, 1189 insertions(+), 352 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit df538b07a5cff3583dc74187ca46db31c52fe3d1 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/968/ Comment Actions Build has FAILED Patch application report for D8171 (id=31192)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..818c349 Fast-forward docs/package-loader-specifications.rst | 19 +- setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 +++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 304 +++++--------- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 459 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- tox.ini | 2 +- 28 files changed, 1189 insertions(+), 353 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit 818c34980a3dc253b35ad0e6b8c0a3ab9a453830 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/969/ Comment Actions Build is green Patch application report for D8171 (id=31195)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..9365e42 Fast-forward docs/package-loader-specifications.rst | 19 +- setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 ++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 304 +++++-------- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 473 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- 27 files changed, 1203 insertions(+), 351 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit 9365e42957c39f83a3fd9748dfc1b0476548c5e1 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/971/ for more details.
Comment Actions Build is green Patch application report for D8171 (id=31219)Could not rebase; Attempt merge onto 8aa6dab72a... Updating 8aa6dab..da35d82 Fast-forward docs/package-loader-specifications.rst | 19 +- setup.py | 1 + swh/loader/package/conda/__init__.py | 17 + swh/loader/package/conda/loader.py | 168 ++++++++ swh/loader/package/conda/tasks.py | 14 + swh/loader/package/conda/tests/__init__.py | 0 swh/loader/package/conda/tests/data/fake_conda.sh | 231 ++++++++++ ...inux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 | Bin 0 -> 1742 bytes ...inux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 | Bin 0 -> 1286 bytes swh/loader/package/conda/tests/test_conda.py | 133 ++++++ swh/loader/package/conda/tests/test_tasks.py | 24 ++ swh/loader/package/crates/loader.py | 304 +++++-------- swh/loader/package/crates/tests/data/expected.json | 133 ++++++ .../package/crates/tests/data/fake_crates.sh | 15 +- .../data/https_crates.io/api_v1_crates_hg-core | 2 - .../data/https_crates.io/api_v1_crates_micro-timer | 2 - .../crates_hg-core_hg-core-0.0.1.crate | Bin 426 -> 427 bytes .../crates_micro-timer_micro-timer-0.1.0.crate | Bin 456 -> 484 bytes .../crates_micro-timer_micro-timer-0.1.1.crate | Bin 458 -> 456 bytes .../crates_micro-timer_micro-timer-0.1.2.crate | Bin 485 -> 484 bytes .../crates_micro-timer_micro-timer-0.2.0.crate | Bin 419 -> 419 bytes .../crates_micro-timer_micro-timer-0.2.1.crate | Bin 420 -> 420 bytes .../crates_micro-timer_micro-timer-0.3.0.crate | Bin 413 -> 419 bytes .../crates_micro-timer_micro-timer-0.3.1.crate | Bin 421 -> 416 bytes .../crates_micro-timer_micro-timer-0.4.0.crate | Bin 417 -> 419 bytes swh/loader/package/crates/tests/test_crates.py | 479 +++++++++++++++------ swh/loader/package/crates/tests/test_tasks.py | 18 +- 27 files changed, 1209 insertions(+), 351 deletions(-) create mode 100644 swh/loader/package/conda/__init__.py create mode 100644 swh/loader/package/conda/loader.py create mode 100644 swh/loader/package/conda/tasks.py create mode 100644 swh/loader/package/conda/tests/__init__.py create mode 100644 swh/loader/package/conda/tests/data/fake_conda.sh create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36h9f0ad1d_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/data/https_conda.anaconda.org/conda-forge_linux-64_lifetimes-0.11.1-py36hc560c46_1.tar.bz2 create mode 100644 swh/loader/package/conda/tests/test_conda.py create mode 100644 swh/loader/package/conda/tests/test_tasks.py create mode 100644 swh/loader/package/crates/tests/data/expected.json delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_hg-core delete mode 100644 swh/loader/package/crates/tests/data/https_crates.io/api_v1_crates_micro-timer Changes applied before testcommit da35d82f47a569d09e7f302002a6549270a5f57e Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 commit 74289c868125a4d08743a1b2f00a4cd22410e1ad Author: Franck Bret <franck.bret@octobus.net> Date: Wed Sep 28 16:23:45 2022 +0200 Conda: Anaconda packages archive loader For each origin it takes advantage of 'artifacts' data send through 'extra_loader_arguments' of the conda lister, providing versions, archive url, checksum, etc. Author and description are extracted from intrinsic metadata. Related T4579 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/978/ for more details. Comment Actions Remove original-artifacts-json from raw extrinsic metadata, it should already be created by the base package loader Add last_update to manifest Comment Actions Build is green Patch application report for D8171 (id=31342)Rebasing onto a13e3e6f35... Current branch diff-target is up to date. Changes applied before testcommit a72f68e4f9d14f36f654f8e0b85690ef1bcdf480 Author: Franck Bret <franck.bret@octobus.net> Date: Tue Aug 2 09:21:24 2022 +0200 crates: Loader implements incremental mode Add incremental support based on sha256 EXTID Manage release date for each versions of a package Adapt test dataset and add incremental test cases Related T4104 See https://jenkins.softwareheritage.org/job/DLDBASE/job/tests-on-diff/998/ for more details. |