It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Stash Post-Receive hook sent to Packagist

Matteo Bruno Jun 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 Jun 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

...ipe.sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables R...

3,032 views 1 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you