Skip to content

Commit 9dc2906

Browse files
committed
Initial commit, with pre-pre-alpha version
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
1 parent 056af6e commit 9dc2906

Some content is hidden

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

51 files changed

+3936
-2
lines changed

.gitattributes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Declare files that always have LF line endings on checkout
2+
* text eol=lf
3+
4+
# Denote all files that are truly binary and should not be modified
5+
*.bin binary
6+
*.heif binary
7+
*.heic binary
8+
*.hif binary
9+
*.avif binary
10+
*.png binary
11+
*.gif binary
12+
*.webp binary
13+
*.tiff binary
14+
*.jpeg binary
15+
*.jpg binary
16+
17+
# Files to exclude from GitHub Languages statistics
18+
*.h linguist-vendored=true
19+
*.Dockerfile linguist-vendored=true

.github/.codecov.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
codecov:
2+
notify:
3+
after_n_builds: 2
4+
5+
comment:
6+
require_changes: true
7+
layout: "diff, files"
8+
9+
coverage:
10+
status:
11+
project:
12+
default:
13+
target: auto
14+
threshold: 2%
15+
patch: off
16+
17+
fixes:
18+
- "nc_py_api/::"

.github/CODE_OF_CONDUCT.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Code of Conduct
2+
3+
Be openness, as well as friendly and didactic in discussions.
4+
5+
Treat everybody equally, and value their contributions.
6+
7+
Decisions are made based on technical merit and consensus.
8+
9+
Try to follow most principles described here: https://nextcloud.com/code-of-conduct/

.github/CONTRIBUTING.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Contributing to nc_py_api
2+
3+
Bug fixes, feature additions, tests, documentation and more can be contributed via [issues](https://github.com/cloud-py-api/nc_py_api/issues) and/or [pull requests](https://github.com/cloud_py_api/nc_py_api/pulls).
4+
All contributions are welcome.
5+
6+
## Bug fixes, feature additions, etc.
7+
8+
Please send a pull request to the `main` branch. Feel free to ask questions [via issues](https://github.com/cloud-py-api/nc_py_api/issues) or [discussions](https://github.com/cloud_py_api/nc_py_api/discussions)
9+
10+
- Fork the nc_py_api repository.
11+
- Create a new branch from `main`.
12+
- Install dev requirements with `pip install ".[dev]"`
13+
- Develop bug fixes, features, tests, etc.
14+
- Most of the tests are designed to run from under the GitHub actions. If you want to run them locally, see this [guide](to-do)
15+
- Install `pylint` locally, it will run during `pre-commit`.
16+
- Install `pre-commit` hooks by `pre-commit install` command.
17+
- Create a pull request to pull the changes from your branch to the nc_py_api `main`.
18+
19+
### Guidelines
20+
21+
- Separate code commits from reformatting commits.
22+
- Where possible, provide tests for any newly added code.
23+
- Follow PEP 8.
24+
- Update CHANGELOG.md as needed or appropriate with your bug fixes, feature additions and tests.
25+
26+
## Security vulnerabilities
27+
28+
Please see our [security policy](https://github.com/cloud-py-api/nc_py_api/blob/main/.github/SECURITY.md).

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Fixes # .
2+
3+
Changes proposed in this pull request:
4+
5+
*
6+
*
7+
*

.github/SECURITY.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
5+
Only the latest non beta release version of `nc_py_api` are currently being supported with security updates.
6+
7+
## Reporting a Vulnerability
8+
9+
Security is very important to us. If you have discovered a security issue with Nextcloud,
10+
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
11+
Your report should include:
12+
13+
- Product version
14+
- A vulnerability description
15+
- Reproduction steps
16+
17+
If in scope of the project a member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
18+
Otherwise, the team will contact the maintainer and make sure the issue gets fixed.
19+
The fix will be applied to the main branch, tested, and packaged in the next security release.
20+
The vulnerability will be publicly announced after the release.
21+
22+
Finally, your name will be added to the [hall of fame](https://hackerone.com/nextcloud/thanks)
23+
as a thank you from the entire Nextcloud community.
24+
25+
Note our [threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
26+
27+
Please visit https://nextcloud.com/security/ for further information about security.

.github/renovate.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base",
5+
":disableDependencyDashboard"
6+
],
7+
"ignorePaths": [
8+
"**/docker/**",
9+
"**/docs/**",
10+
"**/examples/**",
11+
"**/tests/**"
12+
]
13+
}

0 commit comments

Comments
 (0)