dcppc / uncle-archie

Uncle Archie is a home-brewed continuous integration server for pull request checks and push-to-deploy functionality. https://pages.charlesreid1.com/uncle-archie
Other
1 stars 0 forks source link

update submodule hook behaving strangely #46

Closed charlesreid1 closed 5 years ago

charlesreid1 commented 5 years ago

The update submodule hook is not working correctly when there are multiple updates to the same submodule. The PR title is updated just fine, but there is no commit to update existing pull requests.

Possibly related, here is the output log from one update submodule webhook (I believe this was an attempt to update an existing submodule that failed on the hub command line command):

$ cat /www/archie.nihdatacommons.us/htdocs/output/private_www_update_submodules_20181119125354
======================
======= STDOUT =======

======================
======= STDERR =======
Error creating pull request: Unprocessable Entity (HTTP 422)
No commits between master and update_submodules_20181119_125359
fp9695253 commented 5 years ago

Addressed by #47

charlesreid1 commented 5 years ago

and #48

charlesreid1 commented 5 years ago

tested with dcppc/private-www#241 and functioning properly