bitbucket

Can not download dependencies

↘锁芯ラ 提交于 2019-12-22 14:41:13
问题 I have a project with several dependencies from private repositories on bitbucket when I type command go build . I get this error unrecognized import path "bitbucket.xxx.xx/xx/x" x509: certificate signed by unknown authority I have tried several things such as adding token git config --global http.extraheader token Configure to ssh git config --global url."git@bitbucket.org:".insteadOf "https://bitbucket.org/" but it does not work. 回答1: Regarding using an HTTPS URL, note that HTTP transport

Can not download dependencies

狂风中的少年 提交于 2019-12-22 14:41:01
问题 I have a project with several dependencies from private repositories on bitbucket when I type command go build . I get this error unrecognized import path "bitbucket.xxx.xx/xx/x" x509: certificate signed by unknown authority I have tried several things such as adding token git config --global http.extraheader token Configure to ssh git config --global url."git@bitbucket.org:".insteadOf "https://bitbucket.org/" but it does not work. 回答1: Regarding using an HTTPS URL, note that HTTP transport

Bitbucket REST interface and GIT; how to get a log history between two tags from a branch

Deadly 提交于 2019-12-22 10:52:53
问题 I am building an app to which requires all the commit comments from git commits against a branch on remote origin. Our repository is hosted on a BitBucket server and is a Git repository. I have looked over the Bitbucket (Stash) REST api and I can bring back the git comments by browsing the commits, something like this: https://mybitbucket.local/rest/api/1.0/projects/myslug/repos/myproduct/commits?limit=1000&branch=mybranch What I need now, just to make it more efficient, is a mechanism to

How to automate deployment of source & compiled code (excluding git history) to third-party developers?

匆匆过客 提交于 2019-12-22 10:29:25
问题 I'm going to setup some tools/techiques/environments so that when I need to provide the source code for third-party developers, I do it without git history with some sensitive code already compiled and stripped. So I want to automate this process, so that I always provide the latest version of it without the pain of doing all necessary steps by hands everytime. I use bitbucket and git. How can my goals be accomplished using bitbucket and git? Do I need some other tools? P.S. Feel free to edit

Build jenkins job when push code to bitbucket

喜你入骨 提交于 2019-12-22 08:33:45
问题 I have a project in bitbucket and recently installed jenkins . In jenkins I created a job in jenkins . from New Item , I ticked Freestyle project and did not add anything to the jenkins project . in the configure section I added Source Code Management -> none Build Triggers -> Build when a change is pushed to BitBucket In Bitbucket went to Project settings Hooks Select hook -> jenkins Add hook and added the following values Endpoint :- http://myaddress.com:8080 Module name : my jenkins job

Recommended way to coordinate versions of multiple dependent mercurial repositories?

喜你入骨 提交于 2019-12-22 07:01:31
问题 Well, after many hours of reading and trial and error, it has finally hit me. Mercurial doesn't really want to do SubRepos...at least not with TortoiseHg and Bitbucket. If I am mistaken, and you don't want a down vote for a rude response similar to "of course it works, didn't you read the official docs", then please provide a simple example of how to do so via TortoiseHg latest that will successfully push to Bitbucket. Maybe a open source project that utilizes mercurial and bitbucket and

ssh: connect to host bitbucket.org port 22: Connection timed out fatal

三世轮回 提交于 2019-12-22 06:56:05
问题 Whole error is: ssh: connect to host bitbucket.org port 22: Connection timed out fatal: The remote end hung up unexpectedly I'm getting this error when I do push from two of my projects which are on different servers (countries). What could be problem? UPDATE: Using ssh -v I'm getting this: usage: ssh [-somecode] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [

How do I delete/remove a push from Bitbucket?

房东的猫 提交于 2019-12-22 05:14:47
问题 I pushed on the wrong repo, and now the admin wants me to remove my last push. I can't just delete the repo. How do I remove my push from the repo? 回答1: In the admin settings of each repository, there's a menu item called Strip commits : To delete your complete push, you need to strip the first (oldest) revision that you pushed. Bitbucket will then remove this revision and all its descendants: 来源: https://stackoverflow.com/questions/22976506/how-do-i-delete-remove-a-push-from-bitbucket

Access BitBucket payload data in Jenkins pipeline job

坚强是说给别人听的谎言 提交于 2019-12-22 04:09:07
问题 I've got a Jenkins pipeline job; it is configured to build on remote trigger which is being called by a BitBucket webhook. This works and is triggering the build. I also need to access the payload data sent by BitBucket (described here) to get details about the push such as the specific branch. The BitBucket plugin would usually parse this payload and present it to the job as an environment variable, but I can't set the pipeline job as being connected to a specific repo for that plugin, so it

Can I display an Ipython notebook hosted on bitbucket?

倾然丶 夕夏残阳落幕 提交于 2019-12-22 04:05:39
问题 I have a very simple notebook, hosted on github and on bitbucket. The github URL displays fine in the nbviewer, but the bitbucket URL - which should indicate the same trivial notebook - does not work with the nbviewer. Is it possible that nbviewer only takes github notebooks? Later comment: my repo was private - so that was at least one reason why it could not work! 回答1: Since this is/was the first result when googling for this, I just thought I'd update and let everyone know that this is now