pilot 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +21 -19
- data/lib/pilot/build_manager.rb +8 -3
- data/lib/pilot/options.rb +10 -1
- data/lib/pilot/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e235ff03354fedd62cd8f07223b8998904a43c8b
|
4
|
+
data.tar.gz: 442cc97a0fddbf26615360f807d2aac72ed2962b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3003cc844a5147395f043e9774c4249303167da029b3000f01076b364af9dfe3ba759baa5e4aaf0718251f47475e2a7314073a151ed6da694c2b89588e0e979
|
7
|
+
data.tar.gz: efc81903543d5752d23194f6dfb82a253a9f3071f92642d6b5cd7f67535691b314badaec052b2f19a7472e19f0640c35ee93406b7112922341e5324b5c9a1785
|
data/README.md
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
<h3 align="center">
|
2
|
-
<a href="https://github.com/
|
2
|
+
<a href="https://github.com/fastlane/fastlane">
|
3
3
|
<img src="assets/fastlane.png" width="150" />
|
4
4
|
<br />
|
5
5
|
fastlane
|
6
6
|
</a>
|
7
7
|
</h3>
|
8
8
|
<p align="center">
|
9
|
-
<a href="https://github.com/
|
10
|
-
<a href="https://github.com/
|
11
|
-
<a href="https://github.com/
|
12
|
-
<a href="https://github.com/
|
13
|
-
<a href="https://github.com/
|
14
|
-
<a href="https://github.com/
|
15
|
-
<a href="https://github.com/
|
16
|
-
<a href="https://github.com/KrauseFx/codes">codes</a> •
|
9
|
+
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
10
|
+
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
11
|
+
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
12
|
+
<a href="https://github.com/fastlane/PEM">PEM</a> •
|
13
|
+
<a href="https://github.com/fastlane/sigh">sigh</a> •
|
14
|
+
<a href="https://github.com/fastlane/produce">produce</a> •
|
15
|
+
<a href="https://github.com/fastlane/cert">cert</a> •
|
17
16
|
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
18
17
|
<b>pilot</b> •
|
19
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
20
|
-
<a href="https://github.com/fastlane/gym">gym</a>
|
19
|
+
<a href="https://github.com/fastlane/gym">gym</a> •
|
20
|
+
<a href="https://github.com/fastlane/scan">scan</a>
|
21
21
|
</p>
|
22
22
|
-------
|
23
23
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
Pilot
|
29
29
|
============
|
30
30
|
[](https://twitter.com/KrauseFx)
|
31
|
-
[](https://github.com/fastlane/pilot/blob/master/LICENSE)
|
32
32
|
[](http://rubygems.org/gems/pilot)
|
33
33
|
|
34
34
|
|
@@ -229,15 +229,17 @@ pilot import -c ~/Desktop/testers.csv
|
|
229
229
|
## [`fastlane`](https://fastlane.tools) Toolchain
|
230
230
|
|
231
231
|
- [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
|
232
|
-
- [`deliver`](https://github.com/
|
233
|
-
- [`snapshot`](https://github.com/
|
234
|
-
- [`frameit`](https://github.com/
|
235
|
-
- [`
|
236
|
-
- [`
|
237
|
-
- [`
|
232
|
+
- [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
|
233
|
+
- [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
|
234
|
+
- [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
|
235
|
+
- [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
236
|
+
- [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
|
237
|
+
- [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
238
|
+
- [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
|
238
239
|
- [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
239
|
-
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
240
|
+
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
240
241
|
- [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
|
242
|
+
- [`scan`](https://github.com/fastlane/scan): The easiest way to run tests of your iOS and Mac app
|
241
243
|
|
242
244
|
##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
|
243
245
|
|
@@ -257,7 +259,7 @@ DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV" pilot ...
|
|
257
259
|
|
258
260
|
## How is my password stored?
|
259
261
|
|
260
|
-
`pilot` uses the [CredentialsManager](https://github.com/fastlane/
|
262
|
+
`pilot` uses the [CredentialsManager](https://github.com/fastlane/credentials_manager) from `fastlane`.
|
261
263
|
|
262
264
|
# Need help?
|
263
265
|
Please submit an issue on GitHub and provide information about your setup
|
data/lib/pilot/build_manager.rb
CHANGED
@@ -64,10 +64,12 @@ module Pilot
|
|
64
64
|
# the upload date of the new buid
|
65
65
|
# we use it to identify the build
|
66
66
|
|
67
|
+
start = Time.now
|
68
|
+
wait_processing_interval = config[:wait_processing_interval].to_i
|
67
69
|
latest_build = nil
|
68
70
|
loop do
|
69
71
|
Helper.log.info "Waiting for iTunes Connect to process the new build"
|
70
|
-
sleep
|
72
|
+
sleep wait_processing_interval
|
71
73
|
builds = app.all_processing_builds
|
72
74
|
break if builds.count == 0
|
73
75
|
latest_build = builds.last # store the latest pre-processing build here
|
@@ -83,11 +85,14 @@ module Pilot
|
|
83
85
|
end
|
84
86
|
|
85
87
|
Helper.log.info "Waiting for iTunes Connect to finish processing the new build (#{full_build.train_version} - #{full_build.build_version})"
|
86
|
-
sleep
|
88
|
+
sleep wait_processing_interval
|
87
89
|
end
|
88
90
|
|
89
91
|
if full_build
|
90
|
-
|
92
|
+
minutes = ((Time.now - start) / 60).round
|
93
|
+
Helper.log.info "Successfully finished processing the build".green
|
94
|
+
Helper.log.info "You can now tweet: "
|
95
|
+
Helper.log.info "iTunes Connect #iosprocessingtime #{minutes} minutes".yellow
|
91
96
|
return full_build
|
92
97
|
else
|
93
98
|
raise "Error: Seems like iTunes Connect didn't properly pre-process the binary".red
|
data/lib/pilot/options.rb
CHANGED
@@ -66,7 +66,16 @@ module Pilot
|
|
66
66
|
env_name: "PILOT_TESTERS_FILE",
|
67
67
|
description: "Path to a CSV file of testers",
|
68
68
|
default_value: "./testers.csv",
|
69
|
-
optional: true)
|
69
|
+
optional: true),
|
70
|
+
FastlaneCore::ConfigItem.new(key: :wait_processing_interval,
|
71
|
+
short_option: "-k",
|
72
|
+
env_name: "PILOT_WAIT_PROCESSING_INTERVAL",
|
73
|
+
description: "Interval in seconds to wait for iTunes Connect processing",
|
74
|
+
default_value: 30,
|
75
|
+
is_string: false,
|
76
|
+
verify_block: proc do |value|
|
77
|
+
raise "Please enter a valid positive number of seconds" unless value.to_i > 0
|
78
|
+
end)
|
70
79
|
|
71
80
|
]
|
72
81
|
end
|
data/lib/pilot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pilot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -36,7 +36,7 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.
|
39
|
+
version: 0.14.0
|
40
40
|
- - "<"
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.0.0
|
@@ -46,7 +46,7 @@ dependencies:
|
|
46
46
|
requirements:
|
47
47
|
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
49
|
+
version: 0.14.0
|
50
50
|
- - "<"
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.0.0
|
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
247
|
version: '0'
|
248
248
|
requirements: []
|
249
249
|
rubyforge_project:
|
250
|
-
rubygems_version: 2.4.
|
250
|
+
rubygems_version: 2.4.0
|
251
251
|
signing_key:
|
252
252
|
specification_version: 4
|
253
253
|
summary: The best way to manage your TestFlight testers and builds from your terminal
|