diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 7d590c9..270c4d2 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -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 diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e7f24cc..7366f59 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -4,9 +4,9 @@ #### Any other comments? -## Local tests on OSs +#### Local tests on OSs -- [ ] MacOS +- [ ] macOS - [ ] Sonoma - [ ] Windows - [ ] Windows 11 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4035feb..94d150e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index f172cdc..0ce222d 100644 --- a/README.md +++ b/README.md @@ -2,21 +2,11 @@

Nava


- - built with Python3 - - - PyPI version - - - - - - Codecov - - - Discord Channel - + built with Python3 + PyPI version + + Codecov + Discord Channel ## Overview @@ -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 @@ -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 diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..b7b324a --- /dev/null +++ b/SECURITY.md @@ -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). \ No newline at end of file diff --git a/others/RELEASE.md b/others/RELEASE.md index fe8efee..a3034b5 100644 --- a/others/RELEASE.md +++ b/others/RELEASE.md @@ -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 diff --git a/others/version_check.py b/others/version_check.py index 44e9eb1..45d45d1 100644 --- a/others/version_check.py +++ b/others/version_check.py @@ -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, } diff --git a/setup.py b/setup.py index b26d4f6..2c1aebe 100644 --- a/setup.py +++ b/setup.py @@ -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",