Переглянути джерело

Updates autolink descriptions

main
Eric Amodio 2 роки тому
джерело
коміт
290548dd9a
7 змінених файлів з 14 додано та 14 видалено
  1. +2
    -2
      src/git/remotes/azure-devops.ts
  2. +2
    -2
      src/git/remotes/bitbucket-server.ts
  3. +2
    -2
      src/git/remotes/bitbucket.ts
  4. +1
    -1
      src/git/remotes/gerrit.ts
  5. +1
    -1
      src/git/remotes/gitea.ts
  6. +3
    -3
      src/git/remotes/github.ts
  7. +3
    -3
      src/git/remotes/gitlab.ts

+ 2
- 2
src/git/remotes/azure-devops.ts Переглянути файл

@ -54,7 +54,7 @@ export class AzureDevOpsRemote extends RemoteProvider {
title: `Open Work Item #<num> on ${this.name}`,
type: AutolinkType.Issue,
description: `Work Item #<num> on ${this.name}`,
description: `${this.name} Work Item #<num>`,
},
{
// Default Pull request message when merging a PR in ADO. Will not catch commits & pushes following a different pattern.
@ -63,7 +63,7 @@ export class AzureDevOpsRemote extends RemoteProvider {
title: `Open Pull Request #<num> on ${this.name}`,
type: AutolinkType.PullRequest,
description: `Pull Request #<num> on ${this.name}`,
description: `${this.name} Pull Request #<num>`,
},
];
}

+ 2
- 2
src/git/remotes/bitbucket-server.ts Переглянути файл

@ -24,7 +24,7 @@ export class BitbucketServerRemote extends RemoteProvider {
title: `Open Issue #<num> on ${this.name}`,
type: AutolinkType.Issue,
description: `Issue #<num> on ${this.name}`,
description: `${this.name} Issue #<num>`,
},
{
prefix: 'pull request #',
@ -33,7 +33,7 @@ export class BitbucketServerRemote extends RemoteProvider {
title: `Open Pull Request #<num> on ${this.name}`,
type: AutolinkType.PullRequest,
description: `Pull Request #<num> on ${this.name}`,
description: `${this.name} Pull Request #<num>`,
},
];
}

+ 2
- 2
src/git/remotes/bitbucket.ts Переглянути файл

@ -24,7 +24,7 @@ export class BitbucketRemote extends RemoteProvider {
title: `Open Issue #<num> on ${this.name}`,
type: AutolinkType.Issue,
description: `Issue #<num> on ${this.name}`,
description: `${this.name} Issue #<num>`,
},
{
prefix: 'pull request #',
@ -32,7 +32,7 @@ export class BitbucketRemote extends RemoteProvider {
title: `Open Pull Request #<num> on ${this.name}`,
type: AutolinkType.PullRequest,
description: `Pull Request #<num> on ${this.name}`,
description: `${this.name} Pull Request #<num>`,
},
];
}

+ 1
- 1
src/git/remotes/gerrit.ts Переглянути файл

@ -42,7 +42,7 @@ export class GerritRemote extends RemoteProvider {
title: `Open Change #<num> on ${this.name}`,
alphanumeric: true,
description: `Change #<num> on ${this.name}`,
description: `${this.name} Change #<num>`,
},
];
}

+ 1
- 1
src/git/remotes/gitea.ts Переглянути файл

@ -24,7 +24,7 @@ export class GiteaRemote extends RemoteProvider {
title: `Open Issue #<num> on ${this.name}`,
type: AutolinkType.Issue,
description: `Issue #<num> on ${this.name}`,
description: `${this.name} Issue #<num>`,
},
];
}

+ 3
- 3
src/git/remotes/github.ts Переглянути файл

@ -60,7 +60,7 @@ export class GitHubRemote extends RichRemoteProvider {
url: `${this.baseUrl}/issues/<num>`,
title: `Open Issue or Pull Request #<num> on ${this.name}`,
description: `Issue or Pull Request #<num> on ${this.name}`,
description: `${this.name} Issue or Pull Request #<num>`,
},
{
prefix: 'gh-',
@ -68,7 +68,7 @@ export class GitHubRemote extends RichRemoteProvider {
title: `Open Issue or Pull Request #<num> on ${this.name}`,
ignoreCase: true,
description: `Issue or Pull Request #<num> on ${this.name}`,
description: `${this.name} Issue or Pull Request #<num>`,
},
{
tokenize: (
@ -110,7 +110,7 @@ export class GitHubRemote extends RichRemoteProvider {
url: `${this.protocol}://${this.domain}/${repo}/issues/${num}`,
title: `Open Issue or Pull Request #<num> from ${repo} on ${this.name}`,
description: `Issue or Pull Request #${num} from ${repo} on ${this.name}`,
description: `${this.name} Issue or Pull Request ${repo}#${num}`,
});
} while (true);
},

+ 3
- 3
src/git/remotes/gitlab.ts Переглянути файл

@ -56,7 +56,7 @@ export class GitLabRemote extends RichRemoteProvider {
title: `Open Issue #<num> on ${this.name}`,
type: AutolinkType.Issue,
description: `Issue #<num> on ${this.name}`,
description: `${this.name} Issue #<num>`,
},
{
prefix: '!',
@ -64,7 +64,7 @@ export class GitLabRemote extends RichRemoteProvider {
title: `Open Merge Request !<num> on ${this.name}`,
type: AutolinkType.PullRequest,
description: `Merge Request !<num> on ${this.name}`,
description: `${this.name} Merge Request !<num>`,
},
{
tokenize: (
@ -107,7 +107,7 @@ export class GitLabRemote extends RichRemoteProvider {
title: `Open Issue #<num> from ${repo} on ${this.name}`,
type: AutolinkType.Issue,
description: `Issue #${num} from ${repo} on ${this.name}`,
description: `${this.name} Issue ${repo}#${num}`,
});
} while (true);
},

Завантаження…
Відмінити
Зберегти