Skip to content

Conversation

@darkowlzz
Copy link
Contributor

GitServer.InitRepo() can be used to initialize a repo in the git server
with a given fixture. The repo is created internally using go-git over
the file protocol, irrespective of the git server.

This is needed for fluxcd/source-controller#445 to use the git test server.

GitServer.InitRepo() can be used to initialize a repo in the git server
with a given fixture. The repo is created internally using go-git over
the file protocol, irrespective of the git server.

Signed-off-by: Sunny <darkowlzz@protonmail.com>
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @darkowlzz

@stefanprodan stefanprodan merged commit 0cb90ff into fluxcd:main Oct 5, 2021
@hiddeco hiddeco added area/testserver Test server related issues and pull requests enhancement New feature or request labels Oct 5, 2021
@darkowlzz darkowlzz deleted the gittestserver-init-repo branch October 5, 2021 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testserver Test server related issues and pull requests enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants