Skip to content
Snippets Groups Projects
  1. Jul 20, 2021
    • zapashcanon's avatar
      add opam loader · 1602e991
      zapashcanon authored
      Summary:
      added an opam loader
      
      Related to T3425
      
      Test Plan: will add tests later using a local opam repository as it's done in the lister
      
      Reviewers: #reviewers, vlorentz, ardumont
      
      Reviewed By: #reviewers, ardumont
      
      Subscribers: ardumont, vlorentz
      
      Maniphest Tasks: T3425
      
      Differential Revision: https://forge.softwareheritage.org/D5975
  2. Jul 07, 2021
  3. Jun 25, 2021
  4. Jun 16, 2021
  5. Jun 10, 2021
  6. Jun 09, 2021
  7. May 27, 2021
  8. Apr 26, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · 0e4bb4bb
      Antoine Lambert authored
      Enable to check package documentation can be built without producing
      sphinx warnings.
      
      The sphinx environment is designed to be used in continuous integration
      in order to prevent breaking documentation build when committing changes.
      
      The sphinx-dev environment is designed to be used inside a full swh
      development environment.
      
      Related to T3258
      0e4bb4bb
  9. Apr 16, 2021
  10. Apr 13, 2021
  11. Apr 08, 2021
  12. Apr 06, 2021
  13. Apr 02, 2021
  14. Apr 01, 2021
  15. Mar 30, 2021
  16. Mar 29, 2021
    • vlorentz's avatar
      package.loader: Write to the ExtID storage · e48ced02
      vlorentz authored
      This allows future runs of a loader to know a package was already
      loaded, without querying each of the revisions individually and
      parsing their metadata.
      
      Eventually, this will allow us to get rid of the 'metadata' column
      on the 'revision' table entirely.
      e48ced02
  17. Mar 26, 2021
    • vlorentz's avatar
      package.loader: Lookup packages from the ExtID storage · a32f6871
      vlorentz authored
      To check which packages are already downloaded.
      
      For now, this lookup is done in addition to checking the artifacts
      from the last snapshot's revisions' metadata, because we did not start
      writing ExtIDs yet.
      But the ExtID lookup will eventually replace the artifact-based lookup.
      
      This will finally allow us to drop the 'metadata' field of Revision
      objects.
      a32f6871
    • vlorentz's avatar
      test_resolve_revision_from_artifacts: Use the right type for PartialExtID. · e590b425
      vlorentz authored
      We used a string instead of a tuple. It doesn't matter much because they
      are only compared with each other, but let's not intentionally use
      the wrong types when we don't need to.
      e590b425
  18. Mar 25, 2021
  19. Mar 23, 2021
  20. Mar 08, 2021
    • Antoine Lambert's avatar
      test_cli: Fix test_run_help and test_list_help · 132522e4
      Antoine Lambert authored
      Due to an incomplete command passed to the HelpFormatter.format method,
      the text alignment in the usage_prefix variable was not the same as the
      command output generated by click.
      
      Those tests started to fail since the recent growth of available loaders
      as click wraps help lines to 80 columns.
      132522e4
  21. Mar 05, 2021
Loading