![]() a83044020 fix mnt-by cebf11f40 squashed commit: ### DN42 Signature ### method: ssh ### mntner: HG-MNT ### text: a3c922464ef8899fe6dfa7d4e15bbb6eb6d9eb3f -----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAAhcAAAAHc3NoLXJzYQAAAAMBAAEAAAIBAMYjq0Up0GTXsXjnt+eO0U nIZrxLil4yYtcS/thy1LR6AfXyUKiwAoWJB6fr1lkl2Iva7rBp3o7MmdcmJhvkefBoYmGM teCnfzUzTnKTb+wtx5PcMQIdhBWdoxxJcRpDvAbA9NjSVv6+kYYfmvVK1ytcxs3Q4cqEVw E3KJ+X2loowLexbxIq5lbaRmYK3r+/HdetEW7HGZtzIVLvgL5n8APguErAQAR4HfFi9lKz /3x1lKRy3cRppzEwGZng1Rk0K3WPTegZoYPv+KzjtZioCteCDr3ByRe+bdyEDOGpxpBW6T Vx53dbZAg62JiRxV1aKiY2V9oMZXDz+N120k3GouONKQahMN0q3pC3Vyd4/1smJCVw1Cca fX+JyXy1sSeNC5mmnjgr/EzuSkKtM5u8LqgUPvtdlwFfITTj6qnC+LCuLbgKTvMSAtXCar QQ8p388FAtyzATDLGxIPeQkkxMl0RNf/MoIbTR/B8mZHKgqejJMsActc/37gb7J5s5u1y8 JombPhsmk2j6shUaslzu1IZZ77XPAeoMLilxHECxJGTEZqcELaTvsGAsGxYxtDdgeSdFOj s2Y2lKc/tKheJnGpad6GSdKBAKsJmUb0XeBE3OULf/am/sATwTf6L7cg3fTqxbeRJapiJa j2QGxwB0Bu6fttdjF2hDcuNSrAxF9HyZAAAABGRuNDIAAAAAAAAABnNoYTUxMgAAAhQAAA AMcnNhLXNoYTItNTEyAAACALakeUlsLMMTN2Uahdn4sWYQfZ+n4+2ETbqEzXeHxKeNAFB9 HH3aKQjN/Qs0sbAU8yy9p88SujiinRqbQ8tb6uMYGEaF515zqBcEoFrb+q4tNItPlrdYc9 95vWUsaG2MGLkUs3kzzxBviUQEdLX1K/np4cUg9esm9K5oAwe0pHbAYvgSjAh7tpSBPwxJ sDNGd00a532MnkgU4JjZ1gce9rqgxvcQ7nAkwVLEeSBKZVKdt8UOGTewgDaELmBDA13TFd +M2D8Sz1B3+23+RL5Gt1ElwSz5qo8/BKauhU91yghXlDjcHQn9xH+eI39r5+Xy+QOjx9oA FVF0jhXlgjdE9MuTLvmEftE3H64OteU3/Euuppy9ma5vZR19k7gu85Rqm55693eIFrGcp0 oSvEj11syjBRS1Ie8+VUBoos+V5XlUQW3HsVujzAAKSDYVtOEyxSFtKFKGeSoDAYrrHCLF xpRg3Bs3emQBjAcV0rjX0SQ6h8UQlLg0WZ7e72VjKsqERkwNIe4zkEJnZ7XrGzsBHblEJG N6hTwkK/m9KoEVsIFEhA4jGDQEdBkz54NDCmgPzX8ieTKo3Z51rs+kG8HnEOn/+Pq+v12S 6grrGGub5gImLSTaltsxqxqvTgfxLoxs020nSlJaBgBD1+rZWNkDLOq52FJwGc2iWx+HUH ADGg78 -----END SSH SIGNATURE----- |
||
---|---|---|
data | ||
utils/schema-check | ||
.drone.yml | ||
.gitignore | ||
check-my-stuff | ||
check-pol | ||
check-remote | ||
fix-infrastructure-objects | ||
fmt-my-stuff | ||
install-commit-hook | ||
README.md | ||
sign-my-commit | ||
squash-my-commits |
This repo is https://git.dn42.dev/dn42/registry
If you are using a different url, please update as soon as possible
Guide for creating a Pull Request
- Create a local clone of the registry repository
git clone git@git.dn42.dev:dn42/registry.git
You do not need to fork the registry repository. New users are provisioned as collaborators, allowing everyone permission to create new branches in the main registry repository. Note that this process is triggered on first login as a new user and can take up to 10 minutes. If you get permission denied trying to create a branch then log out and back in to your gitea account then retry after a few minutes.
- Create a branch for your changes
The name of the branch must follow a specific format:
<username>-YYYYMMDD/<name>
<username>
is your gitea username.YYYYMMDD
is the current date (UTC).<name>
is a descriptive name for your change.
The branch must be created in the registry on the date described in the branch name, so create the branch and push it to the registry immediately.
# create a new branch and switch to it
git checkout -b foo-20200704/mychange
# push it immediately to the registry
git push --set-upstream origin foo-20200704/mychange
- Make your changes on your new branch
See the getting started guide in the Wiki for more information.
inet6num
must have a random prefix to satisfy RFC4193- Include an auth method in your MNTNER so you changes to your objects can be authenticated
- Run the schema checking tools to validate your changes
./fmt-my-stuff MNTNER-MNT
./check-my-stuff MNTNER-MNT
./check-pol origin/master MNTNER-MNT
$EDITOR <change some stuff>
git add .
git commit
- Push your changes back to the registry
You must squash multiple commits together and sign them using your MNTNER authentication method.
It is also good practice to rebase your work on top of any other changes that may have happened on the master branch.
The registry contains a script that will automatically rebase and squash your commits:
./squash-my-commits
git push --force
or you can do it manually:
# make sure your local copy of the master is up to date
git fetch origin master
# ensure you are using your new branch
git checkout foo-20200704/mychange
# rebase your branch on top of the master
#
# -i to interactively pick the commits
# -S to sign the result with your GPG key (not required for SSH authentication)
#
# In interactive mode, make sure the first commit says 'pick'
# change the rest from 'pick' to 'squash'
# save and close to create the commit
git rebase -i -S origin/master
# force push your changes back to the registry
git push --force
- Create a pull request
In the gitea GUI, select your branch, check your changes again for a final time and then hit the 'Pull Request' button.
If you are using SSH authentication, please post the full commit hash that you signed and SSH signature in to the PR comments.
Your changes will now go through automatic checking and then manual review by the registry maintainers.
- Making updates
If you need to make changes to fix review issues simply make the updates to your branch and follow the process in (4) to rebase, squash and sign your changes again. You must do this for every update.
Do not close and re-open a new pull request, any changes you make on your branch will be automatically updated in the PR. Creating a new PR loses all the history and makes tracking changes harder.
Gitea Usage
The DN42 registry is a community resource for your benefit. Registered users are free to create and use their own repositories and use the Drone CI tools, but please be considerate in your usage.
- Repositories should be related to DN42
- Do not create tools that make regular, automated, push changes to repositories unless agreed with the registry maintainers
- Do not just create a mirror of other, publically available, repositories
Data Privacy
Gitea and the DN42 registry contains personal information for users who are registered in DN42; this information is stored in Canada and viewable by any registered member. In addition, anyone with access to the repository is able to make their own copies of the registry, which they may then process or transfer in arbitrary ways. You must assume that all data entered in to the registry cannot be kept private and will be made publically available.
Any personal information stored in the registry is optional and voluntarily provided by you. Whilst the registry maintainers will make best efforts to update or delete personal data, you must accept that the technical restrictions of git may make this impossible and that your information will likely have been distributed beyond the control of the registry maintainers.
If this is not acceptable for you, you must not upload your personal details to the registry.
All registered users have the capability to make copies of the registry data for their own use. If you do copy the registry you must ensure that any copies you make are deleted when no longer required and that you will make best efforts to update or delete personal data when requested.
You must not clone or mirror the registry in to a commercial git repository; commercial terms of service can be incompatible with the use of personal data in the registry.