Skip to content
/ RepoTemplate Public template

This is the repo template for all further UND-ARC repositories.

License

Notifications You must be signed in to change notification settings

UND-ARC/RepoTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

New Repository Setup To-Do

Repository Settings

  • Add author name and email to /docs/_config.yml
  • Activate the documentation site: Settings -> scroll to Github Pages -> source: master branch /docs folder and Save
  • Enable vulnerability alerts: Settings -> scroll to Data Services -> check Vulnerability Alerts
  • Add any necessary branch protection rules: Settings -> Branches -> Branch Protection Rules
    • Master branch must require:
      • Pull request reviews before merging
      • Dismiss stale pull request approvals when new commits are pushed
      • Require status checks to pass before merging
      • Require branches be up to date before merging
      • Include administrators

Metadata

  • Add basic information to /docs/index.md about what the repo is for
  • Add basic information to this file /.github/README.md about what the repo is for (should be similar to /docs/index.md)
  • If applicable, edit the basic bug report template: /.github/ISSUE_TEMPLATE/bug.md
  • If applicable, edit the basic pull request template: /.github/PULL_REQUEST_TEMPLATE.md
  • If applicable, edit the contributing guidelines: /.github/contributing.md

Repo Structure

Most code repositories should have at minimum the following structure:

root directory
+- .github
| +- ISSUE_TEMPLATE
| | +- bug.md
| | CODE_OF_CONDUCT.md
| | contributing.md
| | PULL_REQUEST_TEMPLATE.md
| | README.md
+- docs
| | index.md
+- src
+- tests
| LICENSE
| .gitignore

Frequently, the tests directory may be better located under src. Most of the time, however, it'll be its own directory. The directory structure of tests should mirror exactly that of src, however, the code in the file(s) will not be program code, but instead be comprised of unit tests.

About

This is the repo template for all further UND-ARC repositories.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published