@twilio/conversations 1.3.0-rc7 → 2.0.0-rc.3

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.
Files changed (282) hide show
  1. package/CHANGELOG.md +201 -0
  2. package/README.md +5 -5
  3. package/dist/browser.js +7866 -0
  4. package/dist/browser.js.map +1 -0
  5. package/dist/docs/assets/css/main.css +2660 -0
  6. package/dist/docs/assets/images/icons.png +0 -0
  7. package/dist/docs/assets/images/icons@2x.png +0 -0
  8. package/dist/docs/assets/images/widgets.png +0 -0
  9. package/dist/docs/assets/images/widgets@2x.png +0 -0
  10. package/dist/docs/assets/js/main.js +248 -0
  11. package/dist/docs/assets/js/search.js +1 -0
  12. package/dist/docs/classes/AggregatedDeliveryReceipt.html +3286 -0
  13. package/dist/docs/classes/Client.html +4181 -0
  14. package/dist/docs/classes/Conversation.html +4397 -0
  15. package/dist/docs/classes/DetailedDeliveryReceipt.html +3265 -0
  16. package/dist/docs/classes/Media.html +3295 -0
  17. package/dist/docs/classes/Message.html +3713 -0
  18. package/dist/docs/classes/MessageBuilder.html +3280 -0
  19. package/dist/docs/classes/Participant.html +3517 -0
  20. package/dist/docs/classes/PushNotification.html +3232 -0
  21. package/dist/docs/classes/RestPaginator.html +3262 -0
  22. package/dist/docs/classes/UnsentMessage.html +3144 -0
  23. package/dist/docs/classes/User.html +3451 -0
  24. package/dist/docs/index.html +3387 -212
  25. package/dist/docs/interfaces/ClientOptions.html +3136 -0
  26. package/dist/docs/interfaces/ConversationState.html +3152 -0
  27. package/dist/docs/interfaces/CreateConversationOptions.html +3168 -0
  28. package/dist/docs/interfaces/LastMessage.html +3152 -0
  29. package/dist/docs/interfaces/Paginator.html +3243 -0
  30. package/dist/docs/interfaces/PushNotificationData.html +3168 -0
  31. package/dist/docs/interfaces/SendEmailOptions.html +3136 -0
  32. package/dist/docs/interfaces/SendMediaOptions.html +3169 -0
  33. package/dist/docs/modules.html +3418 -0
  34. package/dist/lib.d.ts +1944 -0
  35. package/dist/lib.js +7866 -0
  36. package/dist/lib.js.map +1 -0
  37. package/dist/post-install.js +29 -0
  38. package/dist/react-native.js +4031 -0
  39. package/dist/react-native.js.map +1 -0
  40. package/dist/twilio-conversations.js +40905 -0
  41. package/dist/twilio-conversations.min.js +156 -0
  42. package/package.json +59 -48
  43. package/.circleci/config.yml +0 -650
  44. package/.deepsource.toml +0 -6
  45. package/.env.example +0 -13
  46. package/browser/aggregateddeliveryreceipt.js +0 -152
  47. package/browser/client.js +0 -991
  48. package/browser/configuration.js +0 -80
  49. package/browser/conversation.js +0 -1826
  50. package/browser/data/conversations.js +0 -665
  51. package/browser/data/messages.js +0 -522
  52. package/browser/data/participants.js +0 -411
  53. package/browser/data/users.js +0 -281
  54. package/browser/detaileddeliveryreceipt.js +0 -44
  55. package/browser/index.js +0 -4
  56. package/browser/interfaces/limits.js +0 -3
  57. package/browser/interfaces/notificationtypes.js +0 -21
  58. package/browser/interfaces/paginator.js +0 -53
  59. package/browser/interfaces/responsecodes.js +0 -20
  60. package/browser/interfaces/transport.js +0 -3
  61. package/browser/logger.js +0 -141
  62. package/browser/media.js +0 -198
  63. package/browser/message.js +0 -685
  64. package/browser/participant.js +0 -415
  65. package/browser/pushnotification.js +0 -49
  66. package/browser/restpaginator.js +0 -74
  67. package/browser/services/network.js +0 -223
  68. package/browser/services/readhorizon.js +0 -181
  69. package/browser/services/typingindicator.js +0 -142
  70. package/browser/session.js +0 -505
  71. package/browser/sessionerror.js +0 -93
  72. package/browser/sri.json +0 -1
  73. package/browser/synclist.js +0 -90
  74. package/browser/synclistdescriptor.js +0 -29
  75. package/browser/syncpaginator.js +0 -63
  76. package/browser/user.js +0 -431
  77. package/browser/util/deferred.js +0 -56
  78. package/browser/util/index.js +0 -108
  79. package/dist/@twilio/conversations.js +0 -35565
  80. package/dist/@twilio/conversations.min.js +0 -204
  81. package/dist/docs/AggregatedDeliveryReceipt.html +0 -948
  82. package/dist/docs/Client.html +0 -5075
  83. package/dist/docs/Conversation.html +0 -6018
  84. package/dist/docs/DetailedDeliveryReceipt.html +0 -641
  85. package/dist/docs/Media.html +0 -694
  86. package/dist/docs/Message.html +0 -1934
  87. package/dist/docs/Paginator.html +0 -605
  88. package/dist/docs/Participant.html +0 -1510
  89. package/dist/docs/PushNotification.html +0 -836
  90. package/dist/docs/SessionError.html +0 -379
  91. package/dist/docs/User.html +0 -1315
  92. package/dist/docs/classes.list.html +0 -4431
  93. package/dist/docs/fonts/glyphicons-halflings-regular.eot +0 -0
  94. package/dist/docs/fonts/glyphicons-halflings-regular.svg +0 -288
  95. package/dist/docs/fonts/glyphicons-halflings-regular.ttf +0 -0
  96. package/dist/docs/fonts/glyphicons-halflings-regular.woff +0 -0
  97. package/dist/docs/fonts/glyphicons-halflings-regular.woff2 +0 -0
  98. package/dist/docs/img/glyphicons-halflings-white.png +0 -0
  99. package/dist/docs/img/glyphicons-halflings.png +0 -0
  100. package/dist/docs/quicksearch.html +0 -31
  101. package/dist/docs/scripts/docstrap.lib.js +0 -11
  102. package/dist/docs/scripts/fulltext-search-ui.js +0 -89
  103. package/dist/docs/scripts/fulltext-search.js +0 -36
  104. package/dist/docs/scripts/lunr.min.js +0 -6
  105. package/dist/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
  106. package/dist/docs/scripts/prettify/jquery.min.js +0 -6
  107. package/dist/docs/scripts/prettify/lang-css.js +0 -21
  108. package/dist/docs/scripts/prettify/prettify.js +0 -496
  109. package/dist/docs/scripts/sunlight.js +0 -1157
  110. package/dist/docs/scripts/toc.js +0 -203
  111. package/dist/docs/styles/darkstrap.css +0 -960
  112. package/dist/docs/styles/prettify-tomorrow.css +0 -132
  113. package/dist/docs/styles/site.cerulean.css +0 -7008
  114. package/dist/docs/styles/site.cosmo.css +0 -7061
  115. package/dist/docs/styles/site.cyborg.css +0 -7048
  116. package/dist/docs/styles/site.darkly.css +0 -7171
  117. package/dist/docs/styles/site.darkstrap.css +0 -5638
  118. package/dist/docs/styles/site.dibs-bootstrap.css +0 -5899
  119. package/dist/docs/styles/site.flatly.css +0 -7147
  120. package/dist/docs/styles/site.journal.css +0 -6973
  121. package/dist/docs/styles/site.lumen.css +0 -7298
  122. package/dist/docs/styles/site.paper.css +0 -7623
  123. package/dist/docs/styles/site.readable.css +0 -6997
  124. package/dist/docs/styles/site.sandstone.css +0 -7035
  125. package/dist/docs/styles/site.simplex.css +0 -7023
  126. package/dist/docs/styles/site.slate.css +0 -7343
  127. package/dist/docs/styles/site.spacelab.css +0 -7055
  128. package/dist/docs/styles/site.superhero.css +0 -7131
  129. package/dist/docs/styles/site.united.css +0 -6895
  130. package/dist/docs/styles/site.yeti.css +0 -7195
  131. package/dist/docs/styles/sunlight.dark.css +0 -345
  132. package/dist/docs/styles/sunlight.default.css +0 -344
  133. package/dist/sri.json +0 -1
  134. package/lib/aggregateddeliveryreceipt.d.ts +0 -98
  135. package/lib/aggregateddeliveryreceipt.js +0 -112
  136. package/lib/client.d.ts +0 -317
  137. package/lib/client.js +0 -633
  138. package/lib/configuration.d.ts +0 -21
  139. package/lib/configuration.js +0 -41
  140. package/lib/conversation.d.ts +0 -460
  141. package/lib/conversation.js +0 -940
  142. package/lib/data/conversations.d.ts +0 -57
  143. package/lib/data/conversations.js +0 -318
  144. package/lib/data/messages.d.ts +0 -75
  145. package/lib/data/messages.js +0 -208
  146. package/lib/data/participants.d.ts +0 -94
  147. package/lib/data/participants.js +0 -204
  148. package/lib/data/users.d.ts +0 -42
  149. package/lib/data/users.js +0 -113
  150. package/lib/detaileddeliveryreceipt.d.ts +0 -45
  151. package/lib/detaileddeliveryreceipt.js +0 -34
  152. package/lib/index.d.ts +0 -1
  153. package/lib/index.js +0 -3
  154. package/lib/interfaces/limits.d.ts +0 -8
  155. package/lib/interfaces/limits.js +0 -2
  156. package/lib/interfaces/notificationtypes.d.ts +0 -8
  157. package/lib/interfaces/notificationtypes.js +0 -11
  158. package/lib/interfaces/paginator.d.ts +0 -52
  159. package/lib/interfaces/paginator.js +0 -28
  160. package/lib/interfaces/responsecodes.d.ts +0 -8
  161. package/lib/interfaces/responsecodes.js +0 -10
  162. package/lib/interfaces/transport.d.ts +0 -13
  163. package/lib/interfaces/transport.js +0 -2
  164. package/lib/logger.d.ts +0 -18
  165. package/lib/logger.js +0 -35
  166. package/lib/media.d.ts +0 -52
  167. package/lib/media.js +0 -69
  168. package/lib/message.d.ts +0 -136
  169. package/lib/message.js +0 -305
  170. package/lib/participant.d.ts +0 -142
  171. package/lib/participant.js +0 -219
  172. package/lib/pushnotification.d.ts +0 -48
  173. package/lib/pushnotification.js +0 -39
  174. package/lib/restpaginator.d.ts +0 -19
  175. package/lib/restpaginator.js +0 -36
  176. package/lib/services/network.d.ts +0 -22
  177. package/lib/services/network.js +0 -87
  178. package/lib/services/readhorizon.d.ts +0 -28
  179. package/lib/services/readhorizon.js +0 -112
  180. package/lib/services/typingindicator.d.ts +0 -50
  181. package/lib/services/typingindicator.js +0 -102
  182. package/lib/session.d.ts +0 -63
  183. package/lib/session.js +0 -213
  184. package/lib/sessionerror.d.ts +0 -12
  185. package/lib/sessionerror.js +0 -24
  186. package/lib/sri.json +0 -1
  187. package/lib/synclist.d.ts +0 -24
  188. package/lib/synclist.js +0 -28
  189. package/lib/synclistdescriptor.d.ts +0 -27
  190. package/lib/synclistdescriptor.js +0 -19
  191. package/lib/syncpaginator.d.ts +0 -22
  192. package/lib/syncpaginator.js +0 -37
  193. package/lib/user.d.ts +0 -98
  194. package/lib/user.js +0 -219
  195. package/lib/util/deferred.d.ts +0 -12
  196. package/lib/util/deferred.js +0 -22
  197. package/lib/util/index.d.ts +0 -28
  198. package/lib/util/index.js +0 -82
  199. package/tools/rtd-sdk-cdn-pin/.gitrepo +0 -12
  200. package/tools/rtd-sdk-cdn-pin/README.md +0 -54
  201. package/tools/rtd-sdk-cdn-pin/bintray-settings.xml.template +0 -16
  202. package/tools/rtd-sdk-cdn-pin/cdn-common/cdn-prepare.sh +0 -67
  203. package/tools/rtd-sdk-cdn-pin/cdn-pin-latest.sh +0 -19
  204. package/tools/rtd-sdk-cdn-pin/cdn-pin.sh +0 -19
  205. package/tools/rtd-sdk-cdn-pin/cdn-upload.sh +0 -13
  206. package/tools/rtd-sdk-cdn-pin/fetch/common/fetch-bintray-android.sh +0 -34
  207. package/tools/rtd-sdk-cdn-pin/fetch/common/fetch-npm.sh +0 -18
  208. package/tools/rtd-sdk-cdn-pin/fetch/twilio-chat-android.sh +0 -5
  209. package/tools/rtd-sdk-cdn-pin/fetch/twilio-chat-js.sh +0 -5
  210. package/tools/rtd-sdk-cdn-pin/fetch/twilio-conversations-android.sh +0 -6
  211. package/tools/rtd-sdk-cdn-pin/fetch/twilio-conversations-js.sh +0 -5
  212. package/tools/rtd-sdk-cdn-pin/fetch/twilio-sync-android.sh +0 -5
  213. package/tools/rtd-sdk-cdn-pin/fetch/twilio-sync-js.sh +0 -5
  214. package/tools/rtd-sdk-cdn-pin/fetch-artifact.sh +0 -26
  215. package/tools/sdk-release-tool/.gitrepo +0 -12
  216. package/tools/sdk-release-tool/Makefile +0 -49
  217. package/tools/sdk-release-tool/README.md +0 -275
  218. package/tools/sdk-release-tool/delete +0 -3
  219. package/tools/sdk-release-tool/download +0 -3
  220. package/tools/sdk-release-tool/get-cors +0 -3
  221. package/tools/sdk-release-tool/list +0 -3
  222. package/tools/sdk-release-tool/pin +0 -3
  223. package/tools/sdk-release-tool/pin-latest +0 -3
  224. package/tools/sdk-release-tool/requirements.txt +0 -4
  225. package/tools/sdk-release-tool/sdk-release-tool +0 -3
  226. package/tools/sdk-release-tool/sdk_release_tools/__init__.py +0 -0
  227. package/tools/sdk-release-tool/sdk_release_tools/__main__.py +0 -110
  228. package/tools/sdk-release-tool/sdk_release_tools/aws.py +0 -70
  229. package/tools/sdk-release-tool/sdk_release_tools/cli.py +0 -181
  230. package/tools/sdk-release-tool/sdk_release_tools/log.py +0 -24
  231. package/tools/sdk-release-tool/sdk_release_tools/ops.py +0 -295
  232. package/tools/sdk-release-tool/sdk_release_tools/rpm.py +0 -28
  233. package/tools/sdk-release-tool/sdk_release_tools/util.py +0 -186
  234. package/tools/sdk-release-tool/sdk_release_tools/versions.py +0 -362
  235. package/tools/sdk-release-tool/signal-sdk-js.json +0 -28
  236. package/tools/sdk-release-tool/tests/test_versions.py +0 -94
  237. package/tools/sdk-release-tool/twilio-accessmanager-android.json +0 -19
  238. package/tools/sdk-release-tool/twilio-accessmanager-ios.json +0 -26
  239. package/tools/sdk-release-tool/twilio-auth-ios.json +0 -29
  240. package/tools/sdk-release-tool/twilio-authenticator-ios.json +0 -29
  241. package/tools/sdk-release-tool/twilio-chat-android-2.json +0 -19
  242. package/tools/sdk-release-tool/twilio-chat-android.json +0 -22
  243. package/tools/sdk-release-tool/twilio-chat-ios.json +0 -26
  244. package/tools/sdk-release-tool/twilio-chat-js.json +0 -27
  245. package/tools/sdk-release-tool/twilio-client-android-aar.json +0 -22
  246. package/tools/sdk-release-tool/twilio-client-android.json +0 -22
  247. package/tools/sdk-release-tool/twilio-client-ios.json +0 -20
  248. package/tools/sdk-release-tool/twilio-client-js.json +0 -17
  249. package/tools/sdk-release-tool/twilio-client-sounds-js.json +0 -14
  250. package/tools/sdk-release-tool/twilio-common-android-maven.json +0 -16
  251. package/tools/sdk-release-tool/twilio-common-android.json +0 -22
  252. package/tools/sdk-release-tool/twilio-common-ios-rtc.json +0 -25
  253. package/tools/sdk-release-tool/twilio-common-ios.json +0 -25
  254. package/tools/sdk-release-tool/twilio-common-js.json +0 -19
  255. package/tools/sdk-release-tool/twilio-conversations-android.json +0 -22
  256. package/tools/sdk-release-tool/twilio-conversations-ios.json +0 -26
  257. package/tools/sdk-release-tool/twilio-conversations-js.json +0 -27
  258. package/tools/sdk-release-tool/twilio-flex-js.json +0 -20
  259. package/tools/sdk-release-tool/twilio-flex-webchat-js.json +0 -16
  260. package/tools/sdk-release-tool/twilio-frame-chat-android.json +0 -22
  261. package/tools/sdk-release-tool/twilio-frame-chat-ios.json +0 -23
  262. package/tools/sdk-release-tool/twilio-frame-chat-js.json +0 -23
  263. package/tools/sdk-release-tool/twilio-ip-messaging-android-maven.json +0 -16
  264. package/tools/sdk-release-tool/twilio-ip-messaging-android.json +0 -22
  265. package/tools/sdk-release-tool/twilio-ip-messaging-ios.json +0 -25
  266. package/tools/sdk-release-tool/twilio-ip-messaging-js.json +0 -21
  267. package/tools/sdk-release-tool/twilio-sync-android.json +0 -22
  268. package/tools/sdk-release-tool/twilio-sync-ios.json +0 -26
  269. package/tools/sdk-release-tool/twilio-sync-js.json +0 -39
  270. package/tools/sdk-release-tool/twilio-taskrouter-js.json +0 -17
  271. package/tools/sdk-release-tool/twilio-video-android.json +0 -22
  272. package/tools/sdk-release-tool/twilio-video-cpp-linux-cross-rootfs.json +0 -13
  273. package/tools/sdk-release-tool/twilio-video-cpp.json +0 -33
  274. package/tools/sdk-release-tool/twilio-video-ios.json +0 -25
  275. package/tools/sdk-release-tool/twilio-video-js.json +0 -19
  276. package/tools/sdk-release-tool/twilio-video-jsdocs.json +0 -14
  277. package/tools/sdk-release-tool/twilio-voice-android.json +0 -22
  278. package/tools/sdk-release-tool/twilio-voice-ios.json +0 -29
  279. package/tools/sdk-release-tool/unpin +0 -3
  280. package/tools/sdk-release-tool/unpin-latest +0 -3
  281. package/tools/sdk-release-tool/upload +0 -3
  282. package/twilio-chat.js.iml +0 -9
@@ -1,67 +0,0 @@
1
- #!/bin/bash
2
-
3
- if [[ -z "${DRY_RUN}" ]] ; then
4
- echo "DRY_RUN not set, falling back to default 'true'"
5
- DRY_RUN=true
6
- fi
7
-
8
- if [[ -z "${FORCE_OVERWRITE}" ]] ; then
9
- echo "FORCE_OVERWRITE not set, falling back to default 'false'"
10
- FORCE_OVERWRITE=false
11
- fi
12
-
13
- if [ "${CDN_PINNING}" = true ] ; then
14
- if [[ ( -z "${SDK_NAME}" ) || ( -z "${RELEASE_VERSION}" ) || ( -z "${DRY_RUN}" ) || ( -z "${PIN_RELEASE}" ) || ( -z "${PIN_LATEST}" ) || ( -z "${DEPLOY_REALM}" ) || ( -z "${SDK_RELEASE_TOOL_HOME}" )]]; then
15
- echo "Environment variables SDK_NAME, RELEASE_VERSION, DRY_RUN, PIN_RELEASE, PIN_LATEST, DEPLOY_REALM, SDK_RELEASE_TOOL_HOME should be provided" >&2 # write error message to stderr
16
- exit 1
17
- fi
18
- fi
19
-
20
- if [ "${CDN_UPLOADING}" = true ] ; then
21
- if [[ ( -z "${SDK_NAME}" ) || ( -z "${RELEASE_VERSION}" ) || ( -z "${DRY_RUN}" ) || ( -z "${DEPLOY_REALM}" ) || ( -z "${SDK_RELEASE_TOOL_HOME}" )]]; then
22
- echo "Environment variables SDK_NAME, RELEASE_VERSION, DRY_RUN, DEPLOY_REALM, SDK_RELEASE_TOOL_HOME should be provided" >&2 # write error message to stderr
23
- exit 1
24
- fi
25
- fi
26
-
27
- if [[ ! "${RELEASE_VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$ ]]; then
28
- echo "Release version ${RELEASE_VERSION} is not release or release candidate" >&2 # write error message to stderr
29
- exit 1
30
- fi
31
-
32
- if [ "${CDN_UPLOADING}" = true ] ; then
33
- ARTIFACTS_DIR=${WORKING_DIR}/artifacts/${SDK_NAME}/${RELEASE_VERSION}
34
- if [ ! -d "${ARTIFACTS_DIR}" ]; then
35
- echo "Directory ${ARTIFACTS_DIR} does not exist, seems like artifact is not fetched" >&2 # write error message to stderr
36
- exit 1
37
- fi
38
- fi
39
-
40
- if [ ! -d "${SDK_RELEASE_TOOL_HOME}" ]; then
41
- echo "Directory ${SDK_RELEASE_TOOL_HOME} does not exist, seems like no SDK release tool is installed" >&2 # write error message to stderr
42
- exit 1
43
- fi
44
-
45
- SDK_RELEASE_TOOL_OPTIONS="--${DEPLOY_REALM} ${SDK_NAME} ${RELEASE_VERSION}"
46
- if [ "${DRY_RUN}" = true ] ; then
47
- echo "Found DRY_RUN set to TRUE"
48
- SDK_RELEASE_TOOL_OPTIONS="--dry-run ${SDK_RELEASE_TOOL_OPTIONS}"
49
- elif [ "${DRY_RUN}" = false ] ; then
50
- echo "Found DRY_RUN set to FALSE"
51
- else
52
- echo "DRY_RUN is not 'true' or 'false'. Exiting" >&2 # write error message to stderr
53
- exit 1
54
- fi
55
-
56
- if [ "${FORCE_OVERWRITE}" = true ] ; then
57
- echo "Found FORCE_OVERWRITE set to TRUE"
58
- SDK_RELEASE_TOOL_OPTIONS="--force ${SDK_RELEASE_TOOL_OPTIONS}"
59
- elif [ "${FORCE_OVERWRITE}" = false ] ; then
60
- echo "Found FORCE_OVERWRITE set to FALSE"
61
- else
62
- echo "FORCE_OVERWRITE is not 'true' or 'false'. Exiting" >&2 # write error message to stderr
63
- exit 1
64
- fi
65
-
66
-
67
- cd "$SDK_RELEASE_TOOL_HOME"
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- cd `dirname $0`
4
- WORKING_DIR=`pwd`
5
-
6
- CDN_PINNING=true
7
- CDN_UPLOADING=false
8
-
9
- source cdn-common/cdn-prepare.sh
10
-
11
- if [ "${PIN_LATEST}" = true ] ; then
12
- echo "==== Pinning ${SDK_NAME} release with version ${RELEASE_VERSION} to LATEST on ${DEPLOY_REALM} CDN ===="
13
- ./sdk-release-tool pin-latest ${SDK_RELEASE_TOOL_OPTIONS} || exit 2
14
- elif [ "${PIN_LATEST}" = false ] ; then
15
- echo "==== Skip pinning to LATEST ===="
16
- else
17
- echo "PIN_LATEST is not 'true' or 'false'. Exiting" >&2 # write error message to stderr
18
- exit 1
19
- fi
@@ -1,19 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- cd `dirname $0`
4
- WORKING_DIR=`pwd`
5
-
6
- CDN_PINNING=true
7
- CDN_UPLOADING=false
8
-
9
- source cdn-common/cdn-prepare.sh
10
-
11
- if [ "${PIN_RELEASE}" = true ] ; then
12
- echo "==== Pinning ${SDK_NAME} release with version ${RELEASE_VERSION} to MAJOR.MINOR on ${DEPLOY_REALM} CDN ===="
13
- ./sdk-release-tool pin ${SDK_RELEASE_TOOL_OPTIONS} || exit 1
14
- elif [ "${PIN_RELEASE}" = false ] ; then
15
- echo "==== Skip pinning release ===="
16
- else
17
- echo "PIN_RELEASE is not 'true' or 'false'. Exiting" >&2 # write error message to stderr
18
- exit 1
19
- fi
@@ -1,13 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- cd `dirname $0`
4
-
5
- WORKING_DIR=`pwd`
6
-
7
- CDN_PINNING=false
8
- CDN_UPLOADING=true
9
-
10
- source cdn-common/cdn-prepare.sh
11
-
12
- echo "==== Uploading $SDK_NAME with version $RELEASE_VERSION to ${DEPLOY_REALM} CDN ===="
13
- ./sdk-release-tool upload ${SDK_RELEASE_TOOL_OPTIONS} "$ARTIFACTS_DIR" || exit 1
@@ -1,34 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Usage: fetchFromBintray <cdn-name> <artifacts-dir> <bintrayArtifactId> <release-version> <docs-type>
4
- function fetchFromBintray() {
5
- local RESULT_ARTIFACTS_DIR=$1
6
- local BINTRAY_ARTIFACT_ID=$2
7
- local BINTRAY_RELEASE_VERSION=$3
8
- local DOCS_TYPE=$4
9
-
10
- if [[ "${BINTRAY_RELEASE_VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
11
- REMOTE_REPOSITORY="bintray-twilio-releases::::https://twilio.bintray.com/releases"
12
- elif [[ "${BINTRAY_RELEASE_VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+$ ]]; then
13
- REMOTE_REPOSITORY="bintray-twilio-internal-releases::::https://twilio.bintray.com/internal-releases"
14
- else
15
- echo "Version ${BINTRAY_RELEASE_VERSION} is not Release or Release Candidate" >&2 # write error message to stderr
16
- exit 1
17
- fi
18
- echo "==== Fetching package $BINTRAY_ARTIFACT_ID version $BINTRAY_RELEASE_VERSION from Bintray $REMOTE_REPOSITORY to $RESULT_ARTIFACTS_DIR ===="
19
-
20
- mvn dependency:get -settings bintray-settings.xml -DremoteRepositories=$REMOTE_REPOSITORY -Dartifact=com.twilio:${BINTRAY_ARTIFACT_ID}:${BINTRAY_RELEASE_VERSION}:aar -Dtransitive=false -Ddest="$RESULT_ARTIFACTS_DIR/sdk/build/outputs/aar/sdk-release.aar" || exit 1
21
- mvn dependency:get -settings bintray-settings.xml -DremoteRepositories=$REMOTE_REPOSITORY -Dartifact=com.twilio:${BINTRAY_ARTIFACT_ID}:${BINTRAY_RELEASE_VERSION}:jar:javadoc -Dtransitive=false -Ddest="$RESULT_ARTIFACTS_DIR/sdk/build/outputs/lib/sdk-javadoc.jar" || exit 1
22
-
23
- if [[ !(-z "${DOCS_TYPE}") && ("${DOCS_TYPE}" == "doxygen") ]] ; then
24
- mvn dependency:get -settings bintray-settings.xml -DremoteRepositories=$REMOTE_REPOSITORY -Dartifact=com.twilio:${BINTRAY_ARTIFACT_ID}:${BINTRAY_RELEASE_VERSION}:jar:doxygen -Dtransitive=false -Ddest="$RESULT_ARTIFACTS_DIR/sdk/build/outputs/lib/sdk-doxygen.jar" || exit 1
25
- fi
26
-
27
- mkdir -p "${RESULT_ARTIFACTS_DIR}/sdk/build/docs/javadoc"
28
- unzip "$RESULT_ARTIFACTS_DIR/sdk/build/outputs/lib/sdk-javadoc.jar" -d "$RESULT_ARTIFACTS_DIR/sdk/build/docs/javadoc"
29
-
30
- if [[ !(-z "${DOCS_TYPE}") && ("${DOCS_TYPE}" == "doxygen") ]] ; then
31
- mkdir -p "$RESULT_ARTIFACTS_DIR/sdk/build/docs/doxygen"
32
- unzip "$RESULT_ARTIFACTS_DIR/sdk/build/outputs/lib/sdk-doxygen.jar" -d "$RESULT_ARTIFACTS_DIR/sdk/build/docs/doxygen"
33
- fi
34
- }
@@ -1,18 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Usage: fetchFromNpm <artifacts-dir> <package-name> <release-version>
4
- function fetchFromNpm() {
5
- local RESULT_ARTIFACTS_DIR=$1
6
- local NPM_PACKAGE_NAME=$2
7
- local NPM_RELEASE_VERSION=$3
8
- local TMP_DIR="$RESULT_ARTIFACTS_DIR/fetch-$NPM_RELEASE_VERSION"
9
-
10
- echo "==== Fetching package $NPM_PACKAGE_NAME@$NPM_RELEASE_VERSION from npmjs.com to $RESULT_ARTIFACTS_DIR ===="
11
- rm -rf "$TMP_DIR"
12
- mkdir -p "$TMP_DIR"
13
- cd "$TMP_DIR"
14
- echo "{}" > package.json
15
- npm install $NPM_PACKAGE_NAME@${NPM_RELEASE_VERSION} || exit 1
16
- mv node_modules/$NPM_PACKAGE_NAME/* "$RESULT_ARTIFACTS_DIR"
17
- rm -rf "$TMP_DIR"
18
- }
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- source `dirname $0`/common/fetch-bintray-android.sh
4
-
5
- fetchFromBintray "$ARTIFACTS_DIR" chat-android $RELEASE_VERSION doxygen
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- source `dirname $0`/common/fetch-npm.sh
4
-
5
- fetchFromNpm "$ARTIFACTS_DIR" twilio-chat $RELEASE_VERSION
@@ -1,6 +0,0 @@
1
- #!/bin/bash
2
-
3
- source `dirname $0`/common/fetch-bintray-android.sh
4
-
5
- fetchFromBintray "$ARTIFACTS_DIR" conversations-android $RELEASE_VERSION doxygen
6
- cp "${ARTIFACTS_DIR}/conversations-android.aar" "${ARTIFACTS_DIR}/twilio-conversations-android.aar"
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- source `dirname $0`/common/fetch-npm.sh
4
-
5
- fetchFromNpm "$ARTIFACTS_DIR" @twilio/conversations $RELEASE_VERSION
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- source `dirname $0`/common/fetch-bintray-android.sh
4
-
5
- fetchFromBintray "$ARTIFACTS_DIR" sync-android $RELEASE_VERSION doxygen
@@ -1,5 +0,0 @@
1
- #!/bin/bash
2
-
3
- source `dirname $0`/common/fetch-npm.sh
4
-
5
- fetchFromNpm "$ARTIFACTS_DIR" twilio-sync $RELEASE_VERSION
@@ -1,26 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- cd `dirname $0`
4
-
5
- WORKING_DIR=`pwd`
6
-
7
- if [[ ( -z "${SDK_NAME}" ) || ( -z "${RELEASE_VERSION}" ) ]]; then
8
- echo "Environment variables SDK_NAME and RELEASE_VERSION should be provided" >&2 # write error message to stderr
9
- exit 1
10
- fi
11
-
12
- if [[ ! "${RELEASE_VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-rc[0-9]+)?$ ]]; then
13
- echo "Release version ${RELEASE_VERSION} is not release or release candidate" >&2 # write error message to stderr
14
- exit 2
15
- fi
16
-
17
-
18
- ARTIFACTS_DIR="$WORKING_DIR/artifacts/$SDK_NAME/$RELEASE_VERSION"
19
-
20
- echo "==== Cleaning ${ARTIFACTS_DIR} ===="
21
- rm -rf "$ARTIFACTS_DIR"
22
-
23
- echo "==== Fetching SDK $SDK_NAME with version $RELEASE_VERSION to ${ARTIFACTS_DIR} ===="
24
- ARTIFACTS_DIR="$ARTIFACTS_DIR" RELEASE_VERSION=$RELEASE_VERSION ./fetch/$SDK_NAME.sh || exit 3
25
- echo "==== Resulting files ===="
26
- find "$ARTIFACTS_DIR"
@@ -1,12 +0,0 @@
1
- ; DO NOT EDIT (unless you know what you are doing)
2
- ;
3
- ; This subdirectory is a git "subrepo", and this file is maintained by the
4
- ; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme
5
- ;
6
- [subrepo]
7
- remote = git@github.com:twilio/sdk-release-tool.git
8
- branch = master
9
- commit = 368f48c3908b6e14953bed71583d23d4b6f9aeb7
10
- parent = e765bf90f0267fe90b3d39466d286c53b616ba06
11
- method = merge
12
- cmdver = 0.4.0
@@ -1,49 +0,0 @@
1
- PYTHON_BIN ?= python
2
-
3
- REALMS=dev stage prod
4
- CREDENTIALS=$(REALMS:%=cdn-sdki.%.json)
5
-
6
- ifeq ($(shell uname -s),Linux)
7
- # On linux, you can't easily install the gnomekeyring python
8
- # module into a venv, so use the system-supplied one.
9
- VENV_OPTS := '--system-site-packages'
10
- endif
11
-
12
- # Do not prompt if user wants to use environment variables instead of json files
13
- ifeq ($(origin SKIP_CREDENTIALS), undefined)
14
- install: venv $(CREDENTIALS)
15
- else
16
- install: venv
17
- endif
18
-
19
- clean:
20
- rm -rf venv
21
-
22
- cdn-sdki.%.json:
23
- @echo; \
24
- export REALM=$$(echo $@ | cut -d . -f 2); \
25
- echo "Please provide the AWS access key for cdn-sdki in ($${REALM})."; \
26
- echo; \
27
- /bin/echo -n 'AWS_ACCESS_KEY_ID: '; \
28
- read AWS_ACCESS_KEY_ID; \
29
- /bin/echo -n 'AWS_SECRET_ACESS_KEY: '; \
30
- read AWS_SECRET_ACCESS_KEY; \
31
- echo '{' >$@; \
32
- echo ' "UserName": "cdn-sdki",' >>$@; \
33
- echo " \"AccessKeyId\": \"$${AWS_ACCESS_KEY_ID}\"," >>$@; \
34
- echo " \"SecretAccessKey\": \"$${AWS_SECRET_ACCESS_KEY}\"" >>$@; \
35
- echo '}' >>$@; \
36
- echo; \
37
- echo 'The access key has been saved to $@.'; \
38
- echo
39
-
40
- test: venv
41
- ./venv/bin/nosetests tests
42
-
43
- venv: requirements.txt
44
- $(PYTHON_BIN) -m pip install virtualenv==16.7.9 --user
45
- $(PYTHON_BIN) -m virtualenv venv
46
- ./venv/bin/pip install -r requirements.txt --cache-dir /tmp/pipcache
47
- touch venv
48
-
49
- .PHONY: clean install test
@@ -1,275 +0,0 @@
1
- sdk-release-tool
2
- ================
3
-
4
- sdk-release-tool allows you to list, upload, and update new Twilio SDK
5
- releases to [media.twiliocdn.com](//media.twiliocdn.com). These releases are
6
- stored in S3 and fronted by CloudFlare. Refer to the [2.0 SDK URLs]
7
- (//wiki.hq.twilio.com/display/SDK/2.0+SDK+URLs) for more information.
8
-
9
- - [Installation](#installation)
10
- - [Credentials](#credentials)
11
- - [Schemas](#schemas)
12
- - [Version Numbers](#version-numbers)
13
- - [Do not use latest/ URLs with JavaScript SDKs](#do-not-use-latest-urls-with-javascript-sdks)
14
- - [Usage](#usage)
15
- - [list](#list)
16
- - [upload](#upload)
17
- - [pin](#pin)
18
- - [pin-latest](#pin-latest)
19
- - [delete](#delete)
20
- - [download](#download)
21
- - [unpin](#unpin)
22
- - [unpin-latest](#unpin-latest)
23
-
24
- Installation
25
- ------------
26
-
27
- Install sdk-release-tool by running
28
-
29
- ```
30
- $ make
31
- ```
32
-
33
- sdk-release-tool will check for files cdn-sdki.prod.json, cdn-sdki.stage.json,
34
- and cdn-sdki.dev.json in the sdk-release-tool directory. If any of these are
35
- not found, sdk-release-tool will prompt you to provide them:
36
-
37
- ```
38
- $ make
39
-
40
- Please provide the AWS access key for cdn-sdki in (prod).
41
-
42
- AWS_ACCESS_KEY_ID: █
43
- ```
44
-
45
- If you would rather use credentials set in environment variables and would like to skip the prompt. Install with the following flag.
46
-
47
- ```
48
- $ make SKIP_CREDENTIALS=1 install
49
- ```
50
-
51
- If you would like to use environment variables as credentials then set the following accordingly
52
-
53
- ```
54
- AWS_DEV_ACCESS_KEY_ID
55
- AWS_DEV_SECRET_ACCESS_KEY
56
- AWS_STAGE_ACCESS_KEY_ID
57
- AWS_STAGE_SECRET_ACCESS_KEY
58
- AWS_PROD_ACCESS_KEY_ID
59
- AWS_PROD_SECRET_ACCESS_KEY
60
- ```
61
-
62
- See [Credentials](#credentials) for information.
63
-
64
- Credentials
65
- -----------
66
-
67
- sdk-release-tool updates Amazon S3 buckets. You need the cdn-sdki IAM user
68
- credentials to do this. There is a cdn-sdki IAM user credential for dev, stage,
69
- and prod. A member of the RTD or SDK Teams should be able to share these
70
- securely with you; if not, file an [iRequest](https://issues.corp.twilio.com)
71
- to gain access.
72
-
73
- Schemas
74
- -------
75
-
76
- Once installed, you can start using sdk-release-tool with any supported SDK.
77
- SDKs can be supported by adding JSON schema files describing the S3 directory
78
- structure for each.
79
-
80
- | SDK or SDK Artifacts | JSON Schema File |
81
- |:-------------------------------------------------------------------------------------- |:---------------------------------------------------------------------- |
82
- | [twilio-client-android](//code.hq.twilio.com/client/twilioclient-android-sdk) | [twilio-client-android.json](twilio-client-android.json) |
83
- | [twilio-client-android](//code.hq.twilio.com/client/twilioclient-android-sdk) | [twilio-client-android-aar.json](twilio-client-android.json) |
84
- | [twilio-voice-android](//code.hq.twilio.com/client/twilioclient-android-sdk) | [twilio-voice-android.json](twilio-voice-android.json) |
85
- | [twilio-chat-ios](//code.hq.twilio.com/client/twilio-chat-ios) | [twilio-chat-ios.json](twilio-chat-ios.json) |
86
- | [twilio-client-ios](code.hq.twilio.com/client/twilioclient-ios-sdk) | [twilio-client-ios.json](twilio-client-ios.json) |
87
- | [twilio-common-android](//code.hq.twilio.com/client/twilio-common-android) | [twilio-common-android.json](twilio-common-android.json) |
88
- | [twilio-common-ios](//code.hq.twilio.com/client/twilio-common-ios) | [twilio-common-ios.json](twilio-common-ios.json) |
89
- | [twilio-common.js](//github.com/twilio/twilio-common) | [twilio-common-js.json](twilio-common-js.json) |
90
- | [twilio-conversations-android](//code.hq.twilio.com/client/signal-sdk-android) | [twilio-conversations-android.json](twilio-conversations-android.json) |
91
- | [twilio-conversations-ios](//code.hq.twilio.com/client/signal-sdk-ios) | [twilio-conversations-ios.json](twilio-conversations-ios.json) |
92
- | [twilio-conversations.js](//code.hq.twilio.com/client/twilio-rtc-conversations-js) | [twilio-conversations-js.json](twilio-conversations-js.json) |
93
- | [twilio-sync-ios](//code.hq.twilio.com/client/twilio-sync-ios) | [twilio-sync-ios.json](twilio-sync-ios.json) |
94
- | [twilio-ip-messaging-android](//code.hq.twilio.com/client/twilio-ip-messaging-android) | [twilio-ip-messaging-android.json](twilio-ip-messaging-android.json) |
95
- | [twilio-ip-messaging-android (Maven to CDN)](//code.hq.twilio.com/client/twilio-ip-messaging-android) | [twilio-ip-messaging-android-maven.json](twilio-ip-messaging-android-maven.json) |
96
- | [twilio-ip-messaging-ios](//code.hq.twilio.com/client/twilio-ip-messaging-ios) | [twilio-ip-messaging-ios.json](twilio-ip-messaging-ios.json) |
97
- | [twilio-ip-messaging.js](//code.hq.twilio.com/client/twilio-rtc-ip-messaging-js) | [twilio-ip-messaging-js.json](twilio-ip-messaging-js.json) |
98
- | [twilio.js](//code.hq.twilio.com/client/twiliojs) >=1.3 | [twilio-client-js.json](twilio-client-js.json) |
99
- | [twilio.js sounds](//code.hq.twilio.com/client/twilio-client-sounds-js) | [twilio-client-sounds-js.json](twilio-client-sounds-js.json) |
100
- | [twilio-video.js](//code.hq.twilio.com/client/twilio-rtc-conversations-js) | [twilio-video-js.json](twilio-video-js.json) |
101
- | [twilio-video-cpp](//code.hq.twilio.com/client/signal-sdk-core) | [twilio-video-cpp.json](twilio-video-cpp.json) |
102
- | [twilio-voice-ios](//code.hq.twilio.com/client/twilioclient-ios-sdk) | [twilio-voice-ios.json](twilio-voice-ios.json) |
103
- | [twilio-accessmanager-ios](//code.hq.twilio.com/client/twilio-accessmanager-ios) | [twilio-accessmanager-ios.json](twilio-accessmanager-ios.json) |
104
- | [twilio-auth-ios](//https://code.hq.twilio.com/authy/authy-sdk-ios) | [twilio-auth-ios.json](twilio-auth-ios.json) |
105
- | [twilio-authenticator-ios](//https://code.hq.twilio.com/authy/authy-sdk-ios) | [twilio-authenticator-ios.json](twilio-authenticator-ios.json) |
106
- | [twilio-taskrouter.js](//https://code.hq.twilio.com/twilio/twilio-wds-js) | [twilio-taskrouter.json](twilio-taskrouter.json) |
107
-
108
-
109
- Version Numbers
110
- ---------------
111
-
112
- SDKs should use [Semantic Versioning (SemVer)](http://semver.org) of the form
113
-
114
- ```
115
- 1.2.3-dev+build
116
- ```
117
-
118
- Version numbers of the form
119
-
120
- ```
121
- 1.2.3.b4-deadbee
122
- ```
123
-
124
- are deprecated, but sdk-release-tool will continue supporting them for the
125
- time being.
126
-
127
- Do not use latest/ URLs with JavaScript SDKs
128
- --------------------------------------------
129
-
130
- Do not specify latest/ URLs or use the [pin-latest](#pin-latest) command with
131
- JavaScript SDKs. If a customer uses such a URL in a &lt;script&gt; tag, then
132
- their application will break as soon as we release a breaking change. For this
133
- reason, latest/ URLs are an anti-pattern and disallowed for JavaScript SDKs.
134
-
135
- Usage
136
- -----
137
-
138
- For a new release, a typical workflow is
139
-
140
- 1. [list](#list) existing versions (and ensure they are what you expect)
141
- 2. [upload](#upload) your new version
142
- 3. [pin](#pin) the new version (assuming it is not a pre-release)
143
-
144
- Note that all of the commands documented below accept a realm flag, i.e.
145
-
146
- * `--dev`
147
- * `--stage`
148
- * `--prod`
149
-
150
- For the sake of example, all of the commands below are written as if modifying
151
- dev. You can run the same commands against stage or prod by passing a different
152
- realm flag.
153
-
154
- ### list
155
-
156
- List the version numbers of uploaded product artifacts and any pinned
157
- major/minor pairs or "latest" versions. For example, the following shows 6
158
- artifacts for `$product-js` in dev, 1 of which is a pre-release version, and two
159
- pinned versions, v1.0 and v2.0; finally, 2.0.1 is pinned "latest":
160
-
161
- ```
162
- $ ./list $product-js --dev
163
- 1.0.0
164
- 1.0.1
165
- 1.0.2 <- v1.0
166
- 2.0.0-dev
167
- 2.0.0
168
- 2.0.1 <- v2.0 (latest)
169
- ```
170
-
171
- ### upload
172
-
173
- Upload product artifacts to a version number. For example, the following
174
- uploads artifacts for `$product-js` 1.2.3 to dev:
175
-
176
- ```
177
- $ ./upload $product-js 1.2.3 $source_folder --dev
178
- dist/$product.js -> sdk/js/$product/releases/1.2.3/$product.js
179
- ```
180
-
181
- Pass `--dry-run` to see what artifacts would be uploaded.
182
-
183
- By default, the same artifact may not be uploaded twice. To override this
184
- behavior, pass `-f` or `--force`.
185
-
186
- ### pin
187
-
188
- Pin a major/minor pair to a version number. For example, the following pins
189
- v1.0 to version 1.0.1 in dev:
190
-
191
- ```
192
- $ ./pin $product-js 1.0.1 --dev
193
- sdk/js/$product/v1.0/ -> sdk/js/$product/releases/1.0.1/
194
- ```
195
-
196
- Pass `--dry-run` to see what S3 Key redirects would be updated.
197
-
198
- By default, a pre-release version cannot be pinned. To override this
199
- behavior, pass `-f` or `--force`.
200
-
201
- ### pin-latest
202
-
203
- Pin a "latest" to a version number. For example, the following pins
204
- "latest" to version 1.0.1 in dev:
205
-
206
- ```
207
- $ ./pin-latest $product-js 1.0.1 --dev
208
- sdk/js/$product/latest/ -> sdk/js/$product/releases/1.0.1/
209
- ```
210
-
211
- Pass `--dry-run` to see what S3 Key redirects would be updated.
212
-
213
- By default, a pre-release version cannot be pinned. To override this
214
- behavior, pass `-f` or `--force`.
215
-
216
- ### download
217
-
218
- Download product artifacts from a version number. For example, the following
219
- downloads artifacts for `$product-js` 1.2.3 to /tmp from dev:
220
-
221
- ```
222
- $ ./download $product-js 1.2.3 --dev
223
- sdk/js/$product/releases/1.2.3/$product.js -> /tmp/dist/$product.js
224
- ```
225
-
226
- Pass `--dry-run` to see what files would be downloaded.
227
-
228
- ### delete
229
-
230
- _You should not need to use this!_
231
-
232
- Delete product artifacts at a version number. For example, the following
233
- deletes 1.2.3 from dev:
234
-
235
- ```
236
- $ ./delete $product-js 1.2.3 --dev
237
- sdk/js/$product/releases/1.2.3/$product.js
238
- ```
239
-
240
- Pass `--dry-run` to see what files would be deleted.
241
-
242
- By default, a pinned version cannot be deleted. To override this behavior,
243
- pass `-f` or `--force`.
244
-
245
- By default, every file to be deleted requires confirmation. To override this behavior, pass `-s` or `--silent`
246
-
247
- ### unpin
248
-
249
- _You should not need to use this!_
250
-
251
- Unpin a major/minor pair from a version number. For example, if v1.0 were
252
- pinned to 1.0.1, the following would unpin it in dev:
253
-
254
- ```
255
- ./unpin $product-js 1.0.1 --dev
256
- ```
257
-
258
- You almost _never_ need to use this. Instead, refer to [pin](#pin).
259
-
260
- Pass `--dry-run` to see what S3 Key redirects would be updated.
261
-
262
- ### unpin-latest
263
-
264
- _You should not need to use this!_
265
-
266
- Unpin a "latest" from a version number. For example, if "latest" were
267
- pinned to 1.0.1, the following would unpin it in dev:
268
-
269
- ```
270
- ./unpin-latest $product-js 1.0.1 --dev
271
- ```
272
-
273
- You almost _never_ need to use this. Instead, refer to [pin](#pin).
274
-
275
- Pass `--dry-run` to see what S3 Key redirects would be updated.
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
- . ./venv/bin/activate
3
- python -msdk_release_tools delete $@
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
- . ./venv/bin/activate
3
- python -msdk_release_tools download $@
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
- . ./venv/bin/activate
3
- python -msdk_release_tools get-cors $@
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
- . ./venv/bin/activate
3
- python -msdk_release_tools list $@
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
- . ./venv/bin/activate
3
- python -msdk_release_tools pin $@
@@ -1,3 +0,0 @@
1
- #!/bin/bash
2
- . ./venv/bin/activate
3
- python -msdk_release_tools pin-latest $@
@@ -1,4 +0,0 @@
1
- boto
2
- clint
3
- nose
4
- repositorytools
@@ -1,3 +0,0 @@
1
- #!/bin/bash -x
2
- . ./venv/bin/activate
3
- python -msdk_release_tools "$@"