1. 24 May, 2021 1 commit
  2. 15 Apr, 2021 1 commit
  3. 21 Jan, 2021 1 commit
  4. 20 Nov, 2020 1 commit
  5. 20 Oct, 2020 1 commit
  6. 05 Oct, 2020 2 commits
  7. 17 Aug, 2020 2 commits
    • Matias Guijarro's avatar
      ffbb1bcf
    • Matias Guijarro's avatar
      config: Node object refactoring to allow on-demand references evaluation, and... · c9a73209
      Matias Guijarro authored
      config: Node object refactoring to allow on-demand references evaluation, and improvements on cloning and conversion to dictionary
      
      * introduction of the Reference object
          - reference object has an 'eval' function to evaluate a reference
          - evaluation returns an object from config, or the value of an object attribute
      * '$' prefix in YAML values now creates a Reference
          - no reference evaluation at YAML parsing time
      * backward compatibility
          - getting a key with a reference returns the value, not the Reference
              * => introduction of ConfigList object to represent lists
          - '.raw_*' methods returns the raw contents, ie. with Reference objects instead of reference evaluated values
      * node filenames are kept in Node objects
          - removed 'node2file' dictionary
      * nodes are indexed automatically when inserting a 'name' key
          - no need for 'create_index'
          - same for tags
      * '.to_dict()' method relies on the Python JSON decoder
          - simplification of the code
      * '.deep_copy()' is renamed to '.clone()'
      * '.deep_copy()' now relies on pickle
          - simplification of the code
          - nodes need a reference to the Config object => a trick is used to allow pickling/unpickling
              * the config object is saved to a tmp dict on pickling, and popped out on unpickling
      * removed call to 'gc.collect()'
          - unclear why it was there at the first place
      * removed weakref to Config object in nodes
          - nodes need the config, the config has to stay alive as long as nodes are there
      c9a73209
  8. 15 Aug, 2020 1 commit
  9. 20 Apr, 2020 1 commit
  10. 03 Apr, 2020 2 commits
  11. 04 Mar, 2020 1 commit
  12. 01 Mar, 2020 1 commit
  13. 21 Feb, 2020 1 commit
  14. 03 Feb, 2020 2 commits
  15. 30 Jan, 2020 1 commit
  16. 02 Dec, 2019 1 commit
  17. 26 Nov, 2019 1 commit
  18. 20 Nov, 2019 1 commit
  19. 12 Nov, 2019 1 commit
  20. 04 Sep, 2019 1 commit
  21. 30 Aug, 2019 1 commit
  22. 20 Aug, 2019 1 commit
    • Matias Guijarro's avatar
      Global map (#847) + fix #727, fix #716, issue #615 + aliases refactoring · a1a20fe3
      Matias Guijarro authored and Sebastien Petitdemange's avatar Sebastien Petitdemange committed
      In order to make it nicer for users, the global objects are initialized
      in bliss/__init__.py ; leaking module-level globals from imports are
      made 'private' with '_' (do not show)
      The logging_startup function is moved from logtools to __init__.py as
      well.
      
      Aliases refactoring:
      * removed AliasMixin class
      * removed 'alias_or_fullname, alias_or_name properties
          - code explicitely ask for name, fullname or alias instead
      * only objects found in env dict can be aliased, or counters
          - the CounterWrapper object is a proxy that evaluates to the corresponding
            counter at runtime, in order to make sure the alias is always in sync
            with the counter. The proxy code is a modified version of the proxy
            from the 'wrapt' project, from 'lazy-object-proxy' (PyPI)
      * added set() and remove()
      a1a20fe3
  23. 06 Aug, 2019 1 commit
  24. 28 Jun, 2019 1 commit
  25. 19 Jun, 2019 2 commits
  26. 11 Jun, 2019 1 commit
  27. 07 Jun, 2019 1 commit
    • Matias Guijarro's avatar
      logtools refactoring · 3bb4611d
      Matias Guijarro authored
      * use BlissLogger class instead of improve_logger
      * Disable bad loggers from Jedi
      * fixed map_update_loggers
          - It is not enough to update the name, it needs a fixup for parents and to be removed from loggers dict
      * use of specific debug log handler
      * simplified lslog
      * tests: added logging module clearing at fixture cleanup
      3bb4611d
  28. 05 Jun, 2019 1 commit
  29. 20 May, 2019 1 commit
  30. 17 May, 2019 1 commit
  31. 09 May, 2019 1 commit
  32. 24 Apr, 2019 3 commits
  33. 23 Apr, 2019 1 commit