Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Latest commit

 

History

History
45 lines (29 loc) · 1.2 KB

README.Md

File metadata and controls

45 lines (29 loc) · 1.2 KB

Repository Templates

The purpose of this repository is to house some common repository templates.

These can be called from within internal packages or written directly as needed.

When using version control it is important to practise good hygeine regarding data and privacy.

Things that shouldn't be a repository

  • Large data sets
  • Any confidential or private data
  • Authorization tokens, passwords, credentials
  • Virtual environments

Documents we have

.gitignore for what git should ignore .gitattributes for how git should track some things (e.g. binaries vs text) .dockerignore for what docker should ignore

Adding to your repository

Using our eatemplates packages:

## Single funciton
eatemplates::prep_repo()

## Or one by one
eatemplates::write_attributes()
eatemplates::write_gitignore()
eatemplates::write_dockerignore()

Or from the command line directly:

curl https://raw.githubusercontent.com/conedatascience/repo-templates/master/.gitattributes > .dockerignore

curl https://raw.githubusercontent.com/conedatascience/repo-templates/master/.gitattributes > .dockerignore

curl https://raw.githubusercontent.com/conedatascience/repo-templates/master/.gitignore > .gitignore