-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from essentialkaos/develop
Version 0.5.0
- Loading branch information
Showing
8 changed files
with
186 additions
and
48 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,21 @@ | ||
# Contributing Guidelines | ||
|
||
Contributing guidelines for open-source EK projects. | ||
|
||
**IMPORTANT! Contribute your code only if you have an excellent understanding of project idea and all existing code base. Otherwise, a nicely formatted issue will be more helpful to us.** | ||
|
||
### Issues | ||
|
||
1. Provide product version where the problem was found; | ||
2. Provide info about your environment; | ||
3. Provide detailed info about your problem; | ||
4. Provide steps to reproduce the problem; | ||
5. Provide actual and expected results. | ||
|
||
### Code | ||
|
||
1. Check your code **before** creating pull request; | ||
2. If tests are present in a project, add tests for your code; | ||
3. Add inline documentation for your code; | ||
4. Apply code style used throughout the project; | ||
5. Create your pull request to `develop` branch (_pull requests to other branches are not allowed_). |
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,53 @@ | ||
_Before opening an issue, search for similar bug reports or feature requests on GitHub Issues. If yes, please add a_ 👍 _reaction to the existing issue. If no similar issue can be found, fill out either the "Bug Report" or the "Feature Request" section below. Erase the other section and everything on and above this line._ | ||
|
||
### Bug report | ||
|
||
**System info:** | ||
|
||
* **Version used (`shdoc -v`):** | ||
* **OS (`cat /etc/*-release`):** | ||
* **Kernel (`uname -a`):** | ||
* **Install tools:** | ||
|
||
**System info:** | ||
|
||
1. [First Step] | ||
2. [Second Step] | ||
3. [and so on...] | ||
|
||
**Expected behavior:** | ||
|
||
[What you expected to happen] | ||
|
||
**Actual behavior:** | ||
|
||
[What actually happened] | ||
|
||
**Additional info:** | ||
|
||
[Include gist of relevant config, logs, etc.] | ||
|
||
Please run those if possible and link them from a [gist](http://gist.github.com). | ||
|
||
--- | ||
|
||
### Feature Request | ||
|
||
Opening a feature request kicks off a discussion. Requests may be closed if we're not actively planning to work on them. | ||
|
||
**Proposal:** | ||
|
||
[Description of the feature] | ||
|
||
**Current behavior:** | ||
|
||
[What currently happens] | ||
|
||
**Desired behavior:** | ||
|
||
[What you would like to happen] | ||
|
||
**Use case:** | ||
|
||
[Why is this important (helps with prioritizing requests)] | ||
|
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,25 @@ | ||
### What did you implement: | ||
|
||
Closes #XXXXX | ||
|
||
### How did you implement it: | ||
|
||
... | ||
|
||
### How can we verify it: | ||
|
||
... | ||
|
||
### TODO's: | ||
|
||
- [ ] Write tests | ||
- [ ] Write documentation | ||
- [ ] Check that there aren't other open pull requests for the same issue/feature | ||
- [ ] Format your source code by `make fmt` | ||
- [ ] Pass the test by `make test` | ||
- [ ] Provide verification config / commands | ||
- [ ] Enable "Allow edits from maintainers" for this PR | ||
- [ ] Update the messages below | ||
|
||
**Is this ready for review?:** No | ||
**Is it a breaking change?:** No |
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,26 @@ | ||
// +build gofuzz | ||
|
||
package parser | ||
|
||
// ////////////////////////////////////////////////////////////////////////////////// // | ||
// // | ||
// Copyright (c) 2009-2017 ESSENTIAL KAOS // | ||
// Essential Kaos Open Source License <https://essentialkaos.com/ekol> // | ||
// // | ||
// ////////////////////////////////////////////////////////////////////////////////// // | ||
|
||
import ( | ||
"bytes" | ||
) | ||
|
||
// ////////////////////////////////////////////////////////////////////////////////// // | ||
|
||
func Fuzz(data []byte) int { | ||
_, errs := readData("temp", bytes.NewReader(data)) | ||
|
||
if len(errs) != 0 { | ||
return 0 | ||
} | ||
|
||
return 1 | ||
} |
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
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