-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update docs in preparation for release (#1307)
* Update docs in preparation for release * Switch support channel from gitter to telegram
- Loading branch information
Showing
4 changed files
with
117 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
# Contributing and pull request process | ||
|
||
To contribute, please send an email to [email protected], or ping us on gitter with what you plan to do (unless uncontroversial and/or small), so that we can agree on the best way to implement it. | ||
|
||
We appreciate small commits that do one thing, but also that, when possible, each commit doesn't break the master branch. Please use your best judgement for the size of the commit according to these guidelines. If a commit breaks master, we at least require to push together all commits until master is fixed. | ||
|
||
We also appreciate a tidy history, so after you write all your code, consider tidying up the commits to reflect what you did at the end, which is usually a simplified version of the process that you followed to reach the final state. Moreover, each commit should not have PEP 8 or pyflakes warnings (see below for how to make sure you don't introduce any). | ||
|
||
If your change involves more than one commit, please create a PR for each of them, unless for very small and obvious commits (read: fixing typos, comments, a few obvious lines), or unless some commit breaks master. | ||
|
||
During the review, please address all comments by creating one or more 'fixup' commits on top of the branch (no forced push). At the end, either you or one of the owners can squash appropriately the fixups. | ||
To contribute, please send an email to [email protected], or | ||
ping us on [Telegram](https://t.me/contestms) with what you plan to do (unless | ||
uncontroversial and/or small), so that we can agree on the best way to implement | ||
it. | ||
|
||
We appreciate small commits that do one thing, but also that, when possible, | ||
each commit doesn't break the master branch. Please use your best judgement for | ||
the size of the commit according to these guidelines. If a commit breaks master, | ||
we at least require to push together all commits until master is fixed. | ||
|
||
We also appreciate a tidy history, so after you write all your code, consider | ||
tidying up the commits to reflect what you did at the end, which is usually a | ||
simplified version of the process that you followed to reach the final state. | ||
Moreover, each commit should not have PEP 8 or pyflakes warnings (see below for | ||
how to make sure you don't introduce any). | ||
|
||
If your change involves more than one commit, please create a PR for each of | ||
them, unless for very small and obvious commits (read: fixing typos, comments, a | ||
few obvious lines), or unless some commit breaks master. | ||
|
||
During the review, please address all comments by creating one or more 'fixup' | ||
commits on top of the branch (no forced push). At the end, either you or one of | ||
the owners can squash appropriately the fixups. | ||
|
||
# Code style | ||
|
||
|
@@ -17,9 +31,11 @@ For Python code, we generally follow [PEP 8](https://www.python.org/dev/peps/pep | |
We get around Python flexible type system in several ways: | ||
* we try to avoid "magic" (e.g., generating or changing classes on the fly); | ||
* we are fairly verbose with naming, trying to help the reader with following the types; | ||
* we follow our type annotation system for method and function docstrings (planning to switch to [PEP 484](https://www.python.org/dev/peps/pep-0484/)); see later for the format. | ||
* we follow our type annotation system for method and function docstrings | ||
(planning to switch to [PEP 484](https://www.python.org/dev/peps/pep-0484/)); | ||
see later for the format. | ||
|
||
We support Python 3 only, requiring at least version 3.8. | ||
We support Python 3 only, requiring at least version 3.9. | ||
|
||
# Docstring type annotation format | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,10 @@ Contest Management System | |
Homepage: <http://cms-dev.github.io/> | ||
|
||
[![Build Status](https://github.com/cms-dev/cms/workflows/ci/badge.svg)](https://github.com/cms-dev/cms/actions) | ||
[![codecov](https://codecov.io/gh/cms-dev/cms/branch/master/graph/badge.svg)](https://codecov.io/gh/cms-dev/cms) | ||
[![Join the chat at https://gitter.im/cms-dev/cms](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cms-dev/cms?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![Codecov](https://codecov.io/gh/cms-dev/cms/branch/master/graph/badge.svg)](https://codecov.io/gh/cms-dev/cms) | ||
[![Get support on Telegram](https://img.shields.io/endpoint?label=Support&style=flat-square&url=https%3A%2F%2Fmogyo.ro%2Fquart-apis%2Ftgmembercount%3Fchat_id%3Dcontestms)](https://t.me/contestms) | ||
|
||
[🌍 Help translate CMS in your language!](https://cms-dev.oneskyapp.com/collaboration/project?id=392655) | ||
|
||
Introduction | ||
------------ | ||
|
@@ -47,25 +49,23 @@ Support | |
To learn how to install and use CMS, please read the **documentation**, | ||
available at <https://cms.readthedocs.org/>. | ||
|
||
If you have questions or need help troubleshooting some problem, | ||
contact us in the **chat** at [gitter](https://gitter.im/cms-dev/cms), | ||
or write on the **support mailing list** | ||
<[email protected]>, where no registration is required | ||
(you can see the archives on | ||
[Google Groups](https://groups.google.com/forum/#!forum/contestms-support)). | ||
If you have questions or need help troubleshooting some problem, contact us in | ||
the **chat** on [Telegram](https://t.me/contestms), or write on the **support | ||
mailing list** <[email protected]>, where no registration is | ||
required (you can see the archives on [Google | ||
Groups](https://groups.google.com/forum/#!forum/contestms-support)). | ||
|
||
To help with the troubleshooting, you can upload on some online | ||
pastebin the relevant **log files**, that you can find in | ||
/var/local/log/cms/ (if CMS was running installed) or in ./log (if it | ||
was running from the local copy). | ||
To help with the troubleshooting, you can upload on some online pastebin the | ||
relevant **log files**, that you can find in `/var/local/log/cms/` (if CMS was | ||
running installed) or in ./log (if it was running from the local copy). | ||
|
||
If you encountered a bug, please file an | ||
[issue](https://github.com/cms-dev/cms/issues) on **GitHub** following | ||
the instructions in the issue template. | ||
[issue](https://github.com/cms-dev/cms/issues) on **GitHub** following the | ||
instructions in the issue template. | ||
|
||
**Please don't file issues to ask for help**, we are happy to help | ||
on the mailing list or on gitter, and it is more likely somebody will | ||
answer your query sooner. | ||
**Please don't file issues to ask for help**, we are happy to help on the | ||
mailing list or on Telegram, and it is more likely somebody will answer your | ||
query sooner. | ||
|
||
You can subscribe to <[email protected]> to receive | ||
**announcements** of new releases and other important news. Register on | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,24 +122,25 @@ def run(self): | |
author_email="[email protected]", | ||
url="https://github.com/cms-dev/cms", | ||
download_url="https://github.com/cms-dev/cms/archive/master.tar.gz", | ||
description="A contest management system and grader " | ||
"for IOI-like programming competitions", | ||
description="A contest management system and grader for IOI-like programming competitions", | ||
packages=find_packages(), | ||
package_data=PACKAGE_DATA, | ||
cmdclass={"build_py": build_py_and_l10n}, | ||
scripts=["scripts/cmsLogService", | ||
"scripts/cmsScoringService", | ||
"scripts/cmsEvaluationService", | ||
"scripts/cmsWorker", | ||
"scripts/cmsResourceService", | ||
"scripts/cmsChecker", | ||
"scripts/cmsContestWebServer", | ||
"scripts/cmsAdminWebServer", | ||
"scripts/cmsProxyService", | ||
"scripts/cmsPrintingService", | ||
"scripts/cmsRankingWebServer", | ||
"scripts/cmsInitDB", | ||
"scripts/cmsDropDB"], | ||
scripts=[ | ||
"scripts/cmsLogService", | ||
"scripts/cmsScoringService", | ||
"scripts/cmsEvaluationService", | ||
"scripts/cmsWorker", | ||
"scripts/cmsResourceService", | ||
"scripts/cmsChecker", | ||
"scripts/cmsContestWebServer", | ||
"scripts/cmsAdminWebServer", | ||
"scripts/cmsProxyService", | ||
"scripts/cmsPrintingService", | ||
"scripts/cmsRankingWebServer", | ||
"scripts/cmsInitDB", | ||
"scripts/cmsDropDB", | ||
], | ||
entry_points={ | ||
"console_scripts": [ | ||
"cmsRunFunctionalTests=cmstestsuite.RunFunctionalTests:main", | ||
|
@@ -205,8 +206,7 @@ def run(self): | |
"Development Status :: 5 - Production/Stable", | ||
"Natural Language :: English", | ||
"Operating System :: POSIX :: Linux", | ||
"Programming Language :: Python :: 3.8", | ||
"License :: OSI Approved :: " | ||
"GNU Affero General Public License v3", | ||
] | ||
"Programming Language :: Python :: 3.9", | ||
"License :: OSI Approved :: GNU Affero General Public License v3", | ||
], | ||
) |