sourceforge: Fix listing of bzr projects
Fix sourceforge origin URL for bzr projects, http://project.bzr.sourceforge.net/bzrroot/project redirects to http://project.bzr.sourceforge.net/bzr/project. Handle bzr projects with multiple branches, one listed origin must be created per branch. Discard bzr projects that no longer exist from listing.
Showing
- mypy.ini 3 additions, 0 deletionsmypy.ini
- requirements.txt 1 addition, 0 deletionsrequirements.txt
- swh/lister/sourceforge/lister.py 35 additions, 3 deletionsswh/lister/sourceforge/lister.py
- swh/lister/sourceforge/tests/data/bzr-repo.json 0 additions, 53 deletionsswh/lister/sourceforge/tests/data/bzr-repo.json
- swh/lister/sourceforge/tests/data/ocaml-lpd.html 106 additions, 0 deletionsswh/lister/sourceforge/tests/data/ocaml-lpd.html
- swh/lister/sourceforge/tests/data/ocaml-lpd.json 201 additions, 0 deletionsswh/lister/sourceforge/tests/data/ocaml-lpd.json
- swh/lister/sourceforge/tests/data/subsitemap-1.xml 7 additions, 2 deletionsswh/lister/sourceforge/tests/data/subsitemap-1.xml
- swh/lister/sourceforge/tests/data/t12eksandbox.html 274 additions, 0 deletionsswh/lister/sourceforge/tests/data/t12eksandbox.html
- swh/lister/sourceforge/tests/data/t12eksandbox.json 292 additions, 0 deletionsswh/lister/sourceforge/tests/data/t12eksandbox.json
- swh/lister/sourceforge/tests/test_lister.py 86 additions, 13 deletionsswh/lister/sourceforge/tests/test_lister.py
Loading
Please register or sign in to comment