@intuitionrobotics/github 0.45.0 → 0.45.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.
@@ -0,0 +1 @@
1
+ export declare const Backend_ModulePack_Github: import("../modules/GithubModule").GithubModule_Class[];
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /*
3
+ * Permissions management system, define access level for each of
4
+ * your server apis, and restrict users by giving them access levels
5
+ *
6
+ * Copyright (C) 2020 Intuition Robotics
7
+ *
8
+ * Licensed under the Apache License, Version 2.0 (the "License");
9
+ * you may not use this file except in compliance with the License.
10
+ * You may obtain a copy of the License at
11
+ *
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Unless required by applicable law or agreed to in writing, software
15
+ * distributed under the License is distributed on an "AS IS" BASIS,
16
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ * See the License for the specific language governing permissions and
18
+ * limitations under the License.
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.Backend_ModulePack_Github = void 0;
22
+ const GithubModule_1 = require("../modules/GithubModule");
23
+ exports.Backend_ModulePack_Github = [
24
+ GithubModule_1.GithubModule
25
+ ];
26
+ //# sourceMappingURL=module-pack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"module-pack.js","sourceRoot":"","sources":["../../../src/main/app-backend/core/module-pack.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AAEH,0DAAqD;AAExC,QAAA,yBAAyB,GAAG;IACxC,2BAAY;CACZ,CAAC"}
@@ -1,7 +1,7 @@
1
+ import { Module } from "@intuitionrobotics/ts-common";
1
2
  import { RestEndpointMethodTypes } from '@octokit/rest';
2
3
  import { ReposGetContentResponseData } from "@octokit/types";
3
- import { Module } from "@intuitionrobotics/ts-common/core/module";
4
- import { ExpressRequest } from "@intuitionrobotics/thunderstorm/app-backend/utils/types";
4
+ import { ExpressRequest } from "@intuitionrobotics/thunderstorm/backend";
5
5
  declare type Config = {
6
6
  appId: string;
7
7
  privateKey: string;
@@ -10,15 +10,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GithubModule = exports.GithubModule_Class = void 0;
13
+ /*
14
+ * A backend boilerplate with example apis
15
+ *
16
+ * Copyright (C) 2018 Intuition Robotics
17
+ *
18
+ * Licensed under the Apache License, Version 2.0 (the "License");
19
+ * you may not use this file except in compliance with the License.
20
+ * You may obtain a copy of the License at
21
+ *
22
+ * http://www.apache.org/licenses/LICENSE-2.0
23
+ *
24
+ * Unless required by applicable law or agreed to in writing, software
25
+ * distributed under the License is distributed on an "AS IS" BASIS,
26
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27
+ * See the License for the specific language governing permissions and
28
+ * limitations under the License.
29
+ */
30
+ const ts_common_1 = require("@intuitionrobotics/ts-common");
13
31
  const jws = require("jws");
14
32
  const rest_1 = require("@octokit/rest");
15
33
  const path = require("path");
16
- const module_1 = require("@intuitionrobotics/ts-common/core/module");
17
- const exceptions_1 = require("@intuitionrobotics/ts-common/core/exceptions");
18
- const promisify_request_1 = require("@intuitionrobotics/thunderstorm/app-backend/utils/promisify-request");
19
- const exceptions_2 = require("@intuitionrobotics/thunderstorm/app-backend/exceptions");
20
- const tools_1 = require("@intuitionrobotics/ts-common/utils/tools");
21
- class GithubModule_Class extends module_1.Module {
34
+ const backend_1 = require("@intuitionrobotics/thunderstorm/backend");
35
+ class GithubModule_Class extends ts_common_1.Module {
22
36
  constructor() {
23
37
  super("GithubModule");
24
38
  }
@@ -73,14 +87,14 @@ class GithubModule_Class extends module_1.Module {
73
87
  this.logError('Could not create installation access token for the Github App.');
74
88
  this.logError(`Error: No installation matches owner "${this.config.gitOwner}."`);
75
89
  this.logError(`Installations were: ${JSON.stringify(installations, null, 2)}`);
76
- throw new exceptions_1.BadImplementationException(`No installations for owner ${this.config.gitOwner}`);
90
+ throw new ts_common_1.BadImplementationException(`No installations for owner ${this.config.gitOwner}`);
77
91
  }
78
92
  // Create an "Installation access token". Expires in one hour. Identifies actions
79
93
  // as performed by the Github App.
80
94
  const installationToken = yield client.apps.createInstallationAccessToken({ installation_id: filteredInstallations[0].id });
81
95
  if (!installationToken.data || !installationToken.data.token) {
82
96
  this.logError(`Invalid structure of installation token object.`);
83
- throw new exceptions_1.Exception(`Invalid structure of installation token object.`);
97
+ throw new ts_common_1.Exception(`Invalid structure of installation token object.`);
84
98
  }
85
99
  return installationToken.data.token;
86
100
  });
@@ -115,18 +129,18 @@ class GithubModule_Class extends module_1.Module {
115
129
  }
116
130
  else if (error.status === 404) {
117
131
  this.logError(`File ${filePath} was not found.`);
118
- throw new exceptions_1.Exception(`File ${filePath} was not found`);
132
+ throw new ts_common_1.Exception(`File ${filePath} was not found`);
119
133
  }
120
134
  else {
121
- throw new exceptions_1.Exception('Failed to get file from Github');
135
+ throw new ts_common_1.Exception('Failed to get file from Github');
122
136
  }
123
137
  }
124
138
  // Check that if contents.data is not an array.
125
139
  if (Array.isArray(contents.data)) {
126
- throw new exceptions_1.BadImplementationException('Invalid response of method repos.getContent');
140
+ throw new ts_common_1.BadImplementationException('Invalid response of method repos.getContent');
127
141
  }
128
142
  if (!contents || !contents.data || !contents.data.content) {
129
- throw new exceptions_1.Exception('Failed to get file contents from Github');
143
+ throw new ts_common_1.Exception('Failed to get file contents from Github');
130
144
  }
131
145
  const buffer = Buffer.from(contents.data.content, 'base64');
132
146
  const decodedContent = buffer.toString('utf8');
@@ -143,7 +157,7 @@ class GithubModule_Class extends module_1.Module {
143
157
  };
144
158
  const response = yield client.git.getBlob(request);
145
159
  if (!response || !response.data || !response.data.content)
146
- throw new exceptions_1.Exception('Failed to get file contents from Github');
160
+ throw new ts_common_1.Exception('Failed to get file contents from Github');
147
161
  const buffer = Buffer.from(response.data.content, 'base64');
148
162
  return buffer.toString('utf8');
149
163
  });
@@ -162,13 +176,13 @@ class GithubModule_Class extends module_1.Module {
162
176
  parentDirectoryResponse = yield client.repos.getContent(request);
163
177
  }
164
178
  catch (error) {
165
- throw new exceptions_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`, error);
179
+ throw new ts_common_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`, error);
166
180
  }
167
181
  if (!parentDirectoryResponse || !parentDirectoryResponse.data)
168
- throw new exceptions_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`);
182
+ throw new ts_common_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`);
169
183
  // Check that if parentDirectoryResponse.data is an array.
170
184
  if (!Array.isArray(parentDirectoryResponse.data))
171
- throw new exceptions_1.BadImplementationException("File's parent directory is not an array");
185
+ throw new ts_common_1.BadImplementationException("File's parent directory is not an array");
172
186
  let fileSha = '';
173
187
  for (const responseEntry of parentDirectoryResponse.data) {
174
188
  if (responseEntry.path === filePath) {
@@ -177,7 +191,7 @@ class GithubModule_Class extends module_1.Module {
177
191
  }
178
192
  }
179
193
  if (!fileSha)
180
- throw new exceptions_1.Exception(`File ${filePath} was not found`);
194
+ throw new ts_common_1.Exception(`File ${filePath} was not found`);
181
195
  return fileSha;
182
196
  });
183
197
  }
@@ -214,7 +228,7 @@ class GithubModule_Class extends module_1.Module {
214
228
  }
215
229
  catch (error) {
216
230
  this.logError(error);
217
- throw new exceptions_1.Exception(`Failed to list ${repo} branches`);
231
+ throw new ts_common_1.Exception(`Failed to list ${repo} branches`);
218
232
  }
219
233
  // Response includes (besides branch name) extra information about the branch.
220
234
  return branches;
@@ -232,7 +246,7 @@ class GithubModule_Class extends module_1.Module {
232
246
  archive_format: "zipball"
233
247
  });
234
248
  if (!response || !response.url) {
235
- throw new exceptions_1.Exception(`Invalid response while getting archive url for branch ${branch} of repo ${repo}`);
249
+ throw new ts_common_1.Exception(`Invalid response while getting archive url for branch ${branch} of repo ${repo}`);
236
250
  }
237
251
  this.logInfo(`Got archive url: ${response.url}.`);
238
252
  return response.url;
@@ -240,13 +254,13 @@ class GithubModule_Class extends module_1.Module {
240
254
  }
241
255
  downloadArchive(url, branch, request) {
242
256
  return __awaiter(this, void 0, void 0, function* () {
243
- const response = yield promisify_request_1.promisifyRequest({ url: url, responseType: 'arraybuffer' });
257
+ const response = yield backend_1.promisifyRequest({ url: url, responseType: 'arraybuffer' });
244
258
  if (!response || !response.data)
245
- throw new exceptions_1.Exception(`Failed to download archive for branch ${branch} of product ${url}`);
259
+ throw new ts_common_1.Exception(`Failed to download archive for branch ${branch} of product ${url}`);
246
260
  const statusCode = response.status;
247
261
  // TODO: need to handle 1XX and 3XX
248
262
  if (statusCode < 200 || statusCode >= 300)
249
- throw new exceptions_2.ApiException(statusCode, `Failed to download archive for branch ${branch} of product ${url}. Error: ${tools_1.__stringify(response.data)}`);
263
+ throw new backend_1.ApiException(statusCode, `Failed to download archive for branch ${branch} of product ${url}. Error: ${ts_common_1.__stringify(response.data)}`);
250
264
  this.logDebug(`Got archive in zip format.`);
251
265
  // Returns a buffer.
252
266
  return response.data;
@@ -273,7 +287,7 @@ class GithubModule_Class extends module_1.Module {
273
287
  if (!response || !response.data)
274
288
  return;
275
289
  if (!Array.isArray(response.data)) {
276
- throw new exceptions_1.Exception(`Invalid response from octokit's repos.getContent`);
290
+ throw new ts_common_1.Exception(`Invalid response from octokit's repos.getContent`);
277
291
  }
278
292
  return response.data;
279
293
  });
@@ -1 +1 @@
1
- {"version":3,"file":"GithubModule.js","sourceRoot":"","sources":["../../../src/main/app-backend/modules/GithubModule.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2BAA2B;AAC3B,wCAA+D;AAE/D,6BAA6B;AAC7B,qEAAgE;AAChE,6EAAmG;AAEnG,2GAAqG;AACrG,uFAAoF;AACpF,oEAAqE;AASrE,MAAa,kBACT,SAAQ,eAAc;IAEtB;QACI,KAAK,CAAC,cAAc,CAAC,CAAC;IAC1B,CAAC;IAEO,YAAY,CAAC,KAAa,EAAE,MAAe;QAC/C,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GAAG;gBACrC,MAAM,IAAI,sBAAY,CAAC,UAAU,EAAE,yCAAyC,MAAM,eAAe,GAAG,YAAY,uBAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAA;YAEjJ,IAAI,CAAC,QAAQ,CAAC,4BAA4B,CAAC,CAAC;YAC5C,oBAAoB;YACpB,OAAO,QAAQ,CAAC,IAAI,CAAC;QACzB,CAAC;KAAA;IAED;;;;;;OAMG;IACG,qBAAqB,CAAC,IAAY,EAAE,MAAc,EAAE,KAAa;;YACnE,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,0BAA0B,EAAE,CAAC;YACtD,MAAM,MAAM,GAAY,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;YAEjD,IAAI,QAAoE,CAAC;YAEzE,QAAQ,GAAG,MAAM,MAAM,CAAC,KAAK,CAAC,UAAU,CACpC;gBACI,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ;gBAC3B,IAAI;gBACJ,IAAI,EAAE,KAAK;gBACX,GAAG,EAAE,MAAM;aACd,CAAC,CAAC;YAEP,IAAI,CAAC,QAAQ,IAAI,CAAC,QAAQ,CAAC,IAAI;gBAC3B,OAAO;YAEX,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;gBAC/B,MAAM,IAAI,qBAAS,CAAC,kDAAkD,CAAC,CAAC;aAC3E;YAED,OAAO,QAAQ,CAAC,IAAI,CAAC;QACzB,CAAC;KAAA;CAEJ;AAxRD,gDAwRC;AAEY,QAAA,YAAY,GAAG,IAAI,kBAAkB,EAAE,CAAC"}
package/index.d.ts CHANGED
@@ -0,0 +1,2 @@
1
+ export * from "./app-backend/core/module-pack";
2
+ export * from "./app-backend/modules/GithubModule";
package/index.js CHANGED
@@ -1,2 +1,15 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./app-backend/core/module-pack"), exports);
14
+ __exportStar(require("./app-backend/modules/GithubModule"), exports);
2
15
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/main/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/main/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iEAA+C;AAC/C,qEAAmD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuitionrobotics/github",
3
- "version": "0.45.0",
3
+ "version": "0.45.1",
4
4
  "description": "Github api Module",
5
5
  "keywords": [
6
6
  "IR",