Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
This pull request adds optional instructions for configuring social_sqlalchemy, a package for SQLAlchemy storage support for Python Social Auth, in Anitya . It provides a code example demonstrating how to set up social_sqlalchemy in a Anitya , including configuring the SQLAlchemy database and initializing social_sqlalchemy. Additionally, it includes a note on starting the development web server with Flask.
Purpose:
The purpose of this pull request is to enhance the contributing guidelines by providing guidance on integrating social_sqlalchemy with Anitya for OAuth and OAuth2 authentication. This addition aims to assist contributors who may want to use social_sqlalchemy in Anitya project, thereby improving the overall development experience for Anitya contributors.
Changes Made:
Added instructions for configuring social_sqlalchemy in Flask applications to the contributing.rst file.
Included a code example demonstrating the setup process for social_sqlalchemy.
Updated the Python Virtualenv section of the contributing.rst file to include these instructions.
Testing:
These instructions were tested locally by following the provided steps to configure social_sqlalchemy in a Anitya application within a Python virtual environment. The Flask development server was started successfully, indicating that the setup process was correct and functional.
Related Issue:
#1723