-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance Readme, add license and contrib files
add some checks for shell, perl and python scripts to the Makefile fix some python warnings
- Loading branch information
1 parent
4dc0a3c
commit 5665449
Showing
9 changed files
with
790 additions
and
101 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,4 @@ | ||
# this policy is considered harmful by the wider perl community | ||
[-Perl::Critic::Policy::Subroutines::ProhibitExplicitReturnUndef] | ||
|
||
[-Subroutines::ProhibitSubroutinePrototypes] |
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,9 @@ | ||
-l=120 # 120 characters per line | ||
-fbl # don't change blank lines | ||
-nsfs # no spaces before semicolons | ||
-baao # space after operators | ||
-bbao # space before operators | ||
-pt=2 # no spaces around () | ||
-bt=2 # no spaces around [] | ||
-sbt=2 # no spaces around {} | ||
-sct # stack closing tokens )} |
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,9 @@ | ||
dist: xenial | ||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get -qq install shellcheck | ||
- sudo apt-get -qq install libperl-critic-perl | ||
- sudo apt-get -qq install python-flake8 | ||
- sudo apt-get -qq install flake8 | ||
script: | ||
- make test |
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,23 @@ | ||
## How to contribute to SAPHanaSR | ||
|
||
#### **Did you find a bug?** | ||
|
||
* **Do not open up a GitHub issue if the bug is a security vulnerability | ||
in the application**, and instead contact the [security team](mailto:[email protected]). | ||
|
||
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/SUSE/SAPHanaSR/issues). | ||
|
||
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/SUSE/SAPHanaSR/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, including screenshots of what you see when pertinent. You can attach screenshots to the text by drag and dropping them. | ||
|
||
#### **Did you write a patch that fixes a bug?** | ||
|
||
* Open a new GitHub pull request with the patch. | ||
|
||
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable. | ||
* Screenshots are appreciated for visual changes, even on CLI outputs. | ||
|
||
|
||
#### **Do you intend to add a new feature or change an existing one?** | ||
|
||
* Please open an [issue](https://github.com/SUSE/SAPHanaSR/issues/new) to discuss your change before writing any code. | ||
* If the changes are visual, consider attaching screenshots showing the before/after change in the GitHub pull request description. |
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
Oops, something went wrong.