项目作者: devlinjunker

项目描述 :
Example Project with 100% Core Infrastructure Initiative Criteria passing status - see https://bestpractices.coreinfrastructure.org/en/criteria
高级语言: Shell
项目地址: git://github.com/devlinjunker/example.cii.git
创建时间: 2021-01-02T18:46:04Z
项目社区:https://github.com/devlinjunker/example.cii

开源协议:MIT License

下载



Version: 0.6-SNAPSHOT

Example - CII 100%

GitHub License
GitHub release (latest SemVer)
GitHub last commit
CII Best Practices Summary
GitHub issues
GitHub priority issues

Intro

This is an example project with a goal of 100% passing Core Infrastructure Initiative Criteria status. It is based off of the GitHub Semver Project Template.

Contains the following improvements for passing status:

  • Automated Test Suite (for Bash Scripts)
  • Static Code Analysis (Linting)

Also contains:

Dependencies/Frameworks

  • Bulldozer - Github Application to Auto Squash and Merge feature PRs
  • Git-mkver - Binary that helps with determining next semantic version based on Git Tags
  • BATS - Automated Test Suite for Bash Scripts
  • ShellCheck - Linting Tool for Bash Scripts
  • PR Landmine Action - Mutation Testing Pull Requests

Quick Setup/Run

Add Code

  • Create branch matching style <prefix>/<hyphenated-description>
  • Add changes to branch
  • Before push, if hooks are installed, should do the following (otherwise manual):
    • Run bash linting with ./scripts/bin/lint.sh
    • Run all unit tests with ./scripts/bin/test.sh
  • Create Pull Request against develop

Create Release

See full details in the Github Semver Project wiki

  • Must be after feature/* or feat/* branch is merged
  • Initiate release-cut GitHub Action
  • Merge the created release-* PR to main to start release
    • Avoid squash and merge

Contributors