Skip to content

Commit

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

* doc : RELEASE.md updated

* doc : RELEASE.md updated

* doc : CHANGELOG.md updated

* fix : windows version fixed

* fix : version_check.py updated

* doc : badges bug fixed

* fix : SECURITY.md version fixed

* doc : AUTHORS.md updated
  • Loading branch information
sepandhaghighi committed May 12, 2024
1 parent eaef465 commit 7922e5d
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04,windows-latest]
os: [ubuntu-20.04, windows-2022]
python-version: [3.6, 3.7, 3.8, 3.9, 3.10.0, 3.11.0, 3.12.0]
env:
DISPLAY: :99.0
Expand Down
4 changes: 2 additions & 2 deletions AUTHORS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Core Developers #
# Core Developers

----------
- Mohammad Mahdi Rahimi - ECSIM - ([GitHub](https://github.com/mahi97))
Expand All @@ -9,7 +9,7 @@
** **Maintainer**


# Other Contributors #
# Other Contributors

----------
- [Sadra Sabouri](https://github.com/sadrasabouri)
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ 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
- `README.md` modified
- Logo updated
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
<div align="center">
<img src="https://github.com/ECSIM/gopem/raw/master/rsrc/logo.png" width=320px>
<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/gopem">
<img src="https://badge.fury.io/py/gopem.svg" alt="PyPI version" height="18">
</a>
<a href="https://discord.gg/mgpwvEuBxZ">
<img src="https://img.shields.io/discord/1006472275920425012.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/gopem"><img src="https://badge.fury.io/py/gopem.svg" alt="PyPI version" height="18"></a>
<a href="https://discord.gg/mgpwvEuBxZ"><img src="https://img.shields.io/discord/1006472275920425012.svg" alt="Discord Channel"></a>
</div>

--------
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.8 | :white_check_mark: |
| < 0.8 | :x: |

## Reporting a Vulnerability

Please report security vulnerabilities by email to [opem@ecsim.site](mailto:opem@ecsim.site "opem@ecsim.site").

If the security vulnerability is accepted, a dedicated bugfix release will be issued as soon as possible (depending on the complexity of the fix).
13 changes: 7 additions & 6 deletions rsrc/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# GOPEM Release Instructions

#### Last Update: 2024-04-02
**Last Update: 2024-05-07**

1. Create the `release` branch under `develop`
2. Update all version tags
1. `setup.py`
2. `README.md`
3. `GOPEM.spec`
4. `GOPEM.iss`
5. `gopem/helper.py`
6. `rsrc/version_check.py`
7. `rsrc/Version.rc`
3. `SECURITY.md`
4. `GOPEM.spec`
5. `GOPEM.iss`
6. `gopem/helper.py`
7. `rsrc/version_check.py`
8. `rsrc/Version.rc`
3. Update `CHANGELOG.md`
1. Add a new header under `Unreleased` section (Example: `## [0.1] - 2022-08-17`)
2. Add a new compare link to the end of the file (Example: `[0.2]: https://github.com/ECSIM/gopem/compare/v0.1...v0.2`)
Expand Down
2 changes: 2 additions & 0 deletions rsrc/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@
INNO_ITEMS = ['#define MyAppVersion "{0}"']
SPEC_ITEMS = ['gopem_version = "{0}"']
ISSUE_TEMPLATE_ITEMS = ["- GOPEM {0}"]
SECURITY_ITEMS = ["| {0} | :white_check_mark: |", "| < {0} | :x: |"]
FILES = {
"setup.py": SETUP_ITEMS,
"README.md": INSTALL_ITEMS,
"CHANGELOG.md": CHANGELOG_ITEMS,
"SECURITY.md": SECURITY_ITEMS,
os.path.join(
"gopem",
"helper.py"): PARAMS_ITEMS,
Expand Down

0 comments on commit 7922e5d

Please sign in to comment.