-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
executable file
·335 lines (277 loc) · 17.1 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<!DOCTYPE html>
<head>
<meta charset="utf-8" />
<title>Spaceship</title>
<meta name="description" content="Spaceship is a Ruby library that exposes the Apple Developer Center and App Store Connect API.
It’s super fast, well tested and supports all of the operations you can do via the browser.
Scripting your Developer Center workflow has never been easier!" />
<meta name="author" content="Felix Krause" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="assets/css/main.css?v=5" />
<link rel="icon" stype="image/png" href="assets/img/favicon.ico">
</head>
<body onscroll="didScroll()">
<header class="site-header">
<div class="wrap">
<div class="navigation">
<div class="logo-desktop">
<a href="#"><img src="assets/img/logo-desktop.png" alt=""></a>
</div>
<div class="logo-mobile">
<a href="#"><img src="assets/img/logo-mobile.svg" alt=""></a>
</div>
<div class="nav-links">
<ul>
<li><a target="_blank" href="https://github.com/fastlane/fastlane/tree/master/spaceship">GitHub</a></li>
</ul>
</div>
</div>
</div>
</header>
<div class="layout layout--hero">
<div class="wrap wrap--full">
<div class="layout__content--hero">
<div class="hero__content">
<h1 class="hero__title">Spaceship</h1>
<h2 class="hero__subtitle">Launching fastlane into the next generation</h2>
<a class="btn btn--white" href="https://github.com/fastlane/fastlane/tree/master/spaceship" target="_blank">Open on GitHub</a>
</div>
</div>
</div>
</div>
<div class="layout">
<div class="wrap">
<div class="layout__content--brands">
<img class="fast-lane-logo" src="assets/img/logo-desktop-large.png" alt="">
<h2 class="fastlane-intro">
Spaceship is a Ruby library that exposes the Apple Developer Center and App Store Connect API.
It’s super fast, well tested and supports all of the operations you can do via the browser.
Scripting your Developer Center workflow has never been easier!
</h2>
</div>
</div>
</div>
<div class="layout" >
<div class="wrap">
<div class="layout__content features-padding">
<div class="content content__half">
<div class="feature">
<div class="feature__icon"><img src="assets/img/featureicons/deploy.svg" height="48" width="48" alt=""></div>
<div class="feature__text">Blazing fast communication using only a HTTP client</div>
</div>
<div class="feature">
<div class="feature__icon"><img src="assets/img/featureicons/extend.svg" height="48" width="48" alt=""></div>
<div class="feature__text">Object oriented access to all resources</div>
</div>
<div class="feature">
<div class="feature__icon"><img src="assets/img/featureicons/connect.svg" height="48" width="48" alt=""></div>
<div class="feature__text">Resistant against front-end design changes of the Dev Portal</div>
</div>
</div>
<div class="content content__half ">
<div class="feature">
<div class="feature__icon"><img src="assets/img/featureicons/share.svg" height="48" width="48" alt=""></div>
<div class="feature__text text--oneline">One central tool for the communication</div>
</div>
<div class="feature">
<div class="feature__icon"><img src="assets/img/featureicons/lanes.svg" height="48" width="48" alt=""></div>
<div class="feature__text text--oneline">No more web scraping</div>
</div>
<div class="feature">
<div class="feature__icon"><img src="assets/img/featureicons/jenkins.svg" height="48" width="48" alt=""></div>
<div class="feature__text text--oneline">> 90% test coverage</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="layout">
<div class="wrap">
<div class="layout__content">
<h2>Example spaceship code</h2>
<!-- HTML generated using hilite.me --><div style="background: #f8f8f8; overflow:auto;width:auto;border:solid #ccc;border-width:0 0 0 5px;padding:.5em .6em; margin-top: 30px"><pre style="margin: 0; line-height: 125%">Spaceship.login
<span style="color: #008000"># Create a new app</span>
app = <span style="color: #a31515">Spaceship</span>.app</span>.create!(bundle_id: <span style="color: #a31515">"com.krausefx.app_name"</span>, name: <span style="color: #a31515">"Spaceship App"</span>)
<span style="color: #008000"># Use an existing certificate</span>
cert = <span style="color: #a31515">Spaceship</span>.certificate.production.all.first
<span style="color: #008000"># Create a new provisioning profile</span>
profile = <span style="color: #a31515">Spaceship</span>.provisioning_profile.app_store.create!(bundle_id: app.bundle_id,
certificate: cert)
<span style="color: #008000"># Print the name and download the new profile</span>
puts <span style="color: #a31515">"Created Profile "</span> + profile.name
profile.download
</pre></div>
</div>
</div>
</div>
<div class="layout layout--form">
<div class="wrap" style="margin-bottom: 50px">
<div class="layout__content--form">
<p>Be the first to try new tools, new features and hear about fastlane related announcements.<br> Only relevant information will be sent to you and you can unsubscribe any time.</p>
<form action="https://tinyletter.com/fastlane-tools" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/fastlane-tools', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true">
<label for="tlemail"></label>
<input type="text" placeholder="Email Address" name="email" id="tlemail">
<input type="hidden" value="1" name="embed"><input type="submit" value="Subscribe">
</form>
</div>
</div>
</div>
<div class="layout">
<div class="wrap" style="margin-bottom: 50px">
<div class="layout__content" >
<h2 style="margin-bottom: 20px;">Speed difference in
<a href="https://github.com/KrauseFx/sigh">sigh</a>
</h2>
<div style="width: 100%; text-align: center;">
<img src="assets/img/SpaceshipRecording.gif"
style="display: none;" id="awesomeGif" />
</div>
</div>
<script type="text/javascript">
function didScroll() {
var top = window.pageYOffset || document.documentElement.scrollTop;
if (top > 1100) { // yes
document.getElementById("awesomeGif").style.display = "inline-block"
}
}
</script>
</div>
</div>
<div class="layout">
<div class="wrap" style="margin-bottom: 50px">
<div class="layout__content">
<h2 style="font-size: 150%">Introducing spaceship</h2>
<p style="color: #AAA; margin-bottom: 10px">2015-06-04</p>
<p>Up until now <a href="https://fastlane.tools" target="_blank">fastlane tools</a> made use of front-end web scraping. This means, the tools used a headless web browser to interact with the Apple Developer Portal and App Store Connect. While this is an easy solution to get started, I quickly ran into the limits of web scraping.<br />
More and more issues were caused by this technique: The tools were slow and the users got random timeout errors. When using web scraping, the tools would immediately break after front-end design changes of the websites.</p>
<h2 style="font-size: 120%; margin-top: 15px">Upgrading fastlane</h2>
<p>It was time to implement a better solution: By replacing the headless web browser with a plain HTTP client it was possible to speed up <a href="https://github.com/KrauseFx/sigh" target="_blank">sigh</a> by 90% and make it much more stable at the same time. <br />
This allowed us to stub all HTTP requests to write tests and detect newly introduced errors faster.</p>
<h2 style="font-size: 120%; margin-top: 15px">What is spaceship?</h2>
<p>Instead of implementing the HTTP client right into the individual tools, I decided to separate the communication layer and put it into its own reusable Ruby gem. This allows every developer to make use of it. <br />
<h2 style="font-size: 120%; margin-top: 15px">spaceship is like Core Data for your Dev Center resources</h2>
<p>You don't care about the communication and how it works. You can simply interact with Ruby objects (e.g. <i>App</i>, <i>Certificate</i>, ...) and the changes will automatically be pushed to the Dev Center.
</p>
<h2 style="font-size: 120%; margin-top: 15px">How can I get started?</h2>
<p>There is a pre-release version of <a href="https://github.com/KrauseFx/sigh" target="_blank">sigh</a> available to try, check out the <a href="https://github.com/KrauseFx/sigh/" target="_blank">announcement</a> to upgrade.<br />
If you want to try spaceship directly, check out the <a href="https://github.com/fastlane/fastlane/tree/master/spaceship">spaceship Project page</a> with a very easy to follow documentation on how to use it. You'll have to install spaceship first before you can start <i>irb</i> (Interactive Ruby Shell).</p>
<style type="text/css">
#moreInfo {
margin-top: 15px;
}
#moreInfo > li {
margin-left: 30px;
}
</style>
</div>
</div>
</div>
<div class="layout layout--start">
<div class="wrap ">
<div class="layout__content--start">
<div class="hero__content">
<h2 class="hero__subtitle" style="margin-bottom: -20px">Get started with spaceship today</h2>
<a class="btn btn--white" href="https://github.com/fastlane/fastlane/tree/master/spaceship" target="_blank">Open on GitHub</a>
</div>
</div>
</div>
</div>
<footer>
<div class="layout">
<div class="wrap">
<div class="layout__content">
<div class="content content__half content--padded-double content--no-bottom-padding">
<h2 class=""><a href="https://krausefx.com" target="_blank">Felix Krause</a></h2>
<table border="0" class="noBorderTable">
<tr>
<td style="padding-left: 0px; border-top:none;">
<a href="http://krausefx.com" target="_blank">
<img src="assets/img/KrauseFx.jpg" width="150" />
</a>
</td>
<td style="border-top:none;">
<ul>
<li>
<a href="https://github.com/KrauseFx" target="_blank" style="color: #0084b4">
<span class="icon icon--github" >
<svg viewBox="0 0 16 16" style="width: 18px;">
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
</svg>
</span>
<span class="username">KrauseFx</span>
</a>
</li>
<li>
<a href="https://twitter.com/KrauseFx" target="_blank" style="color: #0084b4">
<span class="icon icon--twitter">
<svg viewBox="0 0 16 16" style="width: 18px">
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
</svg>
</span>
<span class="username">KrauseFx</span>
</a>
</li>
<li>
<a href="http://krausefx.com" target="_blank" style="color: #0084b4">krausefx.com</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="content content__half content--padded-double content--no-bottom-padding">
<h2 class=""><a href="https://github.com/snatchev">Stefan Natchev</a></h2>
<table border="0" class="noBorderTable">
<tr>
<td style="padding-left: 0px; border-top:none;">
<a href="https://github.com/snatchev" target="_blank">
<img src="assets/img/snatchev.jpg" width="150" />
</a>
</td>
<td style="border-top:none;">
<ul>
<li>
<a href="https://github.com/snatchev" target="_blank" style="color: #0084b4">
<span class="icon icon--github" >
<svg viewBox="0 0 16 16" style="width: 18px;">
<path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/>
</svg>
</span>
<span class="username">snatchev</span>
</a>
</li>
<li>
<a href="https://twitter.com/snatchev" target="_blank" style="color: #0084b4">
<span class="icon icon--twitter">
<svg viewBox="0 0 16 16" style="width: 18px">
<path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809
c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/>
</svg>
</span>
<span class="username">snatchev</span>
</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</footer>
</div>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-18658848-10', 'auto');
ga('set', 'anonymizeIp', true);
ga('send', 'pageview');
</script>
</body>
</html>