Skip to content

Commit 8a90d72

Browse files
SubCoder1oscpache
authored andcommitted
Added CONTRIBUTING.md and SECURITY.md files in Connector/Python
Change-Id: If8352546a735208240540e6daa2ccf4f6e433716
1 parent 6f81ac5 commit 8a90d72

File tree

16 files changed

+419
-358
lines changed

16 files changed

+419
-358
lines changed

CONTRIBUTING.md

Lines changed: 358 additions & 0 deletions
Large diffs are not rendered by default.

CONTRIBUTING.rst

Lines changed: 0 additions & 343 deletions
This file was deleted.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ Contributing
196196
------------
197197

198198
There are a few ways to contribute to the Connector/Python code. Please refer
199-
to the `contributing guidelines <CONTRIBUTING.rst>`_ for additional information.
199+
to the `contributing guidelines <CONTRIBUTING.md>`_ for additional information.
200200

201201

202202
License

SECURITY.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Reporting security vulnerabilities
2+
3+
Oracle values the independent security research community and believes that
4+
responsible disclosure of security vulnerabilities helps us ensure the security
5+
and privacy of all our users.
6+
7+
Please do NOT raise a GitHub Issue to report a security vulnerability. If you
8+
believe you have found a security vulnerability, please submit a report to
9+
secalert_us@oracle.com preferably with a proof of concept. Please review
10+
some additional information on how to report security vulnerabilities to Oracle
11+
(see https://www.oracle.com/corporate/security-practices/assurance/vulnerability/reporting.html)
12+
We encourage people who contact Oracle Security to use email encryption using
13+
our encryption key (see https://www.oracle.com/security-alerts/encryptionkey.html)
14+
15+
We ask that you do not use other channels or contact the project maintainers
16+
directly.
17+
18+
# Security updates, alerts and bulletins
19+
20+
Security updates will be released on a regular cadence. Many of our projects
21+
will typically release security fixes in conjunction with the Oracle Critical Patch
22+
Update program. Additional information, including past advisories, is available on our
23+
security alerts page at https://www.oracle.com/security-alerts/
24+
25+
# Security-related information
26+
27+
We will provide security related information such as a threat model, considerations
28+
for secure use, or any known security issues in our documentation. Please note
29+
that labs and sample code are intended to demonstrate a concept and may not be
30+
sufficiently hardened for production use.

mysql-connector-python/MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
include README.txt
22
include README.rst
33
include LICENSE.txt
4-
include CONTRIBUTING.rst
4+
include CONTRIBUTING.md
5+
include SECURITY.md
56
include CHANGES.txt
67
include setup.py
78
include unittests.py

mysql-connector-python/cpydist/bdist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ def run(self):
200200
("README.txt", "README.txt"),
201201
("LICENSE.txt", "LICENSE.txt"),
202202
("README.rst", "README.rst"),
203-
("CONTRIBUTING.rst", "CONTRIBUTING.rst"),
203+
("CONTRIBUTING.md", "CONTRIBUTING.md"),
204+
("SECURITY.md", "SECURITY.md"),
204205
("docs/INFO_SRC", "INFO_SRC"),
205206
("docs/INFO_BIN", "INFO_BIN"),
206207
]

mysql-connector-python/cpydist/bdist_solaris.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,12 @@ def _prepare_pkg_base(self, template_name, data_dir, root=""):
208208
os.path.join(data_path, "README.rst"),
209209
),
210210
(
211-
os.path.join(cwd, "CONTRIBUTING.rst"),
212-
os.path.join(data_path, "CONTRIBUTING.rst"),
211+
os.path.join(cwd, "CONTRIBUTING.md"),
212+
os.path.join(data_path, "CONTRIBUTING.md"),
213+
),
214+
(
215+
os.path.join(cwd, "SECURITY.md"),
216+
os.path.join(data_path, "SECURITY.md"),
213217
),
214218
]
215219

mysql-connector-python/cpydist/data/rpm/mysql-connector-python.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ cd mysql-connector-python
169169
%{?scl:EOF}
170170
171171
%files -n mysql-connector-python3%{?product_suffix}
172-
%doc LICENSE.txt CHANGES.txt README.txt README.rst CONTRIBUTING.rst mysql-connector-python/docs/INFO_SRC mysql-connector-python/docs/INFO_BIN
172+
%doc LICENSE.txt CHANGES.txt README.txt README.rst CONTRIBUTING.md SECURITY.md mysql-connector-python/docs/INFO_SRC mysql-connector-python/docs/INFO_BIN
173173
%{python3_sitearch}/mysql
174174
%{python3_sitearch}/mysql_connector_python-*.egg-info
175175
%{python3_sitearch}/_mysql_connector.cpython*.so

mysql-connector-python/cpydist/sdist.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,8 @@ def run(self):
262262
("README.txt", "README.txt"),
263263
("LICENSE.txt", "LICENSE.txt"),
264264
("README.rst", "README.rst"),
265-
("CONTRIBUTING.rst", "CONTRIBUTING.rst"),
265+
("CONTRIBUTING.md", "CONTRIBUTING.md"),
266+
("SECURITY.md", "SECURITY.md"),
266267
("docs/INFO_SRC", "INFO_SRC"),
267268
("docs/INFO_BIN", "INFO_BIN"),
268269
]

mysql-connector-python/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
"README.rst",
5454
"LICENSE.txt",
5555
"CHANGES.txt",
56-
"CONTRIBUTING.rst",
56+
"CONTRIBUTING.md",
57+
"SECURITY.md",
5758
)
5859

5960
VERSION_TEXT = "999.0.0"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy