fedora-infra / anitya

A cross-distribution upstream release monitoring project
https://release-monitoring.org
GNU General Public License v2.0
236 stars 104 forks source link

Social sqlalchemy #1738

Closed NyuydineBill closed 4 months ago

NyuydineBill commented 4 months ago

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: https://github.com/fedora-infra/anitya/issues/1723

softwarefactory-project-zuul[bot] commented 4 months ago

Build succeeded. https://fedora.softwarefactory-project.io/zuul/buildset/e1e78d925c5b4adcb13b85d6e08513d1

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 10s :heavy_check_mark: fi-tox-lint SUCCESS in 4m 52s :heavy_check_mark: fi-tox-format SUCCESS in 5m 43s :heavy_check_mark: fi-tox-python38 SUCCESS in 11m 18s :heavy_check_mark: fi-tox-python39 SUCCESS in 9m 07s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 49s :heavy_check_mark: fi-tox-python311 SUCCESS in 9m 18s :heavy_check_mark: fi-tox-docs SUCCESS in 7m 05s :heavy_check_mark: fi-tox-bandit SUCCESS in 4m 56s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 11m 35s