fastlane-plugin-diawi 1.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -0
- data/lib/fastlane/plugin/diawi/actions/diawi_action.rb +1 -1
- data/lib/fastlane/plugin/diawi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 365be7895b37b23deccac75de7ea3798667a27cb
|
4
|
+
data.tar.gz: b6d5662d85413b352c80ecb2cb29654952e08a78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19426487828b8a01f3f34fe71fe53f9118b6b9b63f86c481b909c68da416af797f2de013c2211e8d2f2fd26703db453093474f4affae22b0bef5b12a5f397f4d
|
7
|
+
data.tar.gz: e6e9a8ce06d487349a98af43becb47c7c1f3a03e6f3954cc0518e97fbe481ff1b9400295e791e71a95a1eb960c564558ad0ded4484afc686d0dec0d5f743489f
|
data/README.md
CHANGED
@@ -28,6 +28,31 @@ Key | Required | Type | Description
|
|
28
28
|
**callback_url** | `false` | `String` | The URL diawi should call with the result
|
29
29
|
**callback_emails** | `false` | `String` | The email addresses diawi will send the result to (up to 5 separated by commas for starter/premium/enterprise accounts, 1 for free accounts). Emails should be a string. Ex: "example@test.com,example1@test.com"
|
30
30
|
**installation_notifications** | `false` | `Boolean` | Receive notifications each time someone installs the app (only starter/premium/enterprise accounts)
|
31
|
+
**last_hope_attempts_count**⁺ | `false` | `Int` | Number of extra attempts to check file status (default: 1, max: 5, not in range (1...5): 1)
|
32
|
+
|
33
|
+
<details><summary>⁺ Explanation</summary><p>
|
34
|
+
|
35
|
+
From [diawi's documentation](https://dashboard.diawi.com/docs/apis/upload):
|
36
|
+
|
37
|
+
> Polling frequence
|
38
|
+
> If possible, prefer using the callbacks than the polling: they will always provide you with the result as soon as it is available.
|
39
|
+
>
|
40
|
+
> Usually, processing of an upload will take a few seconds: so, a base rule would be to poll every 2 seconds for up to 5 times and should match most simple use-cases.
|
41
|
+
>
|
42
|
+
> For larger apps, a longer processing might be needed on our side. A rule of thumb would be to wait up to 1 second for each 10 MB of the app. In other words, up to 10 seconds for a 100 MB app, 50 seconds for a 500 MB app, and so on…
|
43
|
+
>
|
44
|
+
> If the status is still 2001 after that duration, there probably is a problem, let us know.
|
45
|
+
|
46
|
+
Technically your app can be uploaded to diawi, but still processing for a while. In this case `last_hope_attempts_count` can add extra `n` check status requests.
|
47
|
+
|
48
|
+
Example:
|
49
|
+
```ruby
|
50
|
+
last_hope_attempts_count = 3
|
51
|
+
app_size = 23 MB
|
52
|
+
check_attempts = 23 / 10 + last_hope_attempts_count = 5 # total attempts is 5; but it will return at first success response
|
53
|
+
```
|
54
|
+
|
55
|
+
</p></details>
|
31
56
|
|
32
57
|
## Result link
|
33
58
|
|