gitgrip 0.2.4 → 0.3.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.
- package/README.md +75 -1
- package/dist/commands/pr/create.d.ts.map +1 -1
- package/dist/commands/pr/create.js +29 -8
- package/dist/commands/pr/create.js.map +1 -1
- package/dist/commands/pr/merge.d.ts.map +1 -1
- package/dist/commands/pr/merge.js +40 -33
- package/dist/commands/pr/merge.js.map +1 -1
- package/dist/commands/pr/status.d.ts.map +1 -1
- package/dist/commands/pr/status.js +15 -11
- package/dist/commands/pr/status.js.map +1 -1
- package/dist/lib/github.d.ts +28 -4
- package/dist/lib/github.d.ts.map +1 -1
- package/dist/lib/github.js +65 -126
- package/dist/lib/github.js.map +1 -1
- package/dist/lib/linker.d.ts +19 -4
- package/dist/lib/linker.d.ts.map +1 -1
- package/dist/lib/linker.js +107 -16
- package/dist/lib/linker.js.map +1 -1
- package/dist/lib/manifest.d.ts +12 -1
- package/dist/lib/manifest.d.ts.map +1 -1
- package/dist/lib/manifest.js +45 -5
- package/dist/lib/manifest.js.map +1 -1
- package/dist/lib/platform/azure-devops.d.ts +83 -0
- package/dist/lib/platform/azure-devops.d.ts.map +1 -0
- package/dist/lib/platform/azure-devops.js +378 -0
- package/dist/lib/platform/azure-devops.js.map +1 -0
- package/dist/lib/platform/github.d.ts +82 -0
- package/dist/lib/platform/github.d.ts.map +1 -0
- package/dist/lib/platform/github.js +285 -0
- package/dist/lib/platform/github.js.map +1 -0
- package/dist/lib/platform/gitlab.d.ts +82 -0
- package/dist/lib/platform/gitlab.d.ts.map +1 -0
- package/dist/lib/platform/gitlab.js +331 -0
- package/dist/lib/platform/gitlab.js.map +1 -0
- package/dist/lib/platform/index.d.ts +60 -0
- package/dist/lib/platform/index.d.ts.map +1 -0
- package/dist/lib/platform/index.js +132 -0
- package/dist/lib/platform/index.js.map +1 -0
- package/dist/lib/platform/types.d.ts +162 -0
- package/dist/lib/platform/types.d.ts.map +1 -0
- package/dist/lib/platform/types.js +5 -0
- package/dist/lib/platform/types.js.map +1 -0
- package/dist/types.d.ts +39 -5
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -1
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform types for multi-platform hosting support (GitHub, GitLab, Azure DevOps)
|
|
3
|
+
*/
|
|
4
|
+
export type PlatformType = 'github' | 'gitlab' | 'azure-devops';
|
|
5
|
+
/**
|
|
6
|
+
* Configuration for a hosting platform, including self-hosted instances
|
|
7
|
+
*/
|
|
8
|
+
export interface PlatformConfig {
|
|
9
|
+
type: PlatformType;
|
|
10
|
+
/** Base URL for self-hosted instances (e.g., https://gitlab.company.com) */
|
|
11
|
+
baseUrl?: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Parsed repository information from a git URL
|
|
15
|
+
*/
|
|
16
|
+
export interface ParsedRepoInfo {
|
|
17
|
+
owner: string;
|
|
18
|
+
repo: string;
|
|
19
|
+
/** For Azure DevOps: the project name */
|
|
20
|
+
project?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Pull request state across all platforms
|
|
24
|
+
*/
|
|
25
|
+
export type PRState = 'open' | 'closed' | 'merged';
|
|
26
|
+
/**
|
|
27
|
+
* Normalized pull request information across platforms
|
|
28
|
+
*/
|
|
29
|
+
export interface PullRequest {
|
|
30
|
+
number: number;
|
|
31
|
+
url: string;
|
|
32
|
+
title: string;
|
|
33
|
+
body: string;
|
|
34
|
+
state: PRState;
|
|
35
|
+
merged: boolean;
|
|
36
|
+
mergeable: boolean | null;
|
|
37
|
+
head: {
|
|
38
|
+
ref: string;
|
|
39
|
+
sha: string;
|
|
40
|
+
};
|
|
41
|
+
base: {
|
|
42
|
+
ref: string;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Options for creating a pull request
|
|
47
|
+
*/
|
|
48
|
+
export interface PRCreateOptions {
|
|
49
|
+
title: string;
|
|
50
|
+
body?: string;
|
|
51
|
+
base?: string;
|
|
52
|
+
draft?: boolean;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Options for merging a pull request
|
|
56
|
+
*/
|
|
57
|
+
export interface PRMergeOptions {
|
|
58
|
+
method?: 'merge' | 'squash' | 'rebase';
|
|
59
|
+
deleteBranch?: boolean;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Result of creating a pull request
|
|
63
|
+
*/
|
|
64
|
+
export interface PRCreateResult {
|
|
65
|
+
number: number;
|
|
66
|
+
url: string;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Review information
|
|
70
|
+
*/
|
|
71
|
+
export interface PRReview {
|
|
72
|
+
state: string;
|
|
73
|
+
user: string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Status check result
|
|
77
|
+
*/
|
|
78
|
+
export interface StatusCheckResult {
|
|
79
|
+
state: 'success' | 'failure' | 'pending';
|
|
80
|
+
statuses: {
|
|
81
|
+
context: string;
|
|
82
|
+
state: string;
|
|
83
|
+
}[];
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Interface for hosting platform adapters
|
|
87
|
+
* Each platform (GitHub, GitLab, Azure DevOps) implements this interface
|
|
88
|
+
*/
|
|
89
|
+
export interface HostingPlatform {
|
|
90
|
+
/** Platform type identifier */
|
|
91
|
+
readonly type: PlatformType;
|
|
92
|
+
/**
|
|
93
|
+
* Get authentication token for API calls
|
|
94
|
+
* @throws Error if token is not available
|
|
95
|
+
*/
|
|
96
|
+
getToken(): Promise<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Create a pull request
|
|
99
|
+
*/
|
|
100
|
+
createPullRequest(owner: string, repo: string, head: string, base: string, title: string, body?: string, draft?: boolean): Promise<PRCreateResult>;
|
|
101
|
+
/**
|
|
102
|
+
* Get pull request details
|
|
103
|
+
*/
|
|
104
|
+
getPullRequest(owner: string, repo: string, pullNumber: number): Promise<PullRequest>;
|
|
105
|
+
/**
|
|
106
|
+
* Update pull request body
|
|
107
|
+
*/
|
|
108
|
+
updatePullRequestBody(owner: string, repo: string, pullNumber: number, body: string): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Merge a pull request
|
|
111
|
+
* @returns true if merge succeeded, false otherwise
|
|
112
|
+
*/
|
|
113
|
+
mergePullRequest(owner: string, repo: string, pullNumber: number, options?: PRMergeOptions): Promise<boolean>;
|
|
114
|
+
/**
|
|
115
|
+
* Find an open PR by branch name
|
|
116
|
+
*/
|
|
117
|
+
findPRByBranch(owner: string, repo: string, branch: string): Promise<PRCreateResult | null>;
|
|
118
|
+
/**
|
|
119
|
+
* Check if PR is approved (has approval, no changes requested)
|
|
120
|
+
*/
|
|
121
|
+
isPullRequestApproved(owner: string, repo: string, pullNumber: number): Promise<boolean>;
|
|
122
|
+
/**
|
|
123
|
+
* Get reviews for a PR
|
|
124
|
+
*/
|
|
125
|
+
getPullRequestReviews(owner: string, repo: string, pullNumber: number): Promise<PRReview[]>;
|
|
126
|
+
/**
|
|
127
|
+
* Get CI/CD status checks for a commit
|
|
128
|
+
*/
|
|
129
|
+
getStatusChecks(owner: string, repo: string, ref: string): Promise<StatusCheckResult>;
|
|
130
|
+
/**
|
|
131
|
+
* Parse a git URL to extract owner/repo information
|
|
132
|
+
* @returns null if URL doesn't match this platform
|
|
133
|
+
*/
|
|
134
|
+
parseRepoUrl(url: string): ParsedRepoInfo | null;
|
|
135
|
+
/**
|
|
136
|
+
* Check if a URL belongs to this platform
|
|
137
|
+
*/
|
|
138
|
+
matchesUrl(url: string): boolean;
|
|
139
|
+
/**
|
|
140
|
+
* Generate HTML comment for linked PR tracking
|
|
141
|
+
*/
|
|
142
|
+
generateLinkedPRComment(links: {
|
|
143
|
+
repoName: string;
|
|
144
|
+
number: number;
|
|
145
|
+
}[]): string;
|
|
146
|
+
/**
|
|
147
|
+
* Parse linked PR references from PR body
|
|
148
|
+
*/
|
|
149
|
+
parseLinkedPRComment(body: string): {
|
|
150
|
+
repoName: string;
|
|
151
|
+
number: number;
|
|
152
|
+
}[];
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Options for Azure DevOps that require project context
|
|
156
|
+
*/
|
|
157
|
+
export interface AzureDevOpsContext {
|
|
158
|
+
organization: string;
|
|
159
|
+
project: string;
|
|
160
|
+
repository: string;
|
|
161
|
+
}
|
|
162
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/lib/platform/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,cAAc,CAAC;AAEhE;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAC;IACnB,4EAA4E;IAC5E,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1B,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;IACnC,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE,CAAC;C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QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAC5E;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/lib/platform/types.ts"],"names":[],"mappings":"AAAA;;GAEG"}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Hosting platform type for repositories
|
|
3
|
+
*/
|
|
4
|
+
export type PlatformType = 'github' | 'gitlab' | 'azure-devops';
|
|
5
|
+
/**
|
|
6
|
+
* Platform configuration for self-hosted instances
|
|
7
|
+
*/
|
|
8
|
+
export interface PlatformConfig {
|
|
9
|
+
type: PlatformType;
|
|
10
|
+
/** Base URL for self-hosted instances (e.g., https://gitlab.company.com) */
|
|
11
|
+
baseUrl?: string;
|
|
12
|
+
}
|
|
1
13
|
/**
|
|
2
14
|
* Configuration for copying a file from repo to workspace
|
|
3
15
|
*/
|
|
@@ -30,6 +42,8 @@ export interface RepoConfig {
|
|
|
30
42
|
copyfile?: CopyFileConfig[];
|
|
31
43
|
/** Symlinks to create from repo to workspace */
|
|
32
44
|
linkfile?: LinkFileConfig[];
|
|
45
|
+
/** Optional platform override (auto-detected from URL if not specified) */
|
|
46
|
+
platform?: PlatformConfig;
|
|
33
47
|
}
|
|
34
48
|
/**
|
|
35
49
|
* Configuration for the manifest repository itself
|
|
@@ -43,6 +57,8 @@ export interface ManifestRepoConfig {
|
|
|
43
57
|
copyfile?: CopyFileConfig[];
|
|
44
58
|
/** Symlinks to create from manifest repo to workspace */
|
|
45
59
|
linkfile?: LinkFileConfig[];
|
|
60
|
+
/** Optional platform override (auto-detected from URL if not specified) */
|
|
61
|
+
platform?: PlatformConfig;
|
|
46
62
|
}
|
|
47
63
|
/**
|
|
48
64
|
* Global settings for the manifest
|
|
@@ -126,10 +142,14 @@ export interface RepoInfo extends RepoConfig {
|
|
|
126
142
|
name: string;
|
|
127
143
|
/** Absolute path on disk */
|
|
128
144
|
absolutePath: string;
|
|
129
|
-
/** Owner from
|
|
145
|
+
/** Owner/namespace from git URL (for Azure DevOps: org/project) */
|
|
130
146
|
owner: string;
|
|
131
|
-
/** Repo name from
|
|
147
|
+
/** Repo name from git URL */
|
|
132
148
|
repo: string;
|
|
149
|
+
/** Detected or configured platform type */
|
|
150
|
+
platformType: PlatformType;
|
|
151
|
+
/** Project name (Azure DevOps only) */
|
|
152
|
+
project?: string;
|
|
133
153
|
}
|
|
134
154
|
/**
|
|
135
155
|
* Status of a single repository
|
|
@@ -160,9 +180,9 @@ export interface RepoStatus {
|
|
|
160
180
|
export interface LinkedPR {
|
|
161
181
|
/** Repository name (from manifest) */
|
|
162
182
|
repoName: string;
|
|
163
|
-
/** Owner
|
|
183
|
+
/** Owner/namespace from git URL */
|
|
164
184
|
owner: string;
|
|
165
|
-
/** Repo name
|
|
185
|
+
/** Repo name from git URL */
|
|
166
186
|
repo: string;
|
|
167
187
|
/** PR number */
|
|
168
188
|
number: number;
|
|
@@ -176,6 +196,8 @@ export interface LinkedPR {
|
|
|
176
196
|
checksPass: boolean;
|
|
177
197
|
/** Whether PR is mergeable */
|
|
178
198
|
mergeable: boolean;
|
|
199
|
+
/** Hosting platform type */
|
|
200
|
+
platformType?: PlatformType;
|
|
179
201
|
}
|
|
180
202
|
/**
|
|
181
203
|
* A manifest PR that tracks linked child PRs
|
|
@@ -245,12 +267,24 @@ export interface PRMergeOptions {
|
|
|
245
267
|
force?: boolean;
|
|
246
268
|
}
|
|
247
269
|
/**
|
|
248
|
-
*
|
|
270
|
+
* Repository info extracted from URL (platform-agnostic)
|
|
271
|
+
* @deprecated Use ParsedRepoInfo from platform/types.ts instead
|
|
249
272
|
*/
|
|
250
273
|
export interface GitHubRepoInfo {
|
|
251
274
|
owner: string;
|
|
252
275
|
repo: string;
|
|
253
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* Repository info extracted from git URL (platform-agnostic)
|
|
279
|
+
*/
|
|
280
|
+
export interface ParsedRepoInfo {
|
|
281
|
+
owner: string;
|
|
282
|
+
repo: string;
|
|
283
|
+
/** Project name (Azure DevOps only) */
|
|
284
|
+
project?: string;
|
|
285
|
+
/** Detected platform type */
|
|
286
|
+
platform?: PlatformType;
|
|
287
|
+
}
|
|
254
288
|
/**
|
|
255
289
|
* Status of a file link (copyfile or linkfile)
|
|
256
290
|
*/
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,mCAAmC;IACnC,GAAG,EAAE,MAAM,CAAC;IACZ,kDAAkD;IAClD,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,6BAA6B;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,2CAA2C;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,+CAA+C;IAC/C,cAAc,EAAE,MAAM,CAAC;IACvB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;IAC5B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,cAAc,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,cAAc,CAAC;AAEhE;;GAEG;A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AA+B;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,GAAG,EAAE,MAAM,CAAC;IACZ,+CAA+C;IAC/C,GAAG,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,yCAAyC;IACzC,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gitgrip",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "git a grip - Multi-repo workflow tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -23,6 +23,8 @@
|
|
|
23
23
|
"multi-repo",
|
|
24
24
|
"monorepo",
|
|
25
25
|
"github",
|
|
26
|
+
"gitlab",
|
|
27
|
+
"azure-devops",
|
|
26
28
|
"pr",
|
|
27
29
|
"cli",
|
|
28
30
|
"workflow"
|