From 3fe8ead63d4963ec48bfdc781755081e90c93e7e Mon Sep 17 00:00:00 2001 From: Tom Kennedy Date: Mon, 31 Jul 2023 11:19:43 -0400 Subject: [PATCH] Update development doc - libgit2 is no longer neccesary Signed-off-by: Tom Kennedy --- DEVELOPMENT.md | 42 +----------------------------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index be58d1176..f0194f3fd 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -6,7 +6,7 @@ Access to a Kubernetes cluster is needed in order to install the kpack controlle ```bash kubectl cluster-info # ensure you have access to a cluster -./hack/apply.sh # is a writable and publicly accessible location +./hack/local.sh --help #this will provide all options for building/deploying kpack ``` #### When using private registries @@ -86,43 +86,3 @@ export KPACK_TEST_NAMESPACE_LABELS="istio-injection=disabled,purpose=test" ```bash IMAGE_REGISTRY=gcr.io/ go test ./test/... ``` - -### Libgit2 v1.3.0 Dependency and Installation - -Several unit tests depend upon libgit2 v1.3.0. - -__macOS Installation Instructions (Intel):__ - -1. Install `cmake` and `pkg-config` -```bash -brew install cmake pkg-config -``` -2. Verify no conflicting version of `libgit2` is installed - -```bash -pkg-config --print-provides libgit2 -``` - -You should expect output which reads either: `Package libgit2 was not found in the pkg-config search path` or `libgit2 = 1.3.0`. If a version of `libgit2` other than `1.3.0` is reported as installed, consider uninstalling `1.3.0` or running the unit tests in a different environment. - -3. Download `libgit2 v1.3.0` source code -```bash -mkdir libgit2-install && cd libgit2-install -curl -L -O https://github.com/libgit2/libgit2/archive/refs/tags/v1.3.0.tar.gz -``` - -4. Compile and Install -```bash -tar -zxf libgit2-1.3.0.tar.gz -cd libgit2-1.3.0 -mkdir build && cd build -cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_OSX_ARCHITECTURES="x86_64" -cmake --build . --target install -``` - -5. Verify installation -```bash -pkg-config --print-provides libgit2 -``` - -You should expect output which reads: `libgit2 = 1.3.0`