Skip to content
Snippets Groups Projects
  1. Feb 17, 2025
  2. Dec 10, 2024
  3. Aug 27, 2024
  4. Aug 21, 2024
  5. Apr 17, 2024
  6. Feb 05, 2024
  7. Dec 01, 2023
  8. Nov 29, 2023
  9. Oct 23, 2023
    • vlorentz's avatar
      Prevent timestamps in node properties from being shifted according to the... · 38f66160
      vlorentz authored
      Prevent timestamps in node properties from being shifted according to the timezone WriteNodeProperties is being run in.
      
      Due to our ORC exports using the `timestamp` instead of the `timestamp with timezone`, reader and writer need to agree out of bound on the timezone used in files they exchange.
      
      However, we don't do this:
      
      * `swh-dataset` uses pyorc, which uses the C++ ORC library, which assumes users (us) always write in GMT
      * `swh-graph` uses the Java ORC library, which assumes the system timezone (or `$TZ` if set)
      
      So when reading with a non-UTC timezone, the Java ORC library interprets timestamps in the dataset as being in the local timezone, and converts them to UNIX timestamps (number of seconds since epoch); then we use these converted timestamps and write them to `.property.author_timestamp.bin` and `.property.committer_timestamp.bin`.
      
      This commit regenerates the example graph to have the correct timestamps. It also applies the 39ed0d17 change that removes useless padding at the end of all property files.
      
      Resolves #4788
      38f66160
  10. Feb 17, 2023
  11. Feb 16, 2023
  12. Jan 11, 2023
    • vlorentz's avatar
      Add Tox environment to run Java tests · 24e73ce5
      vlorentz authored
      They tend to be forgotten; this will make sure that running 'tox' will
      run Java tests as well as Python tests.
      
      It will also make it easier to run Java tests on the CI
      24e73ce5
  13. Jan 06, 2023
  14. Nov 29, 2022
  15. Oct 18, 2022
  16. Apr 26, 2022
  17. Apr 08, 2022
  18. Mar 25, 2022
  19. Mar 17, 2022
  20. Dec 16, 2021
  21. Apr 27, 2021
    • Antoine Lambert's avatar
      tox: Add sphinx environments to check sane doc build · f049e264
      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
      f049e264
  22. Oct 02, 2020
  23. Apr 08, 2020
    • David Douard's avatar
      Enable black · 4c3c6d83
      David Douard authored
      - blackify all the python files,
      - enable black in pre-commit,
      - add a black tox environment.
      4c3c6d83
  24. Nov 21, 2019
  25. Nov 06, 2019
  26. Nov 04, 2019
  27. Nov 03, 2019
  28. Oct 02, 2019
  29. Sep 30, 2019
  30. Sep 28, 2019
  31. Sep 20, 2019
  32. Sep 15, 2019
  33. Jul 17, 2019
  34. May 06, 2019
Loading