Skip to content
Snippets Groups Projects
  1. Apr 12, 2022
  2. Apr 06, 2022
    • Antoine R. Dumont's avatar
      Update tests to check the image behavior · eb18e1ea
      Antoine R. Dumont authored
      This splits the current test image script in 2:
      - one to (locally) build and test the image
      - one to only test the image
      
      This introduces a Makefile to trigger simple test targets intended to be used by the ci.
      
      As an implementation (and gory) detail, this opens a conditional within the python
      script to not do anything during the download phase when the base url starts with
      test://. While i'm not a fan, it's simple enough to allow this `make test` to work
      without too much complication.
      
      Related to T3746
    • Antoine R. Dumont's avatar
      Make the docker image extract and publish the export.fld directly · ea090761
      Antoine R. Dumont authored
      The export.fld file is the interesting result of this repository for one maven indexa.
      With this new commit, running the image will compute and expose directly that result to
      be published.
      
      Prior to this commit, the docker image was only in charge of triggering the
      extract_index.sh script. The python script was the orchestrator in charge of downloading
      indexes, run the docker image and out of the index files retrieved, extract the
      resulting export.fld script.
      
      Example use:
      ```
      $ docker volume create maven_index_exporter
      $ docker run \
             -v maven_index_exporter:/work \
             -v /tmp/maven_index_exporter:/publish \
             softwareheritage/maven-index-exporter
      $ file /tmp/maven_index_exporter/export.fld  # on the machine running docker
      /tmp/maven_index_exporter/export.fld: UTF-8 Unicode text, with very long lines
      ```
      
      Related to T3746
      ea090761
  3. Apr 01, 2022
  4. Mar 24, 2022
  5. Mar 23, 2022
    • Antoine R. Dumont's avatar
      Adapt run_full_export according to swh cli conventions · df2240aa
      Antoine R. Dumont authored
      This adapts the existing script to:
      - use click which autodocuments the cli
      - add default values for considered less important parameters than the base-url
      - switch to logging instead of print statements
      - allows to provide another image (default to maven-index-exporter).
      
      This also adapts the documentation about the script accordingly.
      df2240aa
  6. Mar 22, 2022
  7. Dec 01, 2021
  8. Nov 30, 2021
  9. Nov 02, 2021
  10. Oct 24, 2021
  11. Sep 12, 2021
  12. Sep 11, 2021
  13. Aug 27, 2021
  14. Aug 26, 2021
  15. Aug 25, 2021
  16. Aug 23, 2021
  17. Aug 19, 2021
Loading