Install Mercurial changegroup hooks to trigger post events

Review Request #10041 — Created June 26, 2018 and submitted — Latest diff uploaded

Information

rb-gateway
master
0db9f03...

Reviewers

RB Gateway is now capable of installing post-receive hooks in a
Mercurial repository that will execute rb-gateway trigger-webhooks
with the appropriate arguments to cause a push event to occur.

Some of the integration testing infrastructure has been refactored to be
SCM-neutral. Additionally, a bug was fixed in helpers.CreateTestRepo
that always recorded the repository as a Git repository.

  • Ran unit tests.
  • Ran integration tests.
  • Ran go fmt ./....
Gopkg.lock
Gopkg.toml
Makefile
helpers/config.go
integration_tests/common.go
integration_tests/git_hook_test.go
integration_tests/hg_hook_test.go
repositories/hg.go
repositories/hg_test.go
repositories/util.go
Loading...