BitShip
插件截图
插件概述
A chrome extension updates the bitbucket pull request page UI according to the codeship build status插件详情
What?BitShip is a chrome extension that facilitates communication between Bitbucket and Codeship
Why?
Because Codeship is awesome and Bitbucket is nice too...
... and because there is no service that makes them play together like github and travis do so nicely out of the box.
When?
After moving from Github to Bitbucket, I searched for a way to integrate Codeship as a Bitbucket service rather than a separate app that uses some git hooks. And after I found out that there aren't any other ways to achieve the classic Github-Travis combination with Bitbucket and Codeship, I decided to take the matter in my own hands and build a solution, hoping that it will be appealing to other developpers in my position too.
How?
It may be easier to think of this extension as if they were 3 components:
the actual extension
the part that communicates with the Codeship api
the part that interacts with the Bitbucket pages
The extension was built using yeoman and the chrome extension kickstarter generator.
Having a Codeship Api Key makes it easy to do simple queries to collect data about Codeship projects and builds.
The extension itself runs (although it seems to be active all the time) only on Bitbucket pull request pages and asks Codeship for the user's project list. If the Bitbucket project that the extension runs on is in the project list, then (after scraping :( the pull request branch) BitShip gets the Codeship build status for the pull request. The next step is some kind of css voodoo magic that adds a class to the root node of the page. Based on that class, the pull request page UI is modified so it reveals the Codeship badge with a status message:
BitShip notification box
Moreover, if the build is't green, BitShip disables the merge/approve buttons in the pull request page so that no one can accept code that is error prone:
BitShip disabled UI
Who?
I'm Gion and I want to make the web a better place (because I'm selfish and I want the internet to be better for me! >:)).
Anyone who wants to contribute is invited to submit an issue or a pull request and be a part of the BitShip team.
其他信息
官方唯一标识:heagnhmc****************cpfgadbd
官方最后更新日期:2015年11月25日
分类:开发者工具
大小:187KiB
版本:0.3.0
语言:English
提供方:none
星级:5
插件下载
| 下载链接一 下载链接二 |
| Chrome插件离线安装教程 |
温馨提示
本站中的部份内容来源网络和网友发布,纯属个人收集并供大家交流学习参考之用,版权归版权原作者所有。
如果您发现网站上有侵犯您的知识产权的作品,请与我们取得联系,我们会及时修改或删除。
如果您觉得网多鱼对您有帮助,欢迎收藏我们 Ctrl+D。