The function was somehow tested indirectly and it was not clear enough to me what the code did...
Details
Details
- Reviewers
anlambert vlorentz - Group Reviewers
Reviewers - Commits
- rDLDG8d371e815cc6: Add specific test to the filtering branch function
tox
Diff Detail
Diff Detail
- Repository
- rDLDG Git loader
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 24163 Build 37712: Phabricator diff pipeline on jenkins Jenkins console · Jenkins Build 37711: arc lint + arc unit
Event Timeline
Comment Actions
Build has FAILED
Patch application report for D6391 (id=23244)
Rebasing onto 1d69d2be3b...
Current branch diff-target is up to date.
Changes applied before test
commit fd2de7d2a29c34e129df1ef561c21149e31f6890 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Oct 1 16:19:12 2021 +0200 Actually drop pull request and merge branches The actual implementation seemed to be willing to but did not do it.
Link to build: https://jenkins.softwareheritage.org/job/DLDG/job/tests-on-diff/132/
See console output for more information: https://jenkins.softwareheritage.org/job/DLDG/job/tests-on-diff/132/console
swh/loader/git/utils.py | ||
---|---|---|
89 ↗ | (On Diff #23244) | I'm confused by this old code... what exactly should that filter out? |
swh/loader/git/utils.py | ||
---|---|---|
87 ↗ | (On Diff #23244) | please restore the comment for that condition |
Comment Actions
Build is green
Patch application report for D6391 (id=23245)
Rebasing onto 1d69d2be3b...
Current branch diff-target is up to date.
Changes applied before test
commit a5fef2202df0f46c35ceafac968395206d1eb985 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Oct 1 16:19:12 2021 +0200 Add specific test to the filtering branch function
See https://jenkins.softwareheritage.org/job/DLDG/job/tests-on-diff/133/ for more details.
swh/loader/git/tests/test_utils.py | ||
---|---|---|
48–56 | no love for sets? :( |
swh/loader/git/tests/test_utils.py | ||
---|---|---|
48–56 | you can even use a set comprehension directly instead of set() |
swh/loader/git/tests/test_utils.py | ||
---|---|---|
48–56 | so true ;) |
Comment Actions
Build is green
Patch application report for D6391 (id=23246)
Rebasing onto 1d69d2be3b...
Current branch diff-target is up to date.
Changes applied before test
commit 8d371e815cc6a46965a288c6bef40500b15c2069 Author: Antoine R. Dumont (@ardumont) <ardumont@softwareheritage.org> Date: Fri Oct 1 16:19:12 2021 +0200 Add specific test to the filtering branch function
See https://jenkins.softwareheritage.org/job/DLDG/job/tests-on-diff/134/ for more details.