@intuitionrobotics/github 0.45.1 → 0.46.0

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.
@@ -1,7 +1,7 @@
1
- import { Module } from "@intuitionrobotics/ts-common";
2
1
  import { RestEndpointMethodTypes } from '@octokit/rest';
3
2
  import { ReposGetContentResponseData } from "@octokit/types";
4
- import { ExpressRequest } from "@intuitionrobotics/thunderstorm/backend";
3
+ import { Module } from "@intuitionrobotics/ts-common/core/module";
4
+ import { ExpressRequest } from "@intuitionrobotics/thunderstorm/app-backend/utils/types";
5
5
  declare type Config = {
6
6
  appId: string;
7
7
  privateKey: string;
@@ -10,29 +10,15 @@ 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");
31
13
  const jws = require("jws");
32
14
  const rest_1 = require("@octokit/rest");
33
15
  const path = require("path");
34
- const backend_1 = require("@intuitionrobotics/thunderstorm/backend");
35
- class GithubModule_Class extends ts_common_1.Module {
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 {
36
22
  constructor() {
37
23
  super("GithubModule");
38
24
  }
@@ -87,14 +73,14 @@ class GithubModule_Class extends ts_common_1.Module {
87
73
  this.logError('Could not create installation access token for the Github App.');
88
74
  this.logError(`Error: No installation matches owner "${this.config.gitOwner}."`);
89
75
  this.logError(`Installations were: ${JSON.stringify(installations, null, 2)}`);
90
- throw new ts_common_1.BadImplementationException(`No installations for owner ${this.config.gitOwner}`);
76
+ throw new exceptions_1.BadImplementationException(`No installations for owner ${this.config.gitOwner}`);
91
77
  }
92
78
  // Create an "Installation access token". Expires in one hour. Identifies actions
93
79
  // as performed by the Github App.
94
80
  const installationToken = yield client.apps.createInstallationAccessToken({ installation_id: filteredInstallations[0].id });
95
81
  if (!installationToken.data || !installationToken.data.token) {
96
82
  this.logError(`Invalid structure of installation token object.`);
97
- throw new ts_common_1.Exception(`Invalid structure of installation token object.`);
83
+ throw new exceptions_1.Exception(`Invalid structure of installation token object.`);
98
84
  }
99
85
  return installationToken.data.token;
100
86
  });
@@ -129,18 +115,18 @@ class GithubModule_Class extends ts_common_1.Module {
129
115
  }
130
116
  else if (error.status === 404) {
131
117
  this.logError(`File ${filePath} was not found.`);
132
- throw new ts_common_1.Exception(`File ${filePath} was not found`);
118
+ throw new exceptions_1.Exception(`File ${filePath} was not found`);
133
119
  }
134
120
  else {
135
- throw new ts_common_1.Exception('Failed to get file from Github');
121
+ throw new exceptions_1.Exception('Failed to get file from Github');
136
122
  }
137
123
  }
138
124
  // Check that if contents.data is not an array.
139
125
  if (Array.isArray(contents.data)) {
140
- throw new ts_common_1.BadImplementationException('Invalid response of method repos.getContent');
126
+ throw new exceptions_1.BadImplementationException('Invalid response of method repos.getContent');
141
127
  }
142
128
  if (!contents || !contents.data || !contents.data.content) {
143
- throw new ts_common_1.Exception('Failed to get file contents from Github');
129
+ throw new exceptions_1.Exception('Failed to get file contents from Github');
144
130
  }
145
131
  const buffer = Buffer.from(contents.data.content, 'base64');
146
132
  const decodedContent = buffer.toString('utf8');
@@ -157,7 +143,7 @@ class GithubModule_Class extends ts_common_1.Module {
157
143
  };
158
144
  const response = yield client.git.getBlob(request);
159
145
  if (!response || !response.data || !response.data.content)
160
- throw new ts_common_1.Exception('Failed to get file contents from Github');
146
+ throw new exceptions_1.Exception('Failed to get file contents from Github');
161
147
  const buffer = Buffer.from(response.data.content, 'base64');
162
148
  return buffer.toString('utf8');
163
149
  });
@@ -176,13 +162,13 @@ class GithubModule_Class extends ts_common_1.Module {
176
162
  parentDirectoryResponse = yield client.repos.getContent(request);
177
163
  }
178
164
  catch (error) {
179
- throw new ts_common_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`, error);
165
+ throw new exceptions_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`, error);
180
166
  }
181
167
  if (!parentDirectoryResponse || !parentDirectoryResponse.data)
182
- throw new ts_common_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`);
168
+ throw new exceptions_1.Exception(`Failed to fetch parent directory contents of file ${filePath}`);
183
169
  // Check that if parentDirectoryResponse.data is an array.
184
170
  if (!Array.isArray(parentDirectoryResponse.data))
185
- throw new ts_common_1.BadImplementationException("File's parent directory is not an array");
171
+ throw new exceptions_1.BadImplementationException("File's parent directory is not an array");
186
172
  let fileSha = '';
187
173
  for (const responseEntry of parentDirectoryResponse.data) {
188
174
  if (responseEntry.path === filePath) {
@@ -191,7 +177,7 @@ class GithubModule_Class extends ts_common_1.Module {
191
177
  }
192
178
  }
193
179
  if (!fileSha)
194
- throw new ts_common_1.Exception(`File ${filePath} was not found`);
180
+ throw new exceptions_1.Exception(`File ${filePath} was not found`);
195
181
  return fileSha;
196
182
  });
197
183
  }
@@ -228,7 +214,7 @@ class GithubModule_Class extends ts_common_1.Module {
228
214
  }
229
215
  catch (error) {
230
216
  this.logError(error);
231
- throw new ts_common_1.Exception(`Failed to list ${repo} branches`);
217
+ throw new exceptions_1.Exception(`Failed to list ${repo} branches`);
232
218
  }
233
219
  // Response includes (besides branch name) extra information about the branch.
234
220
  return branches;
@@ -246,7 +232,7 @@ class GithubModule_Class extends ts_common_1.Module {
246
232
  archive_format: "zipball"
247
233
  });
248
234
  if (!response || !response.url) {
249
- throw new ts_common_1.Exception(`Invalid response while getting archive url for branch ${branch} of repo ${repo}`);
235
+ throw new exceptions_1.Exception(`Invalid response while getting archive url for branch ${branch} of repo ${repo}`);
250
236
  }
251
237
  this.logInfo(`Got archive url: ${response.url}.`);
252
238
  return response.url;
@@ -254,13 +240,13 @@ class GithubModule_Class extends ts_common_1.Module {
254
240
  }
255
241
  downloadArchive(url, branch, request) {
256
242
  return __awaiter(this, void 0, void 0, function* () {
257
- const response = yield backend_1.promisifyRequest({ url: url, responseType: 'arraybuffer' });
243
+ const response = yield promisify_request_1.promisifyRequest({ url: url, responseType: 'arraybuffer' });
258
244
  if (!response || !response.data)
259
- throw new ts_common_1.Exception(`Failed to download archive for branch ${branch} of product ${url}`);
245
+ throw new exceptions_1.Exception(`Failed to download archive for branch ${branch} of product ${url}`);
260
246
  const statusCode = response.status;
261
247
  // TODO: need to handle 1XX and 3XX
262
248
  if (statusCode < 200 || statusCode >= 300)
263
- throw new backend_1.ApiException(statusCode, `Failed to download archive for branch ${branch} of product ${url}. Error: ${ts_common_1.__stringify(response.data)}`);
249
+ throw new exceptions_2.ApiException(statusCode, `Failed to download archive for branch ${branch} of product ${url}. Error: ${tools_1.__stringify(response.data)}`);
264
250
  this.logDebug(`Got archive in zip format.`);
265
251
  // Returns a buffer.
266
252
  return response.data;
@@ -287,7 +273,7 @@ class GithubModule_Class extends ts_common_1.Module {
287
273
  if (!response || !response.data)
288
274
  return;
289
275
  if (!Array.isArray(response.data)) {
290
- throw new ts_common_1.Exception(`Invalid response from octokit's repos.getContent`);
276
+ throw new exceptions_1.Exception(`Invalid response from octokit's repos.getContent`);
291
277
  }
292
278
  return response.data;
293
279
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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
@@ -1,2 +0,0 @@
1
- export * from "./app-backend/core/module-pack";
2
- export * from "./app-backend/modules/GithubModule";
package/index.js CHANGED
@@ -1,15 +1,2 @@
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);
15
2
  //# 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":";;;;;;;;;;;;AAAA,iEAA+C;AAC/C,qEAAmD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/main/index.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intuitionrobotics/github",
3
- "version": "0.45.1",
3
+ "version": "0.46.00",
4
4
  "description": "Github api Module",
5
5
  "keywords": [
6
6
  "IR",
@@ -18,8 +18,8 @@
18
18
  "main": "./index.js",
19
19
  "types": "./index.d.ts",
20
20
  "dependencies": {
21
- "@intuitionrobotics/thunderstorm": "~0.45.0",
22
- "@intuitionrobotics/ts-common": "~0.45.0",
21
+ "@intuitionrobotics/thunderstorm": "~0.46.0",
22
+ "@intuitionrobotics/ts-common": "~0.46.0",
23
23
  "@octokit/rest": "18.0.9",
24
24
  "@octokit/plugin-paginate-rest": "2.2.1",
25
25
  "jws": "^4.0.0"
@@ -1 +0,0 @@
1
- export declare const Backend_ModulePack_Github: import("../modules/GithubModule").GithubModule_Class[];
@@ -1,26 +0,0 @@
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
@@ -1 +0,0 @@
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"}