/gitsync

gitsync provides a service acting as middleware to sync the provided git repository when it's webhook gets called and then calls the next provided webhook while passing all return results back to the original caller

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

gitsync

Go Report Card Codacy Badge Build Status Docker Repository on Quay

gitsync provides a service acting as middleware to sync the provided git repository when it's webhook gets called and then calls the next provided webhook while passing all return results back to the original caller

Installing

Simply run go get github.com/seibert-media/gitsync/cmd/gitsync. There should now be a command gitsync in your $GOPATH/bin.

Usage

gitsync provides a -help flag which prints usage information and exits.

Dependencies

All dependencies inside this project are being managed by dep and are checked in. After pulling the repository, it should not be required to do any further preparations aside from make deps to prepare the dev tools.

When adding new dependencies while contributing, make sure to add them using dep ensure --add "importpath".

Testing

To run tests you can use:

make test
# or
go test
# or
ginkgo -r

Contributing

This application is developed using behavior driven development. Please keep in mind to use this development method when contribution to the project.

If you are new to BDD have a look at this video which inspired this project to use BDD:

https://www.youtube.com/watch?v=uFXfTXSSt4I

Feedback and contributions are highly welcome. Feel free to file issues or pull requests.

Attributions