Skip to content

Latest commit

 

History

History
 
 

2023-05-25-template-repository

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Template and .github Repositories

Decision

Two new repositories will be created within the EDC GitHub organization:

  • .github repository for common files that are the same for all components,
  • dedicated template repositories for files that must be adapted/modified by each component.

Rationale

Currently, general documents like the pr_etiquette.md or CONTRIBUTING.md are located in the Connector repository, although they apply to all repositories in the scope of the EDC project. In addition, resources like style files or issue/pr templates are duplicated across repositories and, with this, are not up-to-date, as most of the changes to those documents are made in the Connector repo and are not replicated across the other component repos.

The reasoning for moving these documents out to separate repositories is as follows:

  • simplify maintenance of files
  • facilitate the onboarding for new community members
  • improve automation of GitHub processes
  • harmonize creation process of new EDC repositories

Approach

At the time of this writing, two repositories can be identified:

  • .github
  • template-basic

We need to identify "common" and "repository-specific" documents. In addition, we need to test how the .github repo and the repositories' .github folders relate to each other.

Common documents

Suggested structure for .github repository:

Impacts on component repositories:

  • remove generic workflow files
  • remove listed contributing files
  • remove decision records that affect the general EDC project, e.g., org-wide release process
  • remove generic resources
  • keep component-specific decision records in component repositories

Repository-specific documents

Suggested basic structure for new repositories:

Further Considerations

Repositories that could be identified in the future:

  • template-gradle

With additional files (matching Java/Gradle)