Skip to content

Latest commit

 

History

History
148 lines (111 loc) · 7.27 KB

README.md

File metadata and controls

148 lines (111 loc) · 7.27 KB
component-id name description type release-date release-number release-link work-package licence resource contributors related-components
rulebook
Polifonia Ecosystem Development Rulebook
Guidelines, recommendations, and norms on how to contribute to the Polifonia Ecosystem.
Documentation
21/04/2022
v2.1
TODO
WP1
Cc010Universal
reuses
rulebook-schema
ontology-rulebook

Rulebook

Guidelines, recommendations, and norms on how to contribute to the Polifonia Ecosystem.

Guidelines

When to create a repository?

Create a GH repository whenever there is an activity which leads to the production of a component of the Polifonia Ecosystem.

Do I really need to create a repository for anything I do?

No. But as soon as the work is discussed or presented in a meeting a repository should be already there, or follow straight after! A repository with annotated component descriptions (see later) is mandatory for components mentioned in official deliverables.

What if a repository already exists somewhere else?

You don’t need to fork the repository in the Polifonia organisation. External components can be described (with annotations) in the repository external-components.

Champion

Each repository must have a champion. Champions need to be annotated in the CHAMPIONS.md file.

Discussion and decisions

Discussions can happen anywhere at anytime. However, decisions that impact the development of the component MUST be logged within an Issue (a Github issue, example) and motivated.

If the decfision is not being recorded in an Issue, it never happened.

Tracking changes (commits)

Commit messages are mandatory and must reference at least one Issue. A good commit message is Added folder XYZ with data from QWE, see also #432 where #432 is the issue number in the same repository. You can also reference any URL in commit messages, please see GitHub documentation for examples. The more you link, the better.

Useful readings on best practices:

This is a bad commit message This is a good commit message

Tracking Progress Issue

Progress on the development of each component MUST be reported in the Issues section periodically. Each repository SHOULD have a single Tracking Progress Issue for general progress update. A simple reporting template can be a bullet list in three sections: Progress, Problems, and Perspectives (3P).

The 3P are:

  • Progress: what concrete work has been done since the last update.
  • Problems: anything that is slowing or blocking progress, or it is expected to do so.
  • Perspectives: what progress is expected going forward, including plans that have been made to face any of the problems (if any).

Please note that the Tracking progress issue is only for updates. Detailed, task-based issues should be used for referencing changes (commits) and can be linked in the Tracking Progress Issue.

Examples:

Naming conventions

Some naming conventions have been discussed, feel free to contribute to the discussion here

For repositories

  • Avoid including “Polifonia” in the name (e.g. ecosystem rather then polifonia-ecosystem)
  • Avoid acronyms (ontology-network instead of ON)

Branches

Use branches for managing different versions of the code / components. Avoid creating a branch for each sub-system (e.g. /datasets /ui etc... Instead, create different repositories.

Releases

Use Semantic Versioning for release numbers, and follow the GitHub workflow for releasing.

Register your repository on Zenodo, by activating the related GitHub Action. See this guide.

Contributing to the Ecosystem

What is an Ecosystem component?

Any resource produced by or used in the research activity. See the reference documentation for a list of component types.

What is an Ecosystem container?

Components can be grouped in containers, representing a research activity (e.g. a project). See the reference documentation for a list of container types.

Tge Polifonia Ecosystem includes by default the following containers.

Containers of type Project:

  • polifonia-project

Containers of type WorkPackage

  • WP1
  • WP2
  • WP3
  • WP4
  • WP5
  • WP6
  • WP7
  • WP8

Containers of type Pilot

  • TUNES
  • BELLS
  • INTERLINK
  • MUSICBO
  • TONALITIES
  • MEETUPS
  • CHILD
  • ORGANS
  • ACCESS
  • FACETS

Polifonia Ecosystem Website

A repository contains the development work for at least 1 component in the Polifonia Ecosystem. One markdown text file should expose annotations (metadata) relative to a single component included in the repository. For example, a component-name.md file using the annotation schema of the Polifonia Ecosystem (the file can have any name). A repository can include multiple annotated files, hence expose multiple components. Those annotations will be used by the Polifonia Ecosystem website. This website will provide a user interface for navigating through the Polifonia Ecosystem (with aggregation pages, tags, etc). Please note that the Polifonia ecosystem website uses the content of Github repositories as is, hence the need for good quality annotations / documentation.

Developing Schema Components Annotations

The annotations should be written at the top of the markdown file, between 2 “---” lines. The markup format is YAML (mostly a “key: value” format, see also example at the top of this file). The reference documentation of the annotation schema can be found at this link. Developers can use this service to test the YAML code: https://jsonformatter.org/yaml-validator .

Process towards ecosystem releases

  • Champions curate releases with project-specific frequency and rationale
    • Releases must be linked to Zenodo and the related Polifonia Community
  • TB calls for next Ecosystem Release
  • Champions reply giving details about version number and expected deadline (if any)
  • Champions ensure component metadata is accurate
  • Ecosystem Website prepare release candidate
  • TB tests and validates Ecosystem Website release candidate
  • Ecosystem released

How to contribute to the Rulebook

Please open an issue with proposals or questions about the rulebook!