Script no longer works
So with BB's API changes does that mean this project is now dead in the water?
What's the alternative?
Comments (30)
-
-
reporter No still same problem. I had a working system up until the 22nd Oct when it stopped.
-
It does look like that it is a matter of money. If I pay a auto deploy service it will work with Bitbucket - if I don't, then I will have to either wait for someone to figure out how the new API works, or perhaps start fixing it myself. They have a python flask app as an example of using it. Haven't tried it yet, for obvious reasons. :)
-
reporter Yeah. I'm not keen on 3rd parties pushing stuff onto my servers, I'd rather pull from my known sources.
-
It worked today :)
I did accept that it didn't work and pushed breaking changes to my Bitbucket repository, and that broke my live site.
Typical, in'it?
Just when I thought the post hook was dead.. Still, this project really needs to work against the new API.
-
@Jacob What script are you using?
-
@EkoEcho That is actually a good question :P
As it happens, I am using https://github.com/Wanchai/FTPbucket and it also kind of works, up until recently..
I will definitely compare the two scripts.Sorry about the confusion.
However, the issue still stands..
-
This seems to be receiving data from Bitbucket: http://pastebin.com/WAuipRYh#
If you put this into it:
$raw_json = $inputJSON; /* store original json */ file_put_contents('bitbucketwebhook.json', $raw_json);
Then you can use a json viewer to figure out where to find things.
Here is an example payload as received from the linked to script: http://pastebin.com/mbXVT9uV
-
It looks like we solved that problem here: https://github.com/Wanchai/FTPbucket/commit/bfba596ba86b39e8e24a65a9d0f2e670c4de037c
-
reporter alixandru, do you plan to fix this script or should I jump ship and move to FTPbucket? (I'd rather use your ssh support rather than have to implement ftp :) )
-
It is relatively easy to fix this - take a look at the comments for the commit that I linked to :)
-
repo owner Thanks, @jacmoe! I'll have a look at the link you posted.
-
This is the link to the discussion where we figured it out: https://github.com/Wanchai/FTPbucket/commit/58809f4b55c957d14ce7ca4deb9edbb300007c9f
-
@croaker__ Just so you know, we are testing SSH right now on this branch https://github.com/Wanchai/FTPbucket/issues/2
-
reporter @thomas_m_ cheers. will take a look
-
Is there any news? Does it work with new BB's API?
-
I would like to know too @solosik I currently have another option running that does an entire full sync but would love to have this work to only sync changes.
-
Are there any other options (alternatives) available for BB ?
Thank you in advance.
-
@solosik I using my Jonathan Nicoal script based php tool -- automatic-bitbucket-deploy . It requires git command line client on server.
-
@lilliputten I'm looking for something that will work on share hosting too without ssh and git. Perhaps you or someone can advice something else, except FTPBucket?
-
@alixandru are there any chances that you'll fix this issue? Or we should look something around...
Thank you
-
repo owner I'm sorry, I do not have the necessary time to look into this at the moment. As per another BB user, the new BB API offers what it takes for this script to be fully functional again, but unfortunately I did not get the chance to even verify if that's true. So at this point I cannot tell if it's possible to have the script fixed to work with the new API. And I don't think I'll get to look into this the following few months - sorry, other priorities.
-
repo owner I just quickly verified and the old API (Services, with Post to URL) is still working fine. So at this moment this script is still usable.
-
Hi, There are issues with the deployment, I think bit bucket changed something on the api im getting this message:
BitBucket Sync - Full Deploy
- Fetching archive from https://bitbucket.org/Team/Repo/get/master.zip
- Extracting archive to commits/ # Unable to extract files. Is the repository name correct?
Im getting them in everyone of my repos (I changed the team name and repo on the link)
-
repo owner The script is working fine. I just tested and I could do a full deploy of a team-owned repository. Are you calling
deploy.php
with the correct URL parameters? It should bedeploy.php?setup=repo-name&team=team-name
-
thanks for replying.. This is what im using... its always been working great lately this week we have been having issues
http://dev.viadigital.team/deploy/deploy.php?setup=viadigital.team&team=wearerndtbl
-
repo owner Have a look at issue
#38and its resolution (also included below). Maybe your situation is related to account migration.Turns out Bitbucket is currently migrating all user accounts to new Atlassian accounts... that dummy read-only account we are using to do the syncing was essentially 'inactive' until I logged on and initiated the account migration. Everything is back up and syncing perfectly again.
-
this is the line that is displaying the #unable to extract the files. maybe an issue with the my hosting provider using the commits folder?
-
Thanks I will
-
repo owner - changed status to resolved
- Log in to comment
Yesterday bitbucket had problems with processing 'push' requests. Data were pushed and stored in repos, but did not appear in the history and hooks did not called. Try again today.