Fabricator Capture and Bitpack

My desired setup is to have my repositories in a bitpacket and then a copy in the fabricator to use its task manager and diff functions.

After the server and bitpacket are configured correctly, I can pull out any repo and it is updated, but, as the documentation says, it is possible that the repository is updated, and yet the fabricator takes some time to notice and therefore close tasks, update the repo, show diff, etc. To solve this problem, they say that in the primary repo you can use a hook to tell the developer that it is being updated as soon as possible. The problem is that I don’t know how to configure bitbucket to publish JSON on my computer when I click on it (bitbucket).

Can someone help me with this or is it impossible and I need some workaround?

Thanks.

+5
source share
1 answer

The API you are looking for is: https://secure.phabricator.com/conduit/method/diffusion.looksoon/

Now, indeed, BitBucket does not allow you to send custom request content, so all you could do was call the user API on your server, which would then make the channel call. Slightly spreading somehow ...

Now I will try to solve the problem differently: Why not create your repository as a repository located in the fabricator, which would automatically transfer the changes to the bitpacket, This will not require any hook.

0
source

Source: https://habr.com/ru/post/1202435/


All Articles