Thank you for your interest in contributing to the singlestore-vectorstore project! This document outlines the guidelines for contributing to the repository.
- All contributions should adhere to the coding standards and best practices outlined in this repository.
- Each commit to the
mainbranch must pass linting and integration tests. A GitHub Action is configured to automatically validate this for every pull request and commit.
Before committing your changes, ensure the following:
-
Linting: Run the linter to check for style and formatting issues.
make check
-
Integration Tests: Run all integration tests to verify that your changes do not break existing functionality.
make test -
Documentation: Update or add documentation if your changes introduce new features or modify existing ones.
The repository includes a GitHub Action that automatically runs linting and integration tests for every pull request and commit to the main branch. Ensure your changes pass these checks before submitting a pull request.
Follow these steps to publish a new version of the singlestore-vectorstore package to PyPI:
-
Update the Version in
pyproject.toml:- Open the
pyproject.tomlfile. - Update the
versionattribute in the[tool.poetry]section to the new version.
- Open the
-
Update Documentation:
- Ensure the
README.mdfile and any other relevant documentation are updated to reflect the changes in the new version.
- Ensure the
-
Commit and Merge Changes:
- Ensure the
mainbranch is in a healthy state, passing all linting and unit tests. - Commit your changes and merge them into the
mainbranch.
- Ensure the
-
Create and Push a Version Tag:
- Create a new tag for the version:
git tag v<new_version>
- Push the tag to the remote repository:
git push origin v<new_version>
- Create a new tag for the version:
Pushing the tag will trigger a GitHub Action that automatically builds and publishes the package to PyPI.
By following these guidelines, you help maintain the quality and reliability of the singlestore-vectorstore project. Thank you for contributing!