clean-code

Logo

Training materials and slides for courses on version control, clean code and documentation with practical examples and exercises in Python and R

View the Project on GitHub RISE-UNIBAS/clean-code

GitHub best practices

Documentation and FAIR data

Documentation and FAIR data principles are crucial in research for ensuring transparency, reproducibility, and efficiency. Documentation provides clear records of research processes, while FAIR principles (Findability, Accessibility, Interoperability, Reusability) ensure data is easily shared and used. These practices collectively enhance the integrity and impact of research.

README.md

You can add a README file to your repository to tell other people why your project is useful, what they can do with your project, and how they can use it.

From the GitHub documentation on README files

Materials

Questions

LICENSE.md

Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you’ll need to license it so that others are free to use, change, and distribute the software.

From the GitHub documentation on licensing a repository

Materials

Questions

CITATION.cff

You can add a CITATION.cff file to the root of a repository to let others know how you would like them to cite your work. The citation file format is plain text with human- and machine-readable citation information.

From the GitHub documentation on CITATION files

Materials

Questions

Releases

GitHub’s way of packaging and providing software to your users.

From GitHub glossary/release

Materials

Questions

Zenodo pipeline

GitHub repositories can be published to Zenodo as releases.

Materials

CHANGELOG.md

A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a project.

From https://keepachangelog.com/en/1.1.0/

Materials

Questions

GitHub pages

A static site hosting service designed to host your personal, organization, or project pages directly from a GitHub repository.

From GitHub glossary/GitHub pages

Materials

Questions

Security

Secrets

Collaboration

Automation

Getting help