DN42 registry
Find a file
tripadvisor101 3d104b58f2 squashed commit:
d225fb186 Final commit
bf2e4fd89 squashed commit:

### DN42 Signature
### method: ssh
### mntner: UPLINK-MNT
### text: 9f0b59daca60ed0cab8a9eaeed3f39a61159239b
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAAhcAAAAHc3NoLXJzYQAAAAMBAAEAAAIBAOBX8wSCAWMf60oqWfrgXL
MxmMS27/My0ZSjY3wFYkydVYtD1mS/5af24YnZYHt8BYuB8NPuuATdCv95mM0Jcgfv8aCB
aDddB0EAQu5uI3sloqbf59BULb3g/2FpZ6gFzILSguKLPHj0NLOwcdld9GGYcjf4BHIuz4
NPEG8PBexcqguVavJ1arV4P5QmaMPnznqLxYdkjUzydtnvnnaQ7TvjZGELrRiaTwLDMgAI
BVOjxrHOX16FmdDp2tiJZ6FYSw8s0DaXHX4qY3onr5w9I2AxkLJoRTw1WKDnzzSoQ+6jB1
w4Gp685lX8LC+4dvP6PlL9XkvgLsN9JcEKO3mn/5PBsLPU6qU0tyFU5aFaO/AChPX4vknA
TzyarDBtqXzMTpvqWtFxNZVHq7VDSeNyiIaQA44tKSFuEFuaGvA9K+O00gZm+oz679k0+e
hTHDGQ5unxJgLHBqfs3Vwj9lFdeisZFcMwP1kNxE8UVccjc5K4O7G7xEsra5OnioOhImEn
KWjQ8rybC9EnFv74GnLo4jQEUcvIV8dMmlLcvOshLjOlx/swkbG6hPun2vK7YaCB5fCC6S
dG6OlBJKG/RTowS6fWEW+BiDtsLcL8MHip7hNdT5aKdoa6McXoOojIliTHAhY1nLuZkXud
H+jgHka4L2CIi5it9ZQMORmrJUT9cXRHAAAABGRuNDIAAAAAAAAABnNoYTUxMgAAAhQAAA
AMcnNhLXNoYTItNTEyAAACADxcX0Ps4s219/8lHAoeLdVPCV0Ke6yL8iCvNWZ1O4fapiBy
iey1Gf7FFVLa46kTTOu0EjCIOcGPssEe5SGfbmSacnhEyZdjYOqOWd6OeJbOioHUOH1Wt4
FxwWU3gGqLLMvjDS36zFdC8wcfRXmaqFgQ5iumD91z8iCFF/RSmWHQiSO563QK7B8tl6Nn
42C+Ow2K6ydqlPc6yCxERn7V9pKmYI/B58KIXYbVFEnNmgzfJSRWUeF0yl29Bf97lHtYAQ
wUZI51qLWTU+xTqCQXahCP3l03Y3/VbWiO03h6KSKM3DmUf93EZt0ej939qAlcqOucX2iJ
3lGjXcmacUhcIjciXIgLiXQyQyaq5/wJ19ced1+VVt8xV5vwHytq40+5Kc7ebukCjxh0O1
EmSAT6Ag/BQm+vVCFkHfmOKqw2HHYEcSvLKbrxp34Sb4KZ+KleoCKhKDl0k3/4gsWcMm3g
+6HxZtPpMZvzwkPyhrDoluTDWUzD1kGlF4mQGetek9xfDhJlppnLKF0GW8UbllSrJO3C43
hj3WO7bcst9gHdBkkH3HJyPR2KLedaB0VA9wvq5oqcxhAbWLWrphxt0ia8VBKy3deZLPU2
oB/gOEYzTvp0ac4054qvOJEFx8B8366PT8yXqGeqduSszpAN+I5DBiKzb2ejftOzOdaiLT
lroRj3
-----END SSH SIGNATURE-----
2022-01-13 13:18:25 +02:00
data squashed commit: 2022-01-13 13:18:25 +02:00
utils/schema-check add key-cert to the list of data types which can be validated 2021-10-20 09:56:33 +01:00
.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 Fetch from master before counting number of commits 2021-08-19 10:01:57 +01:00

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

  1. 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.

  1. 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
  1. 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
  1. 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
  1. 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.

  1. 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.