[Bioc-devel] Unable to push to origin master

Turaga, Nitesh Nitesh.Turaga at RoswellPark.org
Tue Apr 24 01:18:18 CEST 2018


Hi Giorgio,

This is an issue with Github. They have a pre-receive hook on Github’s end which is being triggered. Do you get the same error message when you push to Bioconductor (upstream)? (git push upstream master)

I’m not sure why you are getting an error with that .rb (ruby) extension.

 Your remotes are set up correct.  

Best,

Nitesh 


> On Apr 16, 2018, at 2:10 PM, Giorgio Melloni <melloni.giorgio at gmail.com> wrote:
> 
> Dear Bioc-Devel,
> 
> I’ve just updated my package for the upcoming release upstream successfully using "git push upstream master”.
> My current remotes are set to:
> 
> origin	https://github.com/gmelloni/LowMACA.git (fetch)
> origin	https://github.com/gmelloni/LowMACA.git (push)
> upstream	git at git.bioconductor.org:packages/LowMACA.git (fetch)
> upstream	git at git.bioconductor.org:packages/LowMACA.git (push)
> 
> 
> When I try to do the same to origin (git push origin master) I receive the following error:
> 
> Counting objects: 18, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (16/16), done.
> Writing objects: 100% (18/18), 8.16 KiB | 2.72 MiB/s, done.
> Total 18 (delta 8), reused 0 (delta 0)
> remote: Resolving deltas: 100% (8/8), completed with 6 local objects.
> remote: /data/github/releases/deploy-b/vendor/gems/2.4.2/ruby/2.4.0/gems/statsd-ruby-0.3.0.github.3.38.gd478cc7/lib/github/statsd.rb:23:in `ip': getaddrinfo: Name or service not known (SocketError)
> remote: 	from /data/github/releases/deploy-b/vendor/gems/2.4.2/ruby/2.4.0/gems/statsd-ruby-0.3.0.github.3.38.gd478cc7/lib/github/statsd.rb:23:in `initialize'
> remote: 	from /data/github/releases/deploy-b/vendor/gems/2.4.2/ruby/2.4.0/gems/statsd-ruby-0.3.0.github.3.38.gd478cc7/lib/github/statsd.rb:106:in `new'
> remote: 	from /data/github/releases/deploy-b/vendor/gems/2.4.2/ruby/2.4.0/gems/statsd-ruby-0.3.0.github.3.38.gd478cc7/lib/github/statsd.rb:106:in `add_shard'
> remote: 	from /data/github/releases/deploy-b/lib/github/config/stats.rb:33:in `block in create_statsd'
> remote: 	from /data/github/releases/deploy-b/lib/github/config/stats.rb:33:in `each'
> remote: 	from /data/github/releases/deploy-b/lib/github/config/stats.rb:33:in `create_statsd'
> remote: 	from /data/github/releases/deploy-b/lib/github/config/stats.rb:20:in `stats'
> remote: 	from /data/github/releases/deploy-b/lib/github/config/stats.rb:244:in `<module:GitHub>'
> remote: 	from /data/github/releases/deploy-b/lib/github/config/stats.rb:12:in `<top (required)>'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:66:in `require'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:66:in `require'
> remote: 	from /data/github/releases/deploy-b/lib/github/logger.rb:3:in `<top (required)>'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:66:in `require'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:66:in `require'
> remote: 	from /data/github/releases/deploy-b/lib/github.rb:137:in `<module:GitHub>'
> remote: 	from /data/github/releases/deploy-b/lib/github.rb:20:in `<top (required)>'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:66:in `require'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:66:in `require'
> remote: 	from /data/github/releases/deploy-b/config/basic.rb:230:in `<top (required)>'
> remote: 	from /data/github/releases/deploy-b/vendor/ruby/44c51a28900fc53699489c87289294b79ee365d3/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> remote: 	from /data/github/releases/deploy-b/vendor/ruby/44c51a28900fc53699489c87289294b79ee365d3/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> To https://github.com/gmelloni/LowMACA.git
> ! [remote rejected] master -> master (pre-receive hook declined)
> error: failed to push some refs to 'https://github.com/gmelloni/LowMACA.git’
> 
> I’ve probably set up the remotes in the wrong way. Any help is appreciated.
> 
> thanks
> 
> Giorgio
> 
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.


More information about the Bioc-devel mailing list