DN42 Registry
Find a file
Mumulhl 08aaf6de37 squashed commit:
7125a1c84 fix
9a242cb38 squashed commit:

### DN42 Signature
### method: ssh
### mntner: MUMU-LHL-MNT
### text: 8b422ce279b926d4905547ffc97fa47905bde038
-----BEGIN SSH SIGNATURE-----
U1NIU0lHAAAAAQAAAhcAAAAHc3NoLXJzYQAAAAMBAAEAAAIBAKE00GWSZxm7eTgxyleLe3
w6TENUmYBYxe03DsVdrP/Qar1eo2NgT5yo7+JV0del1QVo7CXN1nFy/WPXpT7R5+L2YC0z
FDX351F2iSrXGWKC0g+WEm43Mv78x6ZDhptLOtyAD5i2AOvFbKbEIc5O3uwDyjyeYSb4Fx
bOfxHB6PMCAiCalCnPE2lwH4ccpUgzsAlbc9G3tl4++h1BfG0NCHzw+ZTkp+KIv75nAl9b
eE1JRtn4IhdV9TZFH/ul0voCZ/ICQ3KM1TS+VLU9JBCXoj06/wxBD24n5C9fTstmsltBQJ
iJkAKMVXecdwrhc0BdrR+4Lgz3GbQw/crpI6JnD8I/81HdzwNl56NtHSFpmLtrplewSBhX
bb7PcjFJPWQfWIvnF0//1qmFG/U79vUSUEdlNiwakmwHa/DUHNq19V1R6kvhpjLq6OT1rM
8MXAR/gfMcD02ljHiWkTdQRwiQwdsu22UkM7/dKaQkB//BhiZxUUb07t6bMM4bNTvbpw+K
GDz9lQ6xNeNAvy490oy77k+hED3kBbonZ+fG5cFQ0se1sgnZRAxgBCfpVhi9lzqrZYbmu7
kSmpYba1yCAQ9MleGvKfspPaCnKd9bdjnDt7a9w24h3MohyYazD+iENpsItqjX/9f/sxSe
C/MELB8GV+faxGIHpBxo+KU6sSJciCo3AAAABGRuNDIAAAAAAAAABnNoYTUxMgAAAhQAAA
AMcnNhLXNoYTItNTEyAAACAE8AElF1LJxxvAP+k75SKUq74RGTAYOyoWkpkPRGZFRFllxg
jHUpkyfRvcbYhfbjzt+rPb30uSYQZKFmusApzPrCSqyC+JOOdD7HW+eyNtUz90qZodBOny
CECr7enA6pzcy7dgEbjBVa+kksOB877X9TUiKYXVHkQv2HjAJXaQilL0vLzCWO77KLoqq5
HFXnsbcQUgDfGs6AK4jV0mJBJbCk1UTx3AnjF0skgyxN2hNPTM1cjl8Rq1E1S7q5GiNVTs
BWUyYKHKNJpjwJTI2gwF/s1MQjB63Ov9QVUbUNBUkXvVbkFqz7LiSmFMcLGhwEcwFIqAHa
xrLUnx/lOuuauBTFI0VWTl1/E3SnVjMwxEUdISZd4LteAi6R+zFyoelX5tRcRfGnUf9U9u
7wFoVGSEVRsUexhAM5JXt8abxmfo8054ACUQpyhnzHuXqn/dUYYlAYzu4Qjqe/T4jsGwaY
DSP2r540FHfhCdhfUqzy94/8aAwHGYbw59Mntx3MMhgHB+x5jGTpAdkDccgkcN13w9z934
a7t/isPywSZAZ4MrCmK28ST53XRTdbgeQym9mF9VRbQWMNvBHfpBOMeOtQjENmLRDUYLxy
GwY5a9KfgqsXyR4c1WuTduWw4O8x1B1wIvXozYP1+nu5Ed2JuO1I6yH3HwRgdUR89equEJ
xqYW/6
-----END SSH SIGNATURE-----
2021-10-06 23:02:07 +08:00
data squashed commit: 2021-10-06 23:02:07 +08:00
utils/schema-check cleanup work 2020-07-23 13:00:01 -06:00
.drone.yml Update .drone.yml and sign-my-commit script ahead of pipeline updates. 2021-07-10 15:08:27 +01:00
.gitignore remove .rpsl/config in favor of schema/SCHEMA-SCHEMA 2020-06-26 10:04:57 -06:00
check-my-stuff s/realpath/readlink -f/g 2018-01-01 02:53:36 +01:00
check-pol check-pol: use a more compatible shebang 2019-05-08 22:23:33 +02:00
check-remote require fully expanded ipv6 2017-12-11 17:33:55 -07:00
fix-infrastructure-objects fix-infrastructure-objects: Don't assume /bin/bash to be present 2020-11-26 19:32:40 -08:00
fmt-my-stuff Fix fmt-my-stuff to work with paths that contain spaces. 2021-07-23 16:41:32 +12:00
install-commit-hook s/realpath/readlink -f/g 2018-01-01 02:53:36 +01:00
README.md Use UTC date for branch naming 2021-07-12 03:08:21 +00:00
sign-my-commit Update .drone.yml and sign-my-commit script ahead of pipeline updates. 2021-07-10 15:08:27 +01:00
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.