Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Push to Bitbucket repositaries

by perlfan (Vicar)
on Dec 14, 2020 at 19:38 UTC ( #11125186=note: print w/replies, xml ) Need Help??

in reply to Push to Bitbucket repositaries

Git::Wrapper is a nice .. uh .. wrapper around git. And although there is no "script" ready to go, it's very easy to write your own using the module in a few lines. Couple that with an ssh key (and the proper repo URI), you'll be able to automate this process in no time.

Replies are listed 'Best First'.
Re^2: Push to Bitbucket repositaries
by chandantul (Beadle) on Dec 14, 2020 at 19:55 UTC

    Can I create a separate function in my existing code or its better to keep the code outside of the existing code and execute it if there is code changes that will update to repo?

        Thanks for the response, I had to use the Bitbucket APIs in order to write a code for creating a branch , commit , push then pull. Thanks

Re^2: Push to Bitbucket repositaries
by chandantul (Beadle) on Dec 14, 2020 at 20:51 UTC

    I am interacting with Bit Bucket cloud hence I am facing issue with connection parameters in Git::Wrapper. Can you please let me know what should be m connection parameters in the scripts? I have been given the Bitbucket project URL and I have created a repository under the project in Bitbucket cloud. How I can push the code through Git::Wrapper?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11125186]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2021-04-17 02:55 GMT
Find Nodes?
    Voting Booth?

    No recent polls found