1. 19 Jun, 2018 1 commit
  2. 16 Apr, 2018 1 commit
  3. 03 Apr, 2018 1 commit
    • Tristan Van Berkom's avatar
      _project.py: Adhere to policy on private symbols · af34d716
      Tristan Van Berkom authored
      And adjust all surrounding sources for changed symbols.
      
      Additional details:
      
        o Added Project.get_shell_config() to report the shell configuration,
          instead of making those members all public
      
        o Moved assertions about project specified format versions required
          of plugins out of Plugin.__init__, and into Project.create_element()
          and Project.create_source(), so we can keep more things private
      
      This is a part of issue #285
      af34d716
  4. 13 Dec, 2017 1 commit
  5. 14 Sep, 2017 1 commit
  6. 18 Mar, 2017 1 commit
    • Tristan Van Berkom's avatar
      Refactor: Untangling element/source names · da394300
      Tristan Van Berkom authored
        o The metaelements and metasources now carry the name, the loader
          resolves source names now.
      
        o Element/Source factories dont require a name anymore as they
          are already in the meta objects
      
        o Pipeline no longer composes names
      
        o Element.name is now the original project relative filename,
          this allows plugins to identify that name in their dependencies,
          allowing one to express configuration which identifies elements
          by the same name that the user used in the dependencies.
      
        o Removed plugin._get_display_name() in favor of the plugin.name
      
        o Added Element.normal_name, for the cases where we need to have
          a normalized name for creating directories and log files
      
        o Updated frontend and test cases and all callers to use the
          new naming
      da394300
  7. 12 Jan, 2017 1 commit
  8. 10 Jan, 2017 1 commit
  9. 07 Jan, 2017 1 commit
  10. 31 Dec, 2016 1 commit
  11. 10 Dec, 2016 1 commit
  12. 15 Nov, 2016 2 commits
    • Tristan Van Berkom's avatar
      Principle of least underscores · 7be35048
      Tristan Van Berkom authored
      PluginContext, ElementFactory and SourceFactory reside in
      entirely private modules, as such they do not need a leading
      underscore to indicate that they are private.
      
      This makes the code nicer to read without causing private
      things to be considered public.
      7be35048
    • Tristan Van Berkom's avatar
      _site.py: simplify this file · 14e8161c
      Tristan Van Berkom authored
      Now modules import as:
      
        from . import _site
      
      And refer to things as _site.root, _site.default_config etc.
      
      Also now follow principal of least underscores
      14e8161c
  13. 14 Nov, 2016 1 commit
    • Tristan Van Berkom's avatar
      Move config.py -> _site.py · 7fc7f67c
      Tristan Van Berkom authored
      This file is for site installation relative path names
      for convenience, it's not where configuration stuff is stored and
      it's an entirely private detail.
      7fc7f67c
  14. 12 Nov, 2016 1 commit
    • Tristan Van Berkom's avatar
      Split up factory objects and base data model objects. · 1b07956f
      Tristan Van Berkom authored
      Better to have a separate file for each class clearly addressing
      it's purpose with it's filename.
      
        Source base data model -> source.py
        SourceFactory -> _sourcefactory.py
        Element base data model -> element.py
        ElementFactory -> _elementfactory.py
      
      Also moved the _plugin.py to _plugincontext.py, since the object
      is infact _PluginContext, lets follow this rule all around for
      code clarity.
      1b07956f
  15. 09 Nov, 2016 1 commit
  16. 08 Nov, 2016 1 commit
    • Tristan Van Berkom's avatar
      Adding base Element & Source classes. · 297fdf7e
      Tristan Van Berkom authored
      These currently have no API defined yet, but provide factory
      objects for managing plugins of their respective Source and
      Element implementations and instantiating Sources and Elements
      on demand.
      297fdf7e