diff --git a/swh/lister/sourceforge/lister.py b/swh/lister/sourceforge/lister.py --- a/swh/lister/sourceforge/lister.py +++ b/swh/lister/sourceforge/lister.py @@ -386,14 +386,15 @@ match = re.search(rf".*/cvsroot/{project} co -P (.+)", text) if match is not None: module = match.group(1) - url = f"{cvs_base_url}/{project}/{module}" - hits.append( - SourceForgeListerEntry( - vcs=VcsNames(tool_name), - url=url, - last_modified=last_modified, + if module != "Attic": + url = f"{cvs_base_url}/{project}/{module}" + hits.append( + SourceForgeListerEntry( + vcs=VcsNames(tool_name), + url=url, + last_modified=last_modified, + ) ) - ) continue url = CLONE_URL_FORMAT.format( vcs=tool_name, diff --git a/swh/lister/sourceforge/tests/data/aaron.html b/swh/lister/sourceforge/tests/data/aaron.html --- a/swh/lister/sourceforge/tests/data/aaron.html +++ b/swh/lister/sourceforge/tests/data/aaron.html @@ -16,6 +16,7 @@ You can run a per-module CVS checkout via pserver protocol:
  • cvs -z3 -d:pserver:anonymous@a.cvs.sourceforge.net:/cvsroot/aaron co -P aaron
  • cvs -z3 -d:pserver:anonymous@a.cvs.sourceforge.net:/cvsroot/aaron co -P www
  • +
  • cvs -z3 -d:pserver:anonymous@a.cvs.sourceforge.net:/cvsroot/aaron co -P Attic
  • You can view a list of files or copy all the CVS repository data via rsync (the 1st command lists the files, the 2nd copies):

  • rsync -a a.cvs.sourceforge.net::cvsroot/aaron/
  • rsync -ai a.cvs.sourceforge.net::cvsroot/aaron/ /my/local/dest/dir/