From 51e073f0463b2d32b003eff00b055f88dda96fc0 Mon Sep 17 00:00:00 2001 From: hotoo Date: Thu, 9 Feb 2017 13:16:26 +0800 Subject: [PATCH] feat: gitcafe merged into coding.net --- README.md | 6 +++--- lib/gitopenrc | 4 ---- lib/scheme/gitcafe.js | 30 ------------------------------ 3 files changed, 3 insertions(+), 37 deletions(-) delete mode 100644 lib/scheme/gitcafe.js diff --git a/README.md b/README.md index 7b12292..e147922 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ and * [GitHub](https://github.com/) * [GitLab](https://gitlab.com/) * [BitBucket](https://bitbucket.org/) -* [GitCafe](https://gitcafe.com/) +* ~~[GitCafe](https://gitcafe.com/)~~ Merged into coding.net. * [OSC](https://git.oschina.net/) * [Coding](https://coding.net/) * Custom @@ -83,13 +83,13 @@ $ gitopen @hotoo/gitopen # https://github.com/hotoo/gitopen Default support [github.com](https://github.com/), [bitbucket.org](https://bitbucket.org/), [gitlab.com](https://gitlab.com/), -[gitcafe.com](https://gitcafe.com/), [git.oschina.net](https://git.oschina.net/) +~~[gitcafe.com](https://gitcafe.com/)~~, [git.oschina.net](https://git.oschina.net/) and [coding.net](https://coding.net/). If you use [GitHub Enterprise](https://enterprise.github.com/), [GitLab Community Edition (CE), GitLab Enterprise Edition (EE)](https://gitlab.org/), [Atlassian Stash](https://www.atlassian.com/software/stash), -[GitCafe Enterprise](https://enterprise.gitcafe.com/) +~~[GitCafe Enterprise](https://enterprise.gitcafe.com/)~~ or other custom web system build you owner git server, you need config like: ~/.gitopenrc diff --git a/lib/gitopenrc b/lib/gitopenrc index cb71ae3..58000ef 100644 --- a/lib/gitopenrc +++ b/lib/gitopenrc @@ -11,10 +11,6 @@ module.exports = { protocol: "https", type: "bitbucket" }, - "gitcafe.com": { - protocol: "https", - type: "gitcafe" - }, "git.oschina.net": { protocol: "https", type: "oschina" diff --git a/lib/scheme/gitcafe.js b/lib/scheme/gitcafe.js deleted file mode 100644 index 01399de..0000000 --- a/lib/scheme/gitcafe.js +++ /dev/null @@ -1,30 +0,0 @@ -'use strict'; -module.exports = { - 'base': '{protocol}://{hostname}/{username}/{reponame}', - 'home': '', - 'issues': '/tickets', - 'issues/id': '/tickets/{issue-id}', - 'issues/new': '/tickets#new-issue', - 'issues/new?title': '/issues#new-issue?title={title}', - 'wiki': '/wiki', - 'network': '/graphs/master', - 'tree': '/tree/{hash}{path}', - 'blob': '/blob/{hash}{path}', - 'commit': '/commit/{hash}', - 'commits': '/commits/master', - 'commits-with-branch': '/commits/{branch-name}', - 'milestones': '', // NOT SUPPORT. - 'milestones/new': '', // NOT SUPPORT. - 'milestones/id': '', // NOT SUPPORT. - 'tags': '/tags', - 'releases': '/releases', - 'releases/new': '/releases/new', - 'releases/new-with-tag': '/releases/new?tag={tag}', - 'releases/edit/tag-id': '/releases/edit/{tag}', - 'pulls': '/pull', - 'pulls/id': '/pull/{pull-id}', - 'pulls/new': '/pull/new', - 'pulls/new-with-compare-branch': '/pull/new#{branch-B}', - 'pulls/new-with-base-branch': '/pull/new#{branch-A}...{branch-B}', - 'snippets/new': 'https://gist.github.com/', -};