Skip to content

ingadhoc/addons-repo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci

Adhoc Addons Repository Template

Template to bootstrap an addons repository.

Why?

We have dozens of repos. Most of them look the same, and most of them need specific-but-similar configurations for CI, code quality, dependency management, etc.

How to use?

This is a template based on Copier, go there to read its docs to know how it works.

Requirements

Using pipx (recommended):

# Install copier and pre-commit if missing
pipx install copier
pipx install pre-commit
pipx ensurepath

Quick start

Initialize a new repository

# Clone this template and answer its questions
copier copy --trust https://github.com/ingadhoc/addons-repo-template.git awesome-addons
# Commit that
cd awesome-addons
git add .
git commit -am 'Initialize ✨'

Convert an existing repo to use this template

# Clone the repo locally
git clone https://github.com/ingadhoc/awesome-addons.git
cd awesome-addons
# Apply the template and answer its questions
copier copy --trust https://github.com/ingadhoc/addons-repo-template.git .
# Commit that
git add .
git commit -am 'Initialize ✨'

Update a repo to pull latests changes from this template

copier update --trust

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published