Skip to content

Commit

Permalink
SECURITY.md (#44)
Browse files Browse the repository at this point in the history
* doc : SECURITY.md added

* fix : version_check.py updated

* doc : RELEASE.md updated

* doc : SECURITY.md version fixed

* doc : badges text-decoration bug fixed

* doc : indent in README.md

* doc : CHANGELOG.md updated

* doc : minor edit in PULL_REQUEST_TEMPLATE.md

* doc : email address changed

* doc : minor edit in PULL_REQUEST_TEMPLATE.md
  • Loading branch information
sepandhaghighi authored Apr 20, 2024
1 parent fc410f9 commit 4086cb3
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ representative at an online or offline event.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
info@openscilab.com.
nava@openscilab.com.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

#### Any other comments?

## Local tests on OSs
#### Local tests on OSs

- [ ] MacOS
- [ ] macOS
- [ ] Sonoma
- [ ] Windows
- [ ] Windows 11
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
### Added
- `SECURITY.md`
### Changed
- OSs local checklist added to pull request template
- `README.md` modified
## [0.5] - 2024-04-03
### Changed
- `loop` parameter added to `play` function
Expand Down
25 changes: 8 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,11 @@
<img src="https://github.com/openscilab/nava/raw/main/others/logo.png" width="300" height="300">
<h1>Nava</h1>
<br/>
<a href="https://www.python.org/">
<img src="https://img.shields.io/badge/built%20with-Python3-green.svg" alt="built with Python3"/>
</a>
<a href="https://badge.fury.io/py/nava">
<img src="https://badge.fury.io/py/nava.svg" alt="PyPI version" height="18">
</a>
<a href="https://anaconda.org/openscilab/nava">
<img src="https://anaconda.org/openscilab/nava/badges/version.svg">
</a>
<a href="https://codecov.io/gh/openscilab/nava">
<img src="https://codecov.io/gh/openscilab/nava/branch/main/graph/badge.svg" alt="Codecov">
</a>
<a href="https://discord.gg/MCbPKCFBs3">
<img src="https://img.shields.io/discord/1064533716615049236.svg" alt="Discord Channel">
</a>
<a href="https://www.python.org/"><img src="https://img.shields.io/badge/built%20with-Python3-green.svg" alt="built with Python3"></a>
<a href="https://badge.fury.io/py/nava"><img src="https://badge.fury.io/py/nava.svg" alt="PyPI version" height="18"></a>
<a href="https://anaconda.org/openscilab/nava"><img src="https://anaconda.org/openscilab/nava/badges/version.svg"></a>
<a href="https://codecov.io/gh/openscilab/nava"><img src="https://codecov.io/gh/openscilab/nava/branch/main/graph/badge.svg" alt="Codecov"></a>
<a href="https://discord.gg/MCbPKCFBs3"><img src="https://img.shields.io/discord/1064533716615049236.svg" alt="Discord Channel"></a>
</div>

## Overview
Expand Down Expand Up @@ -118,7 +108,8 @@ stop(sound_id)

### Loop mode

⚠️ The `loop` parameter has a default value of `False`
⚠️ The `loop` parameter has a default value of `False`

⚠️ You should always set `async_mode` flag when you are using `loop`

```python
Expand Down Expand Up @@ -169,7 +160,7 @@ List of different platforms and the corresponding engines that are used for soun

## Issues & bug reports

Just fill an issue and describe it. We'll check it ASAP! or send an email to [info@openscilab.com](mailto:info@openscilab.com "info@openscilab.com").
Just fill an issue and describe it. We'll check it ASAP! or send an email to [nava@openscilab.com](mailto:nava@openscilab.com "nava@openscilab.com").

- Please complete the issue template

Expand Down
14 changes: 14 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security policy

## Supported versions

| Version | Supported |
| ------------- | ------------------ |
| 0.5 | :white_check_mark: |
| < 0.5 | :x: |

## Reporting a vulnerability

Please report security vulnerabilities by email to [nava@openscilab.com](mailto:nava@openscilab.com "nava@openscilab.com").

If the security vulnerability is accepted, a dedicated bugfix release will be issued as soon as possible (depending on the complexity of the fix).
9 changes: 5 additions & 4 deletions others/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@

# Nava Release Instructions

#### Last Update: 2024-02-12
#### Last Update: 2024-04-20

1. Create the `release` branch under `dev`
2. Update all version tags
1. `setup.py`
2. `README.md`
3. `others/version_check.py`
4. `others/meta.yaml`
5. `nava/params.py`
3. `SECURITY.md`
4. `others/version_check.py`
5. `others/meta.yaml`
6. `nava/params.py`
3. Update `CHANGELOG.md`
4. Update `.github/ISSUE_TEMPLATE/bug_report.yml`
1. Add new version tag to `Nava version` dropbox options
Expand Down
2 changes: 2 additions & 0 deletions others/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
PARAMS_ITEMS = ['NAVA_VERSION = "{0}"']
META_ITEMS = ['% set version = "{0}" %']
ISSUE_TEMPLATE_ITEMS = ["- Nava {0}"]
SECURITY_ITEMS = ["| {0} | :white_check_mark: |", "| < {0} | :x: |"]

FILES = {
os.path.join("others", "meta.yaml"): META_ITEMS,
"setup.py": SETUP_ITEMS,
"README.md": README_ITEMS,
"CHANGELOG.md": CHANGELOG_ITEMS,
"SECURITY.md": SECURITY_ITEMS,
os.path.join("nava", "params.py"): PARAMS_ITEMS,
os.path.join(".github", "ISSUE_TEMPLATE", "bug_report.yml"): ISSUE_TEMPLATE_ITEMS,
}
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ def read_description():
description='A Python library for playing sound everywhere natively and securely.',
long_description=read_description(),
long_description_content_type='text/markdown',
author='OpenSciLab Development Team',
author_email='info@openscilab.com',
author='Nava Development Team',
author_email='nava@openscilab.com',
url='https://github.com/openscilab/nava',
download_url='https://github.com/openscilab/nava/tarball/v0.5',
keywords="sound wav music mp3 player audio",
Expand Down

0 comments on commit 4086cb3

Please sign in to comment.