Skip to content
This repository was archived by the owner on Apr 1, 2020. It is now read-only.

Commit 491a5d8

Browse files
committed
Merge branch 'master' into stable
2 parents 327aaba + 2336dc7 commit 491a5d8

File tree

211 files changed

+32219
-26914
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

211 files changed

+32219
-26914
lines changed

.github/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
# Comment to be posted to on first time issues
22
newIssueWelcomeComment: >
33
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
4+
backers:
5+
- 13532591
6+
- 5097613
7+
- 22454918
8+
- 347552
9+
- 977348
10+
- 28748
11+
- 2835826
12+
- 515720
13+
- 124171
14+
- 230476
15+
- 10102132
16+
- 10038688
17+
- 817509
18+
- 163128

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ $LOCALAPPDATA
1616
lib
1717
lib_test
1818
dist
19+
s3_dist
1920

2021
### https://raw.github.com/github/gitignore/2b3b1f428fb84dc4ba3ad2307ec44af3c5799848/Node.gitignore
2122

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
9

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
package.json
2+
vim/core/oni-plugin-typescript/package.json

.travis.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,11 @@ install:
2929
- yarn install
3030
script:
3131
- ./build/script/travis-build.sh
32-
after_success:
33-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then node_modules/.bin/coveralls < .nyc_output/lcov.info; fi
3432
deploy:
3533
- provider: s3
36-
access_key_id: AKIAIPVCKNWKWB2XULQQ
34+
access_key_id: AKIAIYMATI2CEFTHPBOQ
3735
secret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7ORExOB5+O3wmXKQGdItyBTS7sW44n6BTyv87WxWuCaSDQ9QaO9PrbJdN5YGEYeRxSTM7Mn0t72IILkfFCUeSg6fl6tFs9iWIj5zltbxH1GQsRpA8j1Idg4O+894KnQABtw/YKh6rrdeYS9y/100qAjtV6qYyiP2IdPqMWGuasOiz87q3CQ8Ejd7uhiTjAaINVqos+0k04Yf5+rT4MqkeXnYFzjXuXcqDlpq6yJIZv3aD+PMSlZi2WmTYnPJXQFndHo/x9FhEh90UF9WdO5S27ySRSo8XQT4DyL3ToPkqz8y0slNmaNqiqMouQAU=
3937
bucket: oni-media
4038
local-dir: dist/media
4139
acl: public_read
@@ -44,6 +42,18 @@ deploy:
4442
on:
4543
condition: $TRAVIS_OS_NAME = osx
4644
repo: onivim/oni
45+
- provider: s3
46+
access_key_id: AKIAIYMATI2CEFTHPBOQ
47+
secret_access_key:
48+
secure: S4f/aczEABGAMKk2tmVSkoGx+T2TLPmz5z6x6RKaM+eDmAaVSAELlIj1eAz6Tu2lv3jz+cpyAIISZNC/phORsJWwzbSZHVycLrMG0N3fDTqKFxu1fl6L3b3exRe9SiKXug73ZvHfktzd/XfRcgZKop4qgrwGiM57m0ZuZb/j1LkgjytTuvNAUxXbA84I8LZs/NhY17XuXq+KPlGElIHy3UFoGqQ8pBnTypkIU5rQTsoeAxXLBE8JAFfz+nBGZ7dx6OMbQcKX5jKh/gR3vk+4aTgV8gNE2Zp24ErjSqF2zly/gP9nE2DpfR7jqpZVHnb/v+OEjRDS80tLhPo8Dbibzwt2ZZNADpYBjSGtphwAmq4DCvJ7ORExOB5+O3wmXKQGdItyBTS7sW44n6BTyv87WxWuCaSDQ9QaO9PrbJdN5YGEYeRxSTM7Mn0t72IILkfFCUeSg6fl6tFs9iWIj5zltbxH1GQsRpA8j1Idg4O+894KnQABtw/YKh6rrdeYS9y/100qAjtV6qYyiP2IdPqMWGuasOiz87q3CQ8Ejd7uhiTjAaINVqos+0k04Yf5+rT4MqkeXnYFzjXuXcqDlpq6yJIZv3aD+PMSlZi2WmTYnPJXQFndHo/x9FhEh90UF9WdO5S27ySRSo8XQT4DyL3ToPkqz8y0slNmaNqiqMouQAU=
49+
bucket: oni-builds
50+
local-dir: s3_dist
51+
upload-dir: $TRAVIS_BRANCH
52+
acl: public_read
53+
region: us-west-2
54+
skip_cleanup: true
55+
on:
56+
repo: onivim/oni
4757
- provider: releases
4858
api_key:
4959
secure: AjQUeQNockqkBrVQCOQGyKq+sZ9C4SabSqp/bmXayKTB+7AmM8oohenxC09Sc4/dmIW1PQnDYL/4fjclJSRaywV5oiPqUnfhTveALkKFErmYnhA8oFi3VJYg4Tbszb2lYGITLOluuuAZGw67JZIuuiXzw/yOUfdWTmRCAVGzTmqkPsusYg56L4iRBWDwYQ3mhHsuNKFO7SIx1nJatj5hK9AkDJlcVilpA5IuWLWOHLY7nplFPUPUwMkRd99nifB7ITycbaAX4zLwp2U2wCb2uSTOzsFNfXykksf8AlreH0615Jb+T39/dDwQurDAQE3h+KUH5QhEvRJ1uphkGvx/x6Vn0LkJuSqS5DLeSATmVOVRK2f6AXcymvn/64qxizjlBR7bBoUxM55311qWJNKKk2FYFTAIW5fMzN0MRbaulpnpBwmhnBvd03rOMIghnvClHv2m8Eh5A6ppPnLcl2Vn7jsrqTmMm+PM1ppIWhCpvC7xn4digx1GGHXlYzfHkDxtnHwHcbj+WOkc+j4ha8Os+1ctdT3OJXz5rwW4viorSIhWryK+G36beguXe5YaoeMcK9Vzmb+S0lHdA7RuCWiJ31i/9ZMbzBhLkdcf/wfj9n3mkqmzvc4Uc1NM8FHQ23URsodSHpTdDi7q25Eqge/JP82AqJ2zAWA+QKVg54xCQQc=

.vscode/launch.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@
1212
"windows": {
1313
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
1414
},
15-
"runtimeArgs": [
16-
"--enable-logging"
17-
],
15+
"runtimeArgs": ["--enable-logging"],
1816
"console": "internalConsole"
1917
},
2018
{
@@ -27,15 +25,12 @@
2725
"windows": {
2826
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron.cmd"
2927
},
30-
"runtimeArgs": [
31-
"--enable-logging",
32-
"${workspaceRoot}/lib/main/src/main.js"
33-
],
28+
"runtimeArgs": ["--enable-logging", "${workspaceRoot}/lib/main/src/main.js"],
3429
"webRoot": "${workspaceRoot}",
3530
"sourceMaps": true,
3631
"sourceMapPathOverrides": {
3732
"webpack:///./*": "${webRoot}/*"
3833
}
3934
}
4035
]
41-
}
36+
}

ACCOUNTING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
# ONI
2+
23
## Accounting
34

45
This file will contain a monthly report including:
5-
- Incoming contributions
6-
- How the contributions are distributed, in accordance with the project's goals
6+
7+
* Incoming contributions
8+
* How the contributions are distributed, in accordance with the project's goals
79

810
The initial plan for allocation is as follows:
9-
- 10% - Vim - Contribute to Bram's charity of choice
10-
- 20% - Neovim Development
11-
- 35% - Paid to contributors via bounties
12-
- 35% - Paid to maintainer
11+
12+
* 10% - Vim - Contribute to Bram's charity of choice
13+
* 20% - Neovim Development
14+
* 35% - Paid to contributors via bounties
15+
* 35% - Paid to maintainer
1316

1417
Your contributions help keep this project alive!
1518

BACKERS.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Oni is an MIT-licensed open-source project. It's an independent project without
44

55
If you use Oni, please consider joining them via the following options:
66

7-
- Become a backer on [OpenCollective](https://opencollective.com/oni#backer)
8-
- Become a backer on [Bountysource](https://salt.bountysource.com/teams/oni)
9-
- Make a donation via [PayPal](https://www.paypal.me/bryphe/25)
10-
- Make a donation via Bitcoin / Ethereum (coming soon)
7+
* Become a backer on [OpenCollective](https://opencollective.com/oni#backer)
8+
* Become a backer on [Bountysource](https://salt.bountysource.com/teams/oni)
9+
* Make a donation via [PayPal](https://www.paypal.me/bryphe/25)
10+
* Make a donation via Bitcoin / Ethereum (coming soon)
1111

1212
Thanks you to all our backers for making Oni possible!
1313

@@ -54,31 +54,31 @@ Thanks you to all our backers for making Oni possible!
5454

5555
## VIP Backers via BountySource
5656

57-
- @jordwalke
58-
- @mhartington
57+
* @jordwalke
58+
* @mhartington
5959

6060
## Backers via BountySource
6161

62-
- @adambard
63-
- @akin_so
64-
- @ayohan
65-
- @badosu
66-
- @josemarluedke
67-
- @napcode
68-
- @robtrac
69-
- @rrichardson
70-
- @sbuljac
62+
* @adambard
63+
* @akin_so
64+
* @ayohan
65+
* @badosu
66+
* @josemarluedke
67+
* @napcode
68+
* @robtrac
69+
* @rrichardson
70+
* @sbuljac
7171

7272
## Backers via PayPal
7373

74-
- @mchalkley
74+
* @mchalkley
7575

7676
## Backers via OpenCollective
7777

78-
- Tal Amuyal
79-
- Akinola Sowemimo
80-
- Martijn Arts
81-
- Amadeus Folego
78+
* Tal Amuyal
79+
* Akinola Sowemimo
80+
* Martijn Arts
81+
* Amadeus Folego
8282

8383
<a href="https://opencollective.com/oni/tiers/backer/0/website" target="_blank"><img src="https://opencollective.com/oni/tiers/backer/0/avatar.png"></a>
8484
<a href="https://opencollective.com/oni/tiers/backer/1/website" target="_blank"><img src="https://opencollective.com/oni/tiers/backer/1/avatar.png"></a>

CONTRIBUTING.md

Lines changed: 45 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,64 @@
44

55
First, thank you for considering contributing to oni! It's people like you that make the open source community such a great community! 😊
66

7-
We welcome any type of contribution, not only code. You can help with
8-
- **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
9-
- **Marketing**: writing blog posts, howto's, printing stickers, ...
10-
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
11-
- **Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
12-
- **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/oni).
7+
We welcome any type of contribution, not only code. You can help with
8+
9+
* **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
10+
* **Marketing**: writing blog posts, howto's, printing stickers, ...
11+
* **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
12+
* **Code**: take a look at the [open issues](issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
13+
* **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/oni).
1314

1415
## Your First Contribution
1516

16-
Working on your first Pull Request? You can learn how from this *free* series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
17+
Working on your first Pull Request? You can learn how from this _free_ series, [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
1718

1819
## Submitting code
1920

20-
Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests.
21+
Any code change should be submitted as a pull request. The description should explain what the code does and give steps to execute it. The pull request should also contain tests. We welcome and appreciate pull requests!
22+
23+
## Code review guidelines
2124

22-
## Code review process
25+
* Keep PRs **small and scoped**. The bigger the pull request, the longer it will take to review and merge. Break down large pull requests into smaller incremental chunks - this will help catch issues earlier and be easier on both you and the maintainer.
26+
* Following from the previous bullet point, **do not include unrelated changes in a PR**. It can be tempting to include extra styling changes or additional functionality, but these should be added as separate PRs.
27+
* Think of each PR as **improving the quality of the codebase**. Codebases tend towards entropy and disorder unless actively managed - make sure that your change moves the quality needle in the right direction. This can take a variety of forms, including adding test coverage, reducing coupling, etc. _As we are a small team moving fast, we cannot afford to accumulate technical debt._
28+
* If there is ambiguity in terms of design, architecture, or implementation, it's best to get **feedback before implementing**, to save both you and the maintainer time. If you're not sure, feel free to ask!
29+
* For your first few PRs, **don't try and change the world** - pick some small issues and get familiar with the codebase. Then, work your way up to bigger issues - this will set you up for success.
2330

24-
The bigger the pull request, the longer it will take to review and merge. Try to break down large pull requests in smaller chunks that are easier to review and merge.
25-
It is also always helpful to have some context for your pull request. What was the purpose? Why does it matter to you?
31+
PRs require approval from one other person, either a maintainer or a contributor. Keep in mind that when you approve code, you are accountable for it, too! Reviewers are the gatekeepers of quality and ensuring adherence to the guidelines above.
2632

2733
## Financial contributions
2834

2935
We also welcome financial contributions in full transparency on our [open collective](https://opencollective.com/oni).
3036
Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.
3137

38+
### Bounties
39+
40+
The primary allotment of our [open collective](https://opencollective.com/oni) budget is dedicated to bounties. Developing features and fixing bugs is a loit of work, and those go directly to the developers doing this work via bounties. It is the role of the _maintainer_ to set bounties and clear completion criteria. Issues that have a bounty associated with them will have a `bounty` label as well as an amount, ie, `bounty-50` means a $50 bounty.
41+
42+
* Guidelines:
43+
* The fix for the bug/feature/issue _MUST_ be complete and _MUST_ be covered by tests to be eligible for a bounty.
44+
* If you begin working on an issue with an associated bounty, open a PR with "WIP" and the bug number in the title, as well as reference the issue #. This is important to reduce duplicate work.
45+
* Upon completion, bounties are payable via an [open collective expense].
46+
47+
If you questions about the guidelines, please don't hesitate to contact the maintainer.
48+
49+
## Roles
50+
51+
There are various roles and responsibilities in managing an open-source project. Users that are active and have a positive impact on the project and community will be recognized and have the option of assuming additional responsibilities.
52+
53+
* **Maintainer** - A maintainer communicates goals and drives the vision for the project. The maintainer is responsible for breaking down hurdles and supporting contributors. In addition, the maintainer triages issues, produces releases, assigns bounties, and establishes completion criteria. Today, there is one maintainer, but that isn't a strict requirement.
54+
* **Collaborator** - A collaborator is an established member of the project that is recognized for their impact and contributions. They can triage and close issues, approve PRs from other contributors / collaborators, and can approve expenses on our [open collective](https://opencollective.com/oni)
55+
* **Contributor** - A contributor is a developer that has submitted a successful PR for the project.
56+
57+
### Becoming a collaborator
58+
59+
A collaborator is a contributor who has been recognized for the impact they've had on the project, over a sustained period of time. In general, this means the following:
60+
61+
* **Supporting the community** - helping others in issues and chat, supporting new developers, creating a positive and supportive environment.
62+
* **Technical impact** - involvement in a core technical piece of the editor, or a broad impact on the ecosystem.
63+
* **Positive and collaborative mindset** - creating good vibes, willingness to give and receive constructive feedback, being a team player.
64+
3265
## Questions
3366

3467
If you have any questions, create an [issue](issue) (protip: do a quick search first to see if someone else didn't ask the same question before!).
@@ -41,14 +74,12 @@ You can also reach us at hello@oni.opencollective.com.
4174
Thank you to all the people who have already contributed to oni!
4275
<a href="graphs/contributors"><img src="https://opencollective.com/oni/contributors.svg?width=890" /></a>
4376

44-
4577
### Backers
4678

4779
Thank you to all our backers! [[Become a backer](https://opencollective.com/oni#backer)]
4880

4981
<a href="https://opencollective.com/oni#backers" target="_blank"><img src="https://opencollective.com/oni/backers.svg?width=890"></a>
5082

51-
5283
### Sponsors
5384

5485
Thank you to all our sponsors! (please ask your company to also support this open source project by [becoming a sponsor](https://opencollective.com/oni#sponsor))
@@ -64,4 +95,4 @@ Thank you to all our sponsors! (please ask your company to also support this ope
6495
<a href="https://opencollective.com/oni/sponsor/8/website" target="_blank"><img src="https://opencollective.com/oni/sponsor/8/avatar.svg"></a>
6596
<a href="https://opencollective.com/oni/sponsor/9/website" target="_blank"><img src="https://opencollective.com/oni/sponsor/9/avatar.svg"></a>
6697

67-
<!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->
98+
<!-- This `CONTRIBUTING.md` is based on @nayafia's template https://github.com/nayafia/contributing-template -->

0 commit comments

Comments
 (0)