I missed some in aef7d5952e16a9e877b5a3846ff6aaac0725eb4e.
Details
- Reviewers
douardda ardumont - Group Reviewers
Reviewers - Commits
- rDLS52b1de87c50b: Finish dropping the 'description' column.
Diff Detail
- Repository
- rDLS Listers
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Have you tried starting the docker-dev then?
Tests are not enough apparently so i'd settle with that check for now.
Build is green
See https://jenkins.softwareheritage.org/job/DLS/job/tox/275/ for more details.
swh/lister/cran/lister.py | ||
---|---|---|
27–30 | The only way to get some metadata and description related to a packages is using R build in api. If we remove description from here then we will not have any metadata related to package which could be used in loader. |
Have you tried starting the docker-dev then?
Tests are not enough apparently so i'd settle with that check for now.
And starting listing a gitlab instance as that'd be also not enough.
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DLS/job/tox/276/
See console output for more information: https://jenkins.softwareheritage.org/job/DLS/job/tox/276/console
swh/lister/cran/lister.py | ||
---|---|---|
27–30 | What will this metadata be used for? |
swh/lister/cran/lister.py | ||
---|---|---|
27–30 | As in other loaders(like pypi) there the is metadata url wich the loader visits and collect some data related to the package like author name and description. |
swh/lister/cran/lister.py | ||
---|---|---|
27–30 | Oh, right. Could you make a diff to restore this behavior (and add a test so it does not accidentally get removed again)? |
swh/lister/cran/lister.py | ||
---|---|---|
27–30 | I will surely make a diff to restore it, but I am not sure about the test. I didn't understood how to make the test for this and of what type. Some example would be really helpful here |
swh/lister/cran/lister.py | ||
---|---|---|
27–30 | With assert_called_once_with: with unittest.mock.patch('swh.scheduler.<blahblah>.create_tasks') as mock_create_tasks: # call the lister here mock_create_tasks.assert_called_once_with(blah blah) |