To commit to the main repo you need:
Create one or more ssh keys
To commit to the repo the ssh key needed. Usually it located in ~/.ssh/id_dsa.pub.
If you still have no key, create one:
You can commit using different ssh keys on different hosts or usernames.
Send keys to the repo maintainers
Send keys to the repo maintainer (Dmitry Volodin). You'll be granted with access to particular directories
Pull the repo
You must to pull the repo via ssh before starting to commit changes:
This is usual development process. Make sure you have changed only directories to which you have write access.
Always remember, good code must have good documentation and unittests. Canned_Beef is you best friend when testing profile scripts.
Do not forget to check you code according to PEP8
When changing NOC's applications run full unittests
To test particular SA profile
To test canned beefs for particular script
To test canned beefs from particular directory
To check script's test coverage
Next, check unittests coverage in /tmp/coverage/index.html file. Try to cover by tests as much code as you can.
New "fresh beefs" will be placed into /tmp/beef/ directory
Common commit sequence:
Note: If you adding file to directory, listed in .hgignore, don't forget to type for each added file:
Committing canned beef
Import beefs into the repo
You can use sa_private or your custom repos as well
Finally, push changes