-
- Downloads
cgit: Compute origin urls out of a base git url when provided.
This adds a second behavior to the cgit lister to actually compute origin urls instead of parsing them out of another http request on git detailed page. This new behavior is expected to be the default behavior. The old behavior is kept for now and is expected to be used as fallback if too much false negatives are returned. Related to T2999
Showing
- swh/lister/cgit/lister.py 41 additions, 12 deletionsswh/lister/cgit/lister.py
- swh/lister/cgit/tasks.py 6 additions, 2 deletionsswh/lister/cgit/tasks.py
- swh/lister/cgit/tests/data/https_git.baserock.org/cgit 33 additions, 0 deletionsswh/lister/cgit/tests/data/https_git.baserock.org/cgit
- swh/lister/cgit/tests/data/https_git.eclipse.org/c 42 additions, 0 deletionsswh/lister/cgit/tests/data/https_git.eclipse.org/c
- swh/lister/cgit/tests/data/https_jff.email/cgit 33 additions, 0 deletionsswh/lister/cgit/tests/data/https_jff.email/cgit
- swh/lister/cgit/tests/test_lister.py 35 additions, 0 deletionsswh/lister/cgit/tests/test_lister.py
- swh/lister/cgit/tests/test_tasks.py 1 addition, 1 deletionswh/lister/cgit/tests/test_tasks.py
Loading
Please register or sign in to comment