Stash Post-Receive hook sent to Packagist

Matteo Bruno June 17, 2015

Hi,

I'm trying to send a hook to Packagist everytime I push something to my Stash repositories; I'm using this plugin

https://marketplace.atlassian.com/plugins/de.aeffle.stash.plugin.stash-http-get-post-receive-hook/versions#b1378808187

but unfortunately it doesn't work; I've talked with my sysadmin and he told me that there is an http 406 error

java.io.IOException: Server returned HTTP response code: 406 for URL: http://packagist.mtvi.com/api/update-package?username=XXX&apiToken=YYY

 

Have you ever set something like this? can you please help me?

 

Thanks a lot.

 

Best regards.

 

Matteo

1 answer

0 votes
Matteo Bruno June 22, 2015

Hi,

I made a pull request to Packagist.

https://github.com/composer/packagist/pull/528

Thanks a lot.

Matteo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events