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.