Prerequisites¶
Before contributing to EPNix, make sure you follow the general Prerequisites and the following requirements.
Forking¶
Go to the EPNix GitHub repository and click the Fork button. Choose your account as the owner and click Create fork.
See also
GitHub’s Working with forks documentation.
Go to your forked repository and clone it:
git clone "git@github.com:$USER/EPNix.git"
To update your EPNix fork in the future,
configure the official EPNix repository
as the upstream remote:
git remote add upstream https://github.com/epics-extensions/EPNix.git
Tip
For quick access to your EPNix repository from the Nix command line, run:
epnix-local flake alias¶nix registry add 'epnix-local' 'git+file:///path/to/where/you/cloned/epnix'
With this setup,
running nix build "epnix-local#phoebus" builds the phoebus package
from your local EPNix repository,
regardless of your current working directory.
Create a feature branch¶
Before creating commits to EPNix, create an appropriately named branch:
git switch -c add-asyn-support
Contributing policy¶
Make sure to read the contributing policies in the Explanations section.