-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue-#3-hooks-tests-fixes
- Loading branch information
Showing
8 changed files
with
306 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Contributing to Rhum | ||
|
||
## Bug Reports | ||
|
||
A bug is a *demonstrable problem* that is caused by the code in the repository. Good bug reports are extremely helpful, so thanks! | ||
If you want to report a bug, click [here](https://github.com/drashland/rhum/issues/new?assignees=&labels=bug&template=bug_report.md&title=). | ||
|
||
## Feature Requests | ||
Feature requests are welcome. But take a moment to find out whether your idea fits with the scope and aims of the project. It's up to *you* to make a strong case to convince the project developer of the merits of this feature. Please provide as much detail and context as possible. If you want to request a feature, click [here](https://github.com/drashland/rhum/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=). | ||
|
||
## Pull Requests | ||
|
||
Please **ask first** before embarking on any significant pull request (e.g. implementing features, refactoring code), otherwise you risk spending a lot of time working on something that the project's developers might not want to merge into the project. | ||
|
||
1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your fork, and configure the remotes: | ||
```bash | ||
# Clone your fork of the repo into the current directory | ||
git clone https://github.com/<your-username>/rhum.git | ||
# Navigate to the newly cloned directory | ||
cd rhum | ||
# Assign the original repo to a remote called "upstream" | ||
git remote add upstream https://github.com/drashland/rhum.git | ||
``` | ||
2. If you cloned a while ago, get the latest changes from upstream: | ||
```bash | ||
git checkout master | ||
git pull upstream master | ||
``` | ||
3. Create a new topic branch (off the main project development branch) to contain your feature, change, or fix: | ||
```bash | ||
git checkout -b <topic-branch-name> | ||
``` | ||
4. Push your topic branch up to your fork: | ||
```bash | ||
git push origin <topic-branch-name> | ||
``` | ||
5. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) with a clear title and description against the `master` branch. | ||
|
||
***Note:*** It is recommended that you *"clean up"* your commits before opening a pull request. Maybe take a look at `git rebase --interactive` to do this. | ||
|
||
## Code Guidelines | ||
- Code should follow [Deno Style Guide](https://deno.land/manual/contributing/style_guide). | ||
|
||
- As a rule of thumb, always format your code using `deno fmt` before opening your pull request. Run this as your last single commit. If you forgot to correctly format it, just add a commit with the message *deno fmt* (`git commit -m "deno fmt"`). | ||
|
||
## License | ||
By submitting a patch, you agree to allow the project owners to license your work under the terms of the [MIT License](../LICENSE). | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: bumper | ||
on: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
jobs: | ||
update-dep: | ||
strategy: | ||
matrix: | ||
deno: ["1.1.1"] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Install Deno | ||
uses: denolib/setup-deno@master | ||
with: | ||
deno-version: ${{ matrix.deno }} | ||
|
||
- name: Update Dependencies | ||
run: deno run --allow-net --allow-read --allow-write https://deno.land/x/dmm/mod.ts update | ||
|
||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v2 | ||
with: | ||
token: ${{ secrets.CI_USER_PAT }} | ||
commit-message: Update dependencies | ||
title: Update dependencies | ||
body: This was auto-generated by GitHub Actions. | ||
branch: update-dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 the Rhum authors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
export { ServerRequest } from "https://deno.land/std@v0.57.0/http/server.ts"; | ||
export { ServerRequest } from "https://deno.land/std@v0.58.0/http/server.ts"; | ||
|
||
export { BufReader } from "https://deno.land/std@v0.57.0/io/bufio.ts"; | ||
export { BufReader } from "https://deno.land/std@v0.58.0/io/bufio.ts"; | ||
|
||
export * as asserts from "https://deno.land/[email protected]/testing/asserts.ts"; | ||
export * as asserts from "https://deno.land/[email protected]/testing/asserts.ts"; | ||
|
||
export * as colors from "https://deno.land/[email protected]/fmt/colors.ts"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.