Skip to content

tegonal/oss-template

Repository files navigation

Following the steps you should perform after cloning this template repository:

  1. execute init.sh

  2. adjust/check the TODO in this file

  3. Enable discussions in the settings => General => Discussions

  4. add a new discussion category

    • icon: (click on icon) search for computer and choose the 💻 (laptop)
    • Category name: Contributor Q&A
    • Description: Ask other contributors for help
    • Discussion Format: Question / Answer (should already be preselected)
  5. if you are

    • a member of tegonal:
      in order that the tegonal-bot pushes changes to its own fork (e.g. when executing cleanup.yml or gt-update.yml -- see below for an explanation) and then create a normal PR you need to:
      1. add the repository variable AUTO_PR_FORK_NAME with value tegonal-bot/PROJECT_NAME_GITHUB
      2. login as tegonal-bot and then fork the repository
    • not a member of tegonal:
      1. Follow the guidelines in gt -> GitHub Workflow to set up PUBLIC_GPG_KEYS_WE_TRUST (see next points for AUTO_PR_FORK_NAME and co.)
      2. Variables and secrets
  6. Following a short introduction in the scripts already setup in this repository:

    1. before-pr.sh is executed in .github/workflows/quality-assurance.yml it currently executes scripts/cleanup-on-push-to-main.sh and scripts/run-shellcheck.sh and should be extended by project specific tasks such as sbt versionPolicyCheck (e.g. in a scala project)
    2. cleanup-on-push-to-main.sh is executed in .github/workflows/cleanup.yml and is meant to cleanup after a PR. => put commands such as code formatting in it, code generation which is committed etc.
    3. run-shellcheck.sh checks that shellcheck doesn't find issues in scripts located in the scripts directory
  7. Following a short introduction in the workflows already setup in this repository:

    1. cleanup.yml => run after push on main and intended to cleanup after a PR.
    2. gt-update.yml => run periodically, updates all files pulled in via gt. Note, this workflow is disabled automatically after 60 days of inactivity in your repository.
    3. quality-assurance.yml => run for PR and pushes, checks that the code/script quality and such are ok and no TODOs are left open => you will typically add more jobs which run tests (sbt test or gradle build)
  8. As last step, delete this section (including the TODO below) and you are ready to start with your new OSS project
    ps: use something like git commit -a -m "initialised"

TODO #4 delete the above

Download LICENSE_BADGE Quality Assurance Newcomers Welcome

PROJECT_NAME

TODO #1


❗ You are taking a sneak peek at the next version. It could be that some features you find on this page are not released yet.
Please have a look at the README of the corresponding release/git tag. Latest version: README of v0.1.0.


Table of Content

Installation

TODO #2 PROJECT_NAME is published to maven central.

Documentation

TODO #3 Code documentation can be found on github-pages: https://ORG_NAME_GITHUB.github.io/PROJECT_NAME_GITHUB.

Contributors and contribute

Our thanks go to code contributors as well as all other contributors (e.g. bug reporters, feature request creators etc.)

You are more than welcome to contribute as well:

Please have a look at CONTRIBUTING.md for further suggestions and guidelines.

License

PROJECT_NAME is licensed under LICENSE_LINK

About

Template for a new OSS project

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages