Skip to content
  • 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