RB-Gateway now pulls before answering API requests.
Review Request #9386 — Created Nov. 18, 2017 and updated — Latest diff uploaded
Calls to
Pull
were added at the beginning of the following API calls:
getFile
,getFileByCommit
,getBranches
,getCommits
,getCommit
.
A message was also added to the merge commits.
HTTPIE was used to perform each of the listed API calls. After each
request, the local repository was checked to make sure the commits
of the remote were succesffully pulled.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
git_repository.go |
---|
git_repository_test.go |
---|
routes.go |
---|