Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 2.26 KB

File metadata and controls

61 lines (41 loc) · 2.26 KB

Contribution Guidelines

Thank you for your interest in contributing to the singlestore-vectorstore project! This document outlines the guidelines for contributing to the repository.

General Guidelines

  • All contributions should adhere to the coding standards and best practices outlined in this repository.
  • Each commit to the main branch must pass linting and integration tests. A GitHub Action is configured to automatically validate this for every pull request and commit.

Pre-Commit Checklist

Before committing your changes, ensure the following:

  1. Linting: Run the linter to check for style and formatting issues.

    make check
  2. Integration Tests: Run all integration tests to verify that your changes do not break existing functionality.

    make test
  3. Documentation: Update or add documentation if your changes introduce new features or modify existing ones.

GitHub Actions

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.


Publish a New Package

Follow these steps to publish a new version of the singlestore-vectorstore package to PyPI:

  1. Update the Version in pyproject.toml:

    • Open the pyproject.toml file.
    • Update the version attribute in the [tool.poetry] section to the new version.
  2. Update Documentation:

    • Ensure the README.md file and any other relevant documentation are updated to reflect the changes in the new version.
  3. Commit and Merge Changes:

    • Ensure the main branch is in a healthy state, passing all linting and unit tests.
    • Commit your changes and merge them into the main branch.
  4. 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>

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!