Details
Diff Detail
- Repository
- rDLDBASE Generic VCS/Package Loader
- Branch
- functional-eval-revision
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 11195 Build 16906: tox-on-jenkins Jenkins Build 16905: arc lint + arc unit
Event Timeline
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/345/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/345/console
For stacked diff (within the same repo), you need to add the 'Depends on <DIFF-ID>' stanza in the description.
This will allow the jenkins build to pass (if the build diffs you depend on pass though ;)
For D2792, the build is red for now (you need to update the cli test which adds the functional loader in the help message).
- package.loader: ignore non tarball source
- package.loader: add origin argument
- Add the functional loader
- cli: add the functional loader in the cli tests
- package.loader: add hook_branches method
- functional: create a branch named evaluation pointing to the evaluation commit
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/351/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/352/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/353/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/354/ for more details.
swh/loader/package/functional/loader.py | ||
---|---|---|
96 | Instead of mutating the reference here, make that return additional branches the main loader needs to append to its current list. The contract becomes clearer for that method. Maybe even rename hook_branches to extra_branches. |
swh/loader/package/functional/loader.py | ||
---|---|---|
96 | I initially wanted to create an extra_branches method, but it is difficult to know what to do if an extra branch overrides an existing one: since branches is a dict, we can not just append elements. I don't have a strong opinion on this. If you prefer, I could create the extra_branches method and raise an exception in the load method in case of overlap. |
swh/loader/package/functional/loader.py | ||
---|---|---|
96 |
Yes, i prefer this. |
- package.loader: add extra_branches method
- functional: create a branch named evaluation pointing to the evaluation commit
Build has FAILED
Link to build: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/360/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/360/console
- package.loader: add extra_branches method
- functional: create a branch named evaluation pointing to the evaluation commit
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/362/ for more details.
- package.loader: add extra_branches method
- functional: create a branch named evaluation pointing to the evaluation commit
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/364/ for more details.
swh/loader/package/functional/loader.py | ||
---|---|---|
38–39 | types def __init__(self, url: str, origin: Optional[str]): | |
46 | nitpick, keep only what you need, that is drop self.sources here :) | |
81 | pointer can target a nonexistent revision for a time. supposed to load | |
swh/loader/package/loader.py | ||
328 | Please, give better name to k and v. |
- package.loader: add extra_branches method
- functional: create a branch named evaluation pointing to the evaluation commit
swh/loader/package/functional/loader.py | ||
---|---|---|
38–39 | The origin argument has been removed. | |
46 | It is also used in the get_versions method | |
swh/loader/package/loader.py | ||
328 | Hm, mypy doesn't allow to change the type of a varaible in a scope. So, I add to rename k to name (and not to branch_name which is already used). |
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/366/ for more details.
Build is green
See https://jenkins.softwareheritage.org/job/DLDBASE/job/tox/367/ for more details.