Skip to content

Commit

Permalink
updates for the moved repo
Browse files Browse the repository at this point in the history
  • Loading branch information
czechboy0 committed Aug 26, 2016
1 parent 38e3c64 commit 1180f79
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 35 deletions.
36 changes: 17 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
Buildasaur
==========

[![satellite badge](https://stlt.herokuapp.com/v1/badge/czechboy0/buildasaur/master)](https://github.com/czechboy0/buildasaur/branches)
[![Latest Buildasaur Release](https://img.shields.io/github/release/czechboy0/buildasaur.svg)](https://github.com/czechboy0/Buildasaur/releases/latest)
[![satellite badge](https://stlt.herokuapp.com/v1/badge/buildasaurs/buildasaur/master)](https://github.com/buildasaurs/buildasaur/branches)
[![Latest Buildasaur Release](https://img.shields.io/github/release/buildasaurs/buildasaur.svg)](https://github.com/buildasaurs/Buildasaur/releases/latest)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://en.wikipedia.org/wiki/MIT_License)

[![Blog](https://img.shields.io/badge/blog-honzadvorsky.com-green.svg)](http://honzadvorsky.com)
[![Twitter Buildasaur](https://img.shields.io/badge/twitter-Buildasaur-green.svg)](http://twitter.com/buildasaur)
[![Twitter Czechboy0](https://img.shields.io/badge/twitter-czechboy0-green.svg)](http://twitter.com/czechboy0)

![](https://raw.githubusercontent.com/czechboy0/Buildasaur/master/Buildasaur/Images.xcassets/AppIcon.appiconset/[email protected])
![](https://raw.githubusercontent.com/buildasaurs/Buildasaur/master/Buildasaur/Images.xcassets/AppIcon.appiconset/[email protected])

> Automatic testing of your Pull Requests on GitHub and BitBucket using Xcode Server. Keep your team productive and safe. Get up and running in minutes.
Expand All @@ -35,11 +33,11 @@ Buildasaur runs as a background Mac app, its configuration window goes away when
------------------
- GitHub
- BitBucket
- (are we missing yours? [Create an Issue](https://github.com/czechboy0/Buildasaur/issues) and I'll see if I can add it)
- (are we missing yours? [Create an Issue](https://github.com/buildasaurs/Buildasaur/issues) and I'll see if I can add it)

:arrow_down: Getting Buildasaur
------------------
- just download the `.app` of the [latest release](https://github.com/czechboy0/Buildasaur/releases/latest), which will offer to automatically update itself as new releases become available
- just download the `.app` of the [latest release](https://github.com/buildasaurs/Buildasaur/releases/latest), which will offer to automatically update itself as new releases become available
- clone this repository, run `fastlane prebuild` and run it in Xcode (more work)

:hammer: Requirements
Expand All @@ -54,13 +52,13 @@ Xcode Server ships in Xcode, so the server API is also dependent on the Xcode yo

| Xcode | last supported |
| :-- | :--: | :--: |
| Xcode 7 | :white_check_mark: [latest](https://github.com/czechboy0/Buildasaur/releases/latest) |
| Xcode 6 | :white_check_mark: [0.2.9](https://github.com/czechboy0/Buildasaur/releases/tag/v0.2.9) |
| Xcode 7 | :white_check_mark: [latest](https://github.com/buildasaurs/Buildasaur/releases/latest) |
| Xcode 6 | :white_check_mark: [0.2.9](https://github.com/buildasaurs/Buildasaur/releases/tag/v0.2.9) |

:white_check_mark: Installation Steps
------------------
1. [Install Xcode Server](http://honzadvorsky.com/articles/2015-08-04-xcs_tutorials_1_getting_started/)
2. [Download](https://github.com/czechboy0/Buildasaur/releases/latest) Buildasaur
2. [Download](https://github.com/buildasaurs/Buildasaur/releases/latest) Buildasaur
3. Setup Buildasaur
- Checkout your project's repository locally over SSH
- Launch Buildasaur
Expand Down Expand Up @@ -92,7 +90,7 @@ The default workflow is as follows:
## :envelope: Posting Status Comments
- Buildasaur by default posts a comment into the PR conversation when an integration finishes

![](https://raw.githubusercontent.com/czechboy0/Buildasaur/master/Meta/comment.png)
![](https://raw.githubusercontent.com/buildasaurs/Buildasaur/master/Meta/comment.png)

- this can be changed in the UI with the toggle named "Post Status Comments"

Expand All @@ -102,17 +100,17 @@ In addition to automatic bot management with syncers, you can create bots from a
## :eyeglasses: Branch Watching
All branches with open Pull Requests are automatically watched and tested. However, what if you wanted to watch a branch which does *not* have a Pull Request associated with it? Like `master`, or a release branch into which you're making final changes and want tested?

Buildasaur supports that. You can select extra watched branches that will automatically be tested and their statuses will be updated on GitHub. You can see the statuses of Buildasaur's branches [here](https://github.com/czechboy0/Buildasaur/branches), for instance.
Buildasaur supports that. You can select extra watched branches that will automatically be tested and their statuses will be updated on GitHub. You can see the statuses of Buildasaur's branches [here](https://github.com/buildasaurs/Buildasaur/branches), for instance.

Enabling watched branches is a prerequisite of getting [build badges](#vertical_traffic_light-build-badges) working with [satellite](https://github.com/czechboy0/satellite).
Enabling watched branches is a prerequisite of getting [build badges](#vertical_traffic_light-build-badges) working with [satellite](https://github.com/buildasaurs/satellite).

*Note that Branch Watching is only supported for GitHub-hosted projects.*

## :vertical_traffic_light: Build Badges
I built a tiny service called [satellite](https://github.com/czechboy0/satellite), which serves down badges based on GitHub status of a branch. And this status is automatically updated by Buildasaur when a build finishes (enable a *watched branch* in Buildasaur for whichever branch you'd like to base your badge on, usually `master`).
I built a tiny service called [satellite](https://github.com/buildasaurs/satellite), which serves down badges based on GitHub status of a branch. And this status is automatically updated by Buildasaur when a build finishes (enable a *watched branch* in Buildasaur for whichever branch you'd like to base your badge on, usually `master`).

TL;DR?
Just add this to your README and replace `USER`, `REPO` and `BRANCH` with your info. And you'll get a build badge like this: ![](https://stlt.herokuapp.com/v1/badge/czechboy0/buildasaur/master)
Just add this to your README and replace `USER`, `REPO` and `BRANCH` with your info. And you'll get a build badge like this: ![](https://stlt.herokuapp.com/v1/badge/buildasaurs/buildasaur/master)

```
[![satellite badge](https://stlt.herokuapp.com/v1/badge/USER/REPO/BRANCH)](https://github.com/USER/REPO/branches)
Expand All @@ -123,7 +121,7 @@ If you don't specify a branch, *master* will be used.
---------------
In order to understand how many Buildasaur instances are actively being used (which helps me to decide how much free time I should dedicate to this project), **one** anonymous heartbeat event is sent from Buildasaur every 24 hours (and one when Buildasaur is launched). There is **absolutely no information** about your projects being synced with Buildasaur (I don't care about that, that's *your* business), the event just sends a randomly generated identifier (to discern between different Buildasaur instances), the uptime of Buildasaur (to potentially detect crashes) and the number and type of running syncers.

I wrote the server storing this data myself - and [it's open source](https://github.com/czechboy0/ekg), so feel free to take a peek yourself at how that's done. And take a look [here](https://github.com/czechboy0/ekgclient/blob/master/ekgclient/Event.swift#L39) to see exactly what data is being sent.
I wrote the server storing this data myself - and [it's open source](https://github.com/buildasaurs/ekg), so feel free to take a peek yourself at how that's done. And take a look [here](https://github.com/buildasaurs/ekgclient/blob/master/ekgclient/Event.swift#L39) to see exactly what data is being sent.

Despite absolutely no identifiable data being sent, if you still aren't comfortable allowing Buildasaur to send its heartbeat, add `"heartbeat_opt_out" = true` to `~/Library/Application Support/Buildasaur/Config.json`. But please keep in mind that if you do that, it will make me think fewer people are in fact using Buildasaur, which might just lead to me spending less time on improving it.

Expand All @@ -135,15 +133,15 @@ Version 0.8.0 adds Crashlytics, so I receive crash reports. If you prefer to opt

:arrow_right_hook: Looking for Xcode Server SDK?
----------------
The code for communication with Xcode Server lives in a project called [XcodeServerSDK](https://github.com/czechboy0/XcodeServerSDK).
The code for communication with Xcode Server lives in a project called [XcodeServerSDK](https://github.com/buildasaurs/XcodeServerSDK).

:blue_heart: Code of Conduct
------------
Please note that this project is released with a [Contributor Code of Conduct](./CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

:gift_heart: Contributing
------------
Please create an issue with a description of your problem or a pull request with a fix. Or, if you just want to help out, take a look at [issues with the label "up-for-grabs"](https://github.com/czechboy0/Buildasaur/labels/up-for-grabs), comment on the issue that you're working on it and let's improve Buildasaur together!
Please create an issue with a description of your problem or a pull request with a fix. Or, if you just want to help out, take a look at [issues with the label "up-for-grabs"](https://github.com/buildasaurs/Buildasaur/labels/up-for-grabs), comment on the issue that you're working on it and let's improve Buildasaur together!

:v: License
-------
Expand All @@ -155,4 +153,4 @@ MIT

:alien: Author
------
Honza Dvorsky - http://honzadvorsky.com, [@czechboy0](http://twitter.com/czechboy0)
Created by Honza Dvorsky - http://honzadvorsky.com, [@czechboy0](http://github.com/czechboy0)
10 changes: 5 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,11 @@ end
private_lane :sparkle do |params|

# Checkout the github-pages branch of buildasaur if we don't already have it
sh "cd .. && git clone https://github.com/czechboy0/Buildasaur.git --branch gh-pages --single-branch gh-pages" unless Dir.exists? "../gh-pages"
sh "cd .. && git clone https://github.com/buildasaurs/Buildasaur.git --branch gh-pages --single-branch gh-pages" unless Dir.exists? "../gh-pages"

# Create release notes file
release_notes_html = render_github_markdown(
context_repository: "czechboy0/Buildasaur",
context_repository: "buildasaurs/Buildasaur",
api_token: ENV["GITHUB_TOKEN"],
markdown_contents: params[:release_description]
)
Expand All @@ -145,8 +145,8 @@ private_lane :sparkle do |params|
sh "git commit -m 'Added the release notes for #{params[:release_version_tag]}.'"
sh "git push"
end
release_notes_html_url = "https://honzadvorsky.com/Buildasaur/Sparkle_Release_Notes/#{params[:release_version_tag]}.html"
app_download_url = "https://github.com/czechboy0/Buildasaur/releases/download/#{params[:release_version_tag]}/Buildasaur.app.zip"
release_notes_html_url = "https://buildasaurs.github.io/Buildasaur/Sparkle_Release_Notes/#{params[:release_version_tag]}.html"
app_download_url = "https://github.com/buildasaurs/Buildasaur/releases/download/#{params[:release_version_tag]}/Buildasaur.app.zip"

UI.message "Successfully created release notes file at path #{release_notes_html_path}"

Expand Down Expand Up @@ -185,7 +185,7 @@ private_lane :github do |params|
release_name = [version_tag, title].join(" - ")

# create a new release on GitHub
repo_url = "czechboy0/Buildasaur"
repo_url = "buildasaur/Buildasaur"
ENV["FL_GITHUB_RELEASE_API_TOKEN"] = ENV["GITHUB_TOKEN"]
release = set_github_release(
repository_name: repo_url,
Expand Down
22 changes: 11 additions & 11 deletions sparkle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,43 @@
<rss version='2.0' xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:sparkle='http://www.andymatuschak.org/xml-namespaces/sparkle'>
<channel>
<title>Buildasaur Changelog</title>
<link>https://raw.githubusercontent.com/czechboy0/Buildasaur/master/sparkle.xml</link>
<link>https://raw.githubusercontent.com/buildasaurs/Buildasaur/master/sparkle.xml</link>
<description>Most recent changes with links to updates.</description>
<language>en</language>
<item>
<title>v1.0.0-b1 - First Beta of Iris</title>
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink> https://honzadvorsky.com/Buildasaur/Sparkle_Release_Notes/v1.0.0-b1.html </sparkle:releaseNotesLink>
<sparkle:releaseNotesLink> https://buildasaurs.github.io/Buildasaur/Sparkle_Release_Notes/v1.0.0-b1.html </sparkle:releaseNotesLink>
<pubDate>Wed, 03 Feb 2016 17:08:34 +0000</pubDate>
<enclosure type='application/octet-stream' sparkle:version='33' sparkle:shortVersionString='1.0.0-b1' length='11755070' url='https://github.com/czechboy0/Buildasaur/releases/download/v1.0.0-b1/Buildasaur.app.zip'/>
<enclosure type='application/octet-stream' sparkle:version='33' sparkle:shortVersionString='1.0.0-b1' length='11755070' url='https://github.com/buildasaurs/Buildasaur/releases/download/v1.0.0-b1/Buildasaur.app.zip'/>
</item>
<item>
<title>v1.0.0-b2 - Second Iris Beta, bugfixes, feature complete</title>
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>https://honzadvorsky.com/Buildasaur/Sparkle_Release_Notes/v1.0.0-b2.html</sparkle:releaseNotesLink>
<sparkle:releaseNotesLink>https://buildasaurs.github.io/Buildasaur/Sparkle_Release_Notes/v1.0.0-b2.html</sparkle:releaseNotesLink>
<pubDate>Thu, 04 Feb 2016 18:21:38 +0000</pubDate>
<enclosure type='application/octet-stream' sparkle:version='34' sparkle:shortVersionString='1.0.0-b2' length='11915142' url='https://github.com/czechboy0/Buildasaur/releases/download/v1.0.0-b2/Buildasaur.app.zip'/>
<enclosure type='application/octet-stream' sparkle:version='34' sparkle:shortVersionString='1.0.0-b2' length='11915142' url='https://github.com/buildasaurs/Buildasaur/releases/download/v1.0.0-b2/Buildasaur.app.zip'/>
</item>
<item>
<title>v1.0.0-b3 - Bugfixes and minor improvements</title>
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>https://honzadvorsky.com/Buildasaur/Sparkle_Release_Notes/v1.0.0-b3.html</sparkle:releaseNotesLink>
<sparkle:releaseNotesLink>https://buildasaurs.github.io/Buildasaur/Sparkle_Release_Notes/v1.0.0-b3.html</sparkle:releaseNotesLink>
<pubDate>Tue, 29 Mar 2016 09:59:43 +0200</pubDate>
<enclosure type='application/octet-stream' sparkle:version='35' sparkle:shortVersionString='1.0.0-b3' length='11867939' url='https://github.com/czechboy0/Buildasaur/releases/download/v1.0.0-b3/Buildasaur.app.zip'/>
<enclosure type='application/octet-stream' sparkle:version='35' sparkle:shortVersionString='1.0.0-b3' length='11867939' url='https://github.com/buildasaurs/Buildasaur/releases/download/v1.0.0-b3/Buildasaur.app.zip'/>
</item>
<item>
<title>v1.0.1 - Bugfixes, improvements</title>
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>https://honzadvorsky.com/Buildasaur/Sparkle_Release_Notes/v1.0.1.html</sparkle:releaseNotesLink>
<sparkle:releaseNotesLink>https://buildasaurs.github.io/Buildasaur/Sparkle_Release_Notes/v1.0.1.html</sparkle:releaseNotesLink>
<pubDate>Fri, 17 Jun 2016 16:39:37 +0200</pubDate>
<enclosure type='application/octet-stream' sparkle:version='36' sparkle:shortVersionString='1.0.1' length='11884914' url='https://github.com/czechboy0/Buildasaur/releases/download/v1.0.1/Buildasaur.app.zip'/>
<enclosure type='application/octet-stream' sparkle:version='36' sparkle:shortVersionString='1.0.1' length='11884914' url='https://github.com/buildasaurs/Buildasaur/releases/download/v1.0.1/Buildasaur.app.zip'/>
</item>
<item>
<title>v1.0.2 - Fixes</title>
<sparkle:minimumSystemVersion>10.11</sparkle:minimumSystemVersion>
<sparkle:releaseNotesLink>https://honzadvorsky.com/Buildasaur/Sparkle_Release_Notes/v1.0.2.html</sparkle:releaseNotesLink>
<sparkle:releaseNotesLink>https://buildasaurs.github.io/Buildasaur/Sparkle_Release_Notes/v1.0.2.html</sparkle:releaseNotesLink>
<pubDate>Fri, 12 Aug 2016 12:08:52 +0200</pubDate>
<enclosure type='application/octet-stream' sparkle:version='37' sparkle:shortVersionString='1.0.2' length='11912110' url='https://github.com/czechboy0/Buildasaur/releases/download/v1.0.2/Buildasaur.app.zip'/>
<enclosure type='application/octet-stream' sparkle:version='37' sparkle:shortVersionString='1.0.2' length='11912110' url='https://github.com/buildasaurs/Buildasaur/releases/download/v1.0.2/Buildasaur.app.zip'/>
</item>
</channel>
</rss>

0 comments on commit 1180f79

Please sign in to comment.