This repository contains repository infrastructure tools for use in
kubernetes and kubernetes-incubator repositories. Examples:
This repository can be used via some golang "vendoring" mechanism (such as glide), or it can be used via git subtree.
The exact mechanism to pull in this repository will vary depending on
the tool you use. However, unless you end up having this repository
at the root of your project's repository you will probably need to
make sure you use the --rootdir command line parameter to let the
verify-boilerplate.sh know its location, eg:
verify-boilerplate.sh --rootdir=/home/myrepo
git subtreeWhen using the git subtree mechanism, this repository should be placed in the top level of your project.
To add repo-infra to your repository, use the following commands from the
root directory of your repository.
First, add a git remote for the repo-infra repository:
$ git remote add repo-infra git://github.com/kubernetes/repo-infra
This is not strictly necessary, but reduces the typing required for subsequent commands.
Next, use git subtree add to create a new subtree in the repo-infra
directory within your project:
$ git subtree add -P repo-infra repo-infra master --squash
After this command, you will have:
repo-infra directory in your project containing the content of this
projectrepo-infra projectHEAD of the branch prior to when you ran git subtree addrepo-infra commitsPlease see CONTRIBUTING.md for instructions on how to contribute.
(top 30 of 41)
Starlark
50.0%
Go
30.0%
Shell
11.8%
Python
8.3%
This repository contains repository infrastructure tools for use in
kubernetes and kubernetes-incubator repositories. Examples:
This repository can be used via some golang "vendoring" mechanism (such as glide), or it can be used via git subtree.
The exact mechanism to pull in this repository will vary depending on
the tool you use. However, unless you end up having this repository
at the root of your project's repository you will probably need to
make sure you use the --rootdir command line parameter to let the
verify-boilerplate.sh know its location, eg:
verify-boilerplate.sh --rootdir=/home/myrepo
git subtreeWhen using the git subtree mechanism, this repository should be placed in the top level of your project.
To add repo-infra to your repository, use the following commands from the
root directory of your repository.
First, add a git remote for the repo-infra repository:
$ git remote add repo-infra git://github.com/kubernetes/repo-infra
This is not strictly necessary, but reduces the typing required for subsequent commands.
Next, use git subtree add to create a new subtree in the repo-infra
directory within your project:
$ git subtree add -P repo-infra repo-infra master --squash
After this command, you will have:
repo-infra directory in your project containing the content of this
projectrepo-infra projectHEAD of the branch prior to when you ran git subtree addrepo-infra commitsPlease see CONTRIBUTING.md for instructions on how to contribute.
(top 30 of 41)
Starlark
50.0%
Go
30.0%
Shell
11.8%
Python
8.3%