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
Simply run go get github.com/seibert-media/gitsync/cmd/gitsync
. There should now be a command gitsync
in your $GOPATH/bin
.
gitsync provides a -help
flag which prints usage information and exits.
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"
.
To run tests you can use:
make test
# or
go test
# or
ginkgo -r
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.