Page MenuHomeSoftware Heritage

Add tasks for crates lister
AbandonedPublic

Authored by franckbret on Mar 17 2022, 7:38 PM.

Details

Reviewers
None
Group Reviewers
Reviewers
Required Signatures
L3 Software Heritage Contributor License Agreement, version 1.0

Diff Detail

Repository
rDLS Listers
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 27542
Build 43104: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 43103: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D7376 (id=26659)

Could not rebase; Attempt merge onto fd03941c5f...

Updating fd03941..02adb20
Fast-forward
 .pre-commit-config.yaml                            |   1 +
 setup.py                                           |   1 +
 swh/lister/crates/__init__.py                      |  12 +++
 swh/lister/crates/lister.py                        | 120 +++++++++++++++++++++
 swh/lister/crates/tasks.py                         |  19 ++++
 swh/lister/crates/tests/__init__.py                |  29 +++++
 .../tests/data/fake-crates-repository.tar.gz       | Bin 0 -> 26518 bytes
 .../tests/data/fake_crates_repository_init.sh      |  34 ++++++
 swh/lister/crates/tests/test_lister.py             |  87 +++++++++++++++
 swh/lister/crates/tests/test_tasks.py              |   0
 10 files changed, 303 insertions(+)
 create mode 100644 swh/lister/crates/__init__.py
 create mode 100644 swh/lister/crates/lister.py
 create mode 100644 swh/lister/crates/tasks.py
 create mode 100644 swh/lister/crates/tests/__init__.py
 create mode 100644 swh/lister/crates/tests/data/fake-crates-repository.tar.gz
 create mode 100755 swh/lister/crates/tests/data/fake_crates_repository_init.sh
 create mode 100644 swh/lister/crates/tests/test_lister.py
 create mode 100644 swh/lister/crates/tests/test_tasks.py
Changes applied before test
commit 02adb201bf2b91de187a2d6785a7765aba20465e
Author: Franck Bret <franck.bret@octobus.net>
Date:   Thu Mar 17 19:35:21 2022 +0100

    Add tasks for crates lister

commit 5547bc9e32e9eecdf7190e1444cd24574b6e8a23
Author: Franck Bret <franck.bret@octobus.net>
Date:   Thu Mar 17 19:07:32 2022 +0100

    Add a test for 'crates' lister

commit fa7869cf9f9a863591d7e85d2659671abbcf6aca
Author: Franck Bret <franck.bret@octobus.net>
Date:   Thu Mar 17 12:13:04 2022 +0100

    WIP: Start rust crates lister

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

Cancelling to move those changes in D7367