-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Remove old infrastructure - Convert a few documents from rST to Markdown - Trim and modernize CI - Trim .gitignore, and LICENSE file - Remove buildout - Establish module namespace `sqlalchemy_cratedb`
- Loading branch information
Showing
27 changed files
with
165 additions
and
665 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
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
pull_request: ~ | ||
push: | ||
branches: | ||
- master | ||
- main | ||
schedule: | ||
- cron: '0 7 * * *' | ||
|
||
|
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 |
---|---|---|
@@ -1,22 +1,9 @@ | ||
.venv* | ||
.coverage | ||
coverage.xml | ||
.idea/ | ||
.installed.cfg | ||
.tox/ | ||
.venv* | ||
*.DS_Store | ||
*.egg-info | ||
*.pyc | ||
bin/* | ||
!bin/test | ||
!bin/sphinx | ||
build/ | ||
crate-python.iml | ||
crate.egg-info | ||
develop-eggs/ | ||
.coverage | ||
coverage.xml | ||
dist/ | ||
eggs/ | ||
htmlcov/ | ||
out/ | ||
parts/ | ||
tmp/ | ||
env/ |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Contributing | ||
|
||
Thank you for your interest in contributing. | ||
|
||
Please see the [CrateDB contribution guide] for more information. | ||
Everything in the CrateDB contribution guide applies to this repository. | ||
|
||
|
||
[CrateDB contribution guide]: https://github.com/crate/crate/blob/master/CONTRIBUTING.rst |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# CrateDB Python developer guide | ||
|
||
## Setup | ||
|
||
To start things off, bootstrap the sandbox environment: | ||
|
||
git clone https://github.com/crate-workbench/sqlalchemy-cratedb | ||
cd sqlalchemy-cratedb | ||
source bootstrap.sh | ||
|
||
This command should automatically install all prerequisites for the | ||
development sandbox and drop you into the virtualenv, ready for invoking | ||
further commands. | ||
|
||
## Running tests | ||
|
||
All tests will be invoked using the Python interpreter that was used | ||
when creating the Python virtualenv. | ||
|
||
Some examples how to invoke the test runner are outlined below. | ||
|
||
Run all tests: | ||
|
||
pytest | ||
|
||
Run specific tests: | ||
|
||
pytest -k SqlAlchemyCompilerTest | ||
pytest -k test_score | ||
|
||
|
||
## Preparing a release | ||
|
||
In the release branch: | ||
|
||
- Update `__version__` in `src/crate/client/__init__.py` | ||
- Add a section for the new version in the `CHANGES.txt` file | ||
- Commit your changes with a message like \"prepare release x.y.z\" | ||
- Push to origin/\<release_branch\> | ||
- Create a tag by running `./devtools/create_tag.sh`. This will | ||
trigger a GitHub action which releases the new version to PyPi. | ||
|
||
On branch `main`: | ||
|
||
- Update the release notes to reflect the release | ||
|
||
|
||
## Writing documentation | ||
|
||
The docs live under the `docs` directory. | ||
|
||
The docs are written with [ReStructuredText] and Markdown, | ||
and will be processed with [Sphinx]. | ||
|
||
Build the docs by running: | ||
|
||
./bin/sphinx | ||
|
||
The output can then be found in the `out/html` directory. | ||
|
||
The docs are automatically built from Git by [Read the Docs]. There is | ||
nothing special you need to do to get the live docs to update. | ||
|
||
|
||
[Read the Docs]: http://readthedocs.org | ||
[ReStructuredText]: https://docutils.sourceforge.net/rst.html | ||
[Sphinx]: https://sphinx-doc.org/ |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.