1. 06 Aug, 2021 1 commit
  2. 11 Jan, 2021 1 commit
  3. 02 Dec, 2020 1 commit
  4. 27 Sep, 2019 4 commits
  5. 19 Feb, 2018 2 commits
  6. 08 Jan, 2018 1 commit
    • Denis Laxalde's avatar
      Require a pre-existing concept scheme for LCSV command line import · 092344f78877
      Denis Laxalde authored
      Instead of creating a dummy concept scheme from the file name, we now
      require a pre-existing concept scheme's URI to be passed as a --scheme
      argument when running an LCSV import from the command line. This matches
      with the web UI behavior and makes it easier to integrate downstream
      with cubicweb-saem_ref as this application has a custom handling of ARK
      identifier which we could assign to the concept scheme previously
      created during import.
      
      We move the "Importing Skos dataset" down a bit because we may fail
      earlier if the --scheme option is not specified and having this message
      displayed is meaningless in such cases.
      
      Related to Extranet #44146518.
      092344f78877
  7. 29 Nov, 2017 2 commits
    • Denis Laxalde's avatar
      Handle LCSV format in "skos-import" command · 3daaef1b665b
      Denis Laxalde authored
      We add a --format option to "skos-import" ccplugin command with values
      being "rdf" or "lcsv".
      
      The lcsv format import behaves a bit differently than RDF import:
      
      * only on file is accepted,
      * a concept scheme is created beforehand to hold concepts to be imported
        from the LCSV file,
      * this scheme is eventually dropped in case of import failure or
        interruption
      * since lcsv_extentities() accepts a file object, we have to handle file
        opening and closing ourselves, hence the extentities_generator()
        wrapper function.
      
      Closes extranet #37463080.
      3daaef1b665b
    • Denis Laxalde's avatar
      Possibly check the value of stdout in ccplugin tests · c39e8b4e1da6
      Denis Laxalde authored
      We handle a keyword argument 'stdout_check' in run_import_skos() test
      helper and use its value to compare with process stdout. This will be
      used in the next changeset.
      c39e8b4e1da6
  8. 28 Nov, 2017 2 commits
  9. 10 Jan, 2017 1 commit
  10. 16 Nov, 2016 1 commit
  11. 24 Oct, 2016 3 commits
  12. 19 Oct, 2016 1 commit
  13. 28 Sep, 2016 1 commit
  14. 07 Jul, 2016 1 commit
  15. 29 Jun, 2015 1 commit
    • Yann Voté's avatar
      [rdfio] Fix methods for objects without language attribute · 7b78a9be712b
      Yann Voté authored
      Some graph methods will crash if some data are not URIs and have no
      ``language`` attribute (eg. ``BlankNode``). Fix this.
      
      Side effect for Redland LibRdf: since this library raises an exception when
      trying to get an URI for a blank node, we should also handle this case.
      
      Closes #5582296.
      7b78a9be712b
  16. 20 May, 2016 1 commit
  17. 18 Apr, 2016 1 commit
  18. 26 Feb, 2016 5 commits
  19. 01 Feb, 2016 1 commit
  20. 12 Jan, 2016 2 commits
  21. 21 Jan, 2016 1 commit
  22. 03 Nov, 2015 1 commit
  23. 13 Nov, 2015 1 commit
  24. 29 Sep, 2015 1 commit
    • Denis Laxalde's avatar
      [rdfio] Move the responsibility of pulling from / sending to the entities on adapter side · 682559dd1821
      Denis Laxalde authored
      Thus the RDFGraphGenerator does not know about the entities stack (previously
      graph walker), its main method `add_entity` now returns a set of related
      entities to be eventually sent back to the stack. Also the entities_stack does
      not know about the `accept` callback, which is handled only on adapter side.
      
      Re-implement the entities stack (previously graph walker) as a coroutine ;)
      682559dd1821
  25. 07 Oct, 2015 1 commit
  26. 24 Aug, 2015 1 commit
  27. 29 Sep, 2015 1 commit