Skip to content

Concerns regarding recipe repository "overlays" #9

@scymtym

Description

@scymtym

Paraphrasing discussion with semeyerz. @semeyerz please correct and/or expand as necessary
cc @rhaschke @swrede @LeroyR @warp1337 @nexero

Concerns

Keeping recipes in multiple unrelated (as in not forks of a single one) repositories is complicated and impractical:

  • Hard to understand for non-expert users
  • How to make/test changes to core recipes?
    • Clone core recipes, make the change, change my repository to work with my modified core recipes, make pull-request, undo temporary changes?
    • Overwrite recipes in my recipe repository, make and test changes, clone core recipes, make pull-request, undo overwrite?
  • Harder to find things using e.g. grep

We don't have enough resources to develop, document and maintain tool-supported features like this. We should focus on solutions that can be implemented with standard tools (i.e. git, grep, etc.)

Semantics are unclear

  • When including a template from a project recipe, in which repository should the search process start?
  • How should overwriting recipes work with multiple parents/a hierarchy of ancestors (See Support repository "overlays" generator#30)

Would overlays instead of underlays work better?

Advantages of single-repository solution

  • Standard workflows (fork, merge, pull-request)
  • Works better with commandline/standard tools

Better for new external users as well current Unibi users

Simple Migration Proposal

  1. Clean up templates in opensource.cit-ec
  2. Put cleaned up templates into new rdtk/recipes-core repository
  3. Fork rdtk/recipes-core into rdtk/recipes-unibi
  4. Copy project and distribution recipes from opensource.cit-ec into rdtk/recipes-unibi
  5. New external users as well as Unibi users work with rdtk/recipes-unibi
  6. Synchronize (template) improvements between rdtk/recipes-core and rdtk/recipes-unibi using pull-requests

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions