Skip to content

Commit fb640ee

Browse files
committed
Merge pull request #18 from gion/dev
0.1.6
2 parents de5f096 + 5c4ffb3 commit fb640ee

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ It may be easier to think of this extension as if they were 3 components:
2121
- the part that communicates with the Codeship api
2222
- the part that interacts with the Bitbucket pages
2323

24-
The extension was built using [yeoman](http://yeoman.io) and the [chrome extension kickstarter generator](https://github.com/yeoman/generator-chrome-extension).
24+
The extension was built using [yeoman](http://yeoman.io) and the [chrome extension kickstarter generator](https://github.com/HaNdTriX/generator-chrome-extension-kickstart) (thanks @HaNdTriX for it!).
2525
Having a [Codeship Api Key](https://codeship.com/documentation/integrations/api/#get-a-api-key) makes it easy to do simple queries to collect data about Codeship projects and builds.
2626
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.
2727
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:

app/manifest.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "__MSG_appName__",
33
"short_name": "__MSG_appShortName__",
4-
"version": "0.1.5",
4+
"version": "0.1.6",
55
"manifest_version": 2,
66
"description": "__MSG_appDescription__",
77
"icons": {
@@ -32,8 +32,8 @@
3232
"content_scripts": [
3333
{
3434
"matches": [
35-
"http://bitbucket.org/*pull-request/*",
36-
"https://bitbucket.org/*pull-request/*"
35+
"http://bitbucket.org/*pull-requests/*/*",
36+
"https://bitbucket.org/*pull-requests/*/*"
3737
],
3838
"css": [
3939
"styles/content.css"
@@ -52,4 +52,4 @@
5252
"storage"
5353
],
5454
"content_security_policy": "script-src 'self' https://*.googleapis.com; https://*.cloudflare.com; object-src 'self'"
55-
}
55+
}

0 commit comments

Comments
 (0)