Skip to content

Commit

Permalink
Simplified Contributions and Automated development setup using Gitpod (
Browse files Browse the repository at this point in the history
…carbon-app#798)

* Automated development setup using Gitpod

* code -> infra

* update .gitpod.yml

* Update CONTRIBUTING.md

* simplified gitpod config file

* fix up contributing document
  • Loading branch information
anudeepreddy authored and repo-ranger[bot] committed Jul 12, 2019
1 parent 7fdda47 commit 0444ee7
Show file tree
Hide file tree
Showing 17 changed files with 910 additions and 36 deletions.
12 changes: 11 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,19 @@
"code",
"test"
]
},
{
"login": "anudeepreddy",
"name": "Anudeep Reddy",
"avatar_url": "https://avatars0.githubusercontent.com/u/6022231?v=4",
"profile": "https://techgeekhub.ml",
"contributions": [
"infra"
]
}
],
"repoType": "github",
"repoHost": "https://github.com",
"contributorsPerLine": 7
"contributorsPerLine": 7,
"commitConvention": "none"
}
10 changes: 9 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
If you have discovered a bug or have a feature suggestion, feel free to create an issue on GitHub.

If you'd like to make some changes yourself, see the following:

1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device
2. Make sure yarn is globally installed (`npm install -g yarn`)
3. Run `yarn` to download required packages.
Expand All @@ -12,7 +13,14 @@ If you'd like to make some changes yourself, see the following:

This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!

### A note on adding themes/languages
### Automated Setup

Alternatively, you can also open this repository in Gitpod, an online IDE for GitHub. Just click on the button below and all of the above mentioned work is automated, so you don't have to worry about setting up your environment.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/dawnlabs/carbon)

### Adding themes/languages

We're happy to accept any PRs adding new themes and languages to Carbon! Currently there are a few ways to do so:

1. If the [theme](https://codemirror.net/demo/theme.html) or [language](https://codemirror.net/mode/index.html) is supported in Codemirror, all you have to do is add a [constant](https://github.com/dawnlabs/carbon/blob/master/lib/constants.js) for it.
Expand Down
8 changes: 3 additions & 5 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<!--
Is your issue for a new theme or language? As of Carbon `3.0.0`, the core Carbon team is no
Is your issue for a new theme or language? As of Carbon `3.0.0`, the core Carbon team is no
longer implementing new themes or languages ourselves, but we are happy to accept PRs to add new ones.
Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#a-note-on-adding-themeslanguages for notes on how to do so 😄
Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#adding-themeslanguages for notes on how to do so 😄
-->
<!-- Attach a screenshot where applicable -->

### Expected Behavior

### Actual Behavior
Expand All @@ -18,6 +19,3 @@ Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.m
<summary>Code Snippet (If Applicable)</summary>
<!-- Paste an example code snippet as plain text here for failure cases -->
</details>



12 changes: 6 additions & 6 deletions .github/ranger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@ default:
delay: 1 days

labels:
"merge when passing": merge
'merge when passing': merge
greenkeeper: merge
dependencies: merge
wontfix: close
invalid: close
stale: close
duplicate: close
"theme/language":
'theme/language':
action: close
delay: 5 days
comment: |
This issue has been marked "$LABEL" and will be closed in $DELAY. As of Carbon `3.0.0`, the Carbon core team is no longer implementing new themes or languages (although the ability to create your own will be implemented soon!). However, PRs to add new ones will be happily accepted.
Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#a-note-on-adding-themeslanguages for notes on how to do so 👌.
Please see https://github.com/dawnlabs/carbon/blob/master/.github/CONTRIBUTING.md#adding-themeslanguages for notes on how to do so 👌.
comments:
- action: label
pattern: /duplicate of/i
labels:
labels:
- duplicate
- action: delete_comment
pattern: "+1"
pattern: '+1'

merges:
- action: delete_branch
6 changes: 6 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ports:
- port: 3000
onOpen: open-preview
tasks:
- init: yarn
command: yarn dev
73 changes: 72 additions & 1 deletion README.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.br.pt.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.cn.zh.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.de.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.es.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.fr.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.hi.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.ja.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.kr.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.ml.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.ta.md

Large diffs are not rendered by default.

75 changes: 73 additions & 2 deletions docs/README.tr.md

Large diffs are not rendered by default.

0 comments on commit 0444ee7

Please sign in to comment.