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 #1726

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:

1723

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

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

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 25s :heavy_check_mark: fi-tox-lint SUCCESS in 7m 21s :heavy_check_mark: fi-tox-format SUCCESS in 7m 24s :heavy_check_mark: fi-tox-python38 SUCCESS in 11m 59s :heavy_check_mark: fi-tox-python39 SUCCESS in 11m 36s :heavy_check_mark: fi-tox-python310 SUCCESS in 11m 49s :heavy_check_mark: fi-tox-python311 SUCCESS in 11m 15s :heavy_check_mark: fi-tox-docs SUCCESS in 8m 52s :heavy_check_mark: fi-tox-bandit SUCCESS in 7m 34s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 12m 18s

Zlopez commented 4 months ago

And also don't forget to add news file for the update. See https://anitya.readthedocs.io/en/latest/contributing.html#release-notes for more info

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

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

:heavy_check_mark: fi-tox-mypy SUCCESS in 6m 17s :heavy_check_mark: fi-tox-lint SUCCESS in 5m 33s :heavy_check_mark: fi-tox-format SUCCESS in 5m 39s :heavy_check_mark: fi-tox-python38 SUCCESS in 10m 01s :heavy_check_mark: fi-tox-python39 SUCCESS in 9m 43s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 17s :heavy_check_mark: fi-tox-python311 SUCCESS in 10m 38s :heavy_check_mark: fi-tox-docs SUCCESS in 6m 36s :heavy_check_mark: fi-tox-bandit SUCCESS in 5m 37s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 11m 03s

NyuydineBill commented 4 months ago

And also don't forget to add news file for the update. See https://anitya.readthedocs.io/en/latest/contributing.html#release-notes for more info

Done Sir

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

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

:heavy_check_mark: fi-tox-mypy SUCCESS in 11m 48s :heavy_check_mark: fi-tox-lint SUCCESS in 6m 32s :heavy_check_mark: fi-tox-format SUCCESS in 6m 24s :heavy_check_mark: fi-tox-python38 SUCCESS in 15m 44s :heavy_check_mark: fi-tox-python39 SUCCESS in 9m 42s :heavy_check_mark: fi-tox-python310 SUCCESS in 16m 43s :heavy_check_mark: fi-tox-python311 SUCCESS in 17m 08s :heavy_check_mark: fi-tox-docs SUCCESS in 13m 53s :heavy_check_mark: fi-tox-bandit SUCCESS in 11m 51s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 18m 22s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/0e7d56c2da864c099a0aeb88d3e2f7f9

:heavy_check_mark: fi-tox-mypy SUCCESS in 9m 18s :heavy_check_mark: fi-tox-lint SUCCESS in 8m 15s :heavy_check_mark: fi-tox-format SUCCESS in 8m 56s :heavy_check_mark: fi-tox-python38 SUCCESS in 12m 47s :heavy_check_mark: fi-tox-python39 SUCCESS in 12m 45s :heavy_check_mark: fi-tox-python310 SUCCESS in 12m 10s :heavy_check_mark: fi-tox-python311 SUCCESS in 10m 11s :x: fi-tox-docs FAILURE in 9m 44s :heavy_check_mark: fi-tox-bandit SUCCESS in 6m 19s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 8m 42s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/7233c96f5a374238b6769979d78319c9

:heavy_check_mark: fi-tox-mypy SUCCESS in 5m 49s :heavy_check_mark: fi-tox-lint SUCCESS in 7m 13s :heavy_check_mark: fi-tox-format SUCCESS in 5m 37s :heavy_check_mark: fi-tox-python38 SUCCESS in 10m 01s :heavy_check_mark: fi-tox-python39 SUCCESS in 10m 44s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 12s :heavy_check_mark: fi-tox-python311 SUCCESS in 8m 50s :x: fi-tox-docs FAILURE in 7m 14s :heavy_check_mark: fi-tox-bandit SUCCESS in 6m 37s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 9m 03s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/fd48b0b384b04add9bee67668ae5c89c

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 29s :heavy_check_mark: fi-tox-lint SUCCESS in 6m 46s :heavy_check_mark: fi-tox-format SUCCESS in 6m 02s :heavy_check_mark: fi-tox-python38 SUCCESS in 10m 48s :heavy_check_mark: fi-tox-python39 SUCCESS in 10m 40s :heavy_check_mark: fi-tox-python310 SUCCESS in 10m 37s :heavy_check_mark: fi-tox-python311 SUCCESS in 10m 40s :x: fi-tox-docs FAILURE in 8m 30s :heavy_check_mark: fi-tox-bandit SUCCESS in 6m 07s :x: fi-tox-diff-cover FAILURE in 8m 36s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/326dd73cf47b42489ecbd6474925b516

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 41s :heavy_check_mark: fi-tox-lint SUCCESS in 5m 42s :heavy_check_mark: fi-tox-format SUCCESS in 4m 49s :heavy_check_mark: fi-tox-python38 SUCCESS in 11m 08s :heavy_check_mark: fi-tox-python39 SUCCESS in 10m 50s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 00s :heavy_check_mark: fi-tox-python311 SUCCESS in 10m 41s :x: fi-tox-docs FAILURE in 8m 25s :heavy_check_mark: fi-tox-bandit SUCCESS in 4m 59s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 11m 25s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/c52d0e0fe82e4ac1b8accf9165ccbf8b

:heavy_check_mark: fi-tox-mypy SUCCESS in 6m 43s :heavy_check_mark: fi-tox-lint SUCCESS in 5m 51s :heavy_check_mark: fi-tox-format SUCCESS in 5m 52s :heavy_check_mark: fi-tox-python38 SUCCESS in 11m 12s :heavy_check_mark: fi-tox-python39 SUCCESS in 11m 39s :heavy_check_mark: fi-tox-python310 SUCCESS in 10m 02s :heavy_check_mark: fi-tox-python311 SUCCESS in 11m 39s :x: fi-tox-docs FAILURE in 7m 21s :heavy_check_mark: fi-tox-bandit SUCCESS in 7m 01s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 10m 59s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/bc18b1c26c9c4b448368e66e7ff24823

:heavy_check_mark: fi-tox-mypy SUCCESS in 8m 36s :heavy_check_mark: fi-tox-lint SUCCESS in 5m 17s :heavy_check_mark: fi-tox-format SUCCESS in 6m 47s :heavy_check_mark: fi-tox-python38 SUCCESS in 9m 33s :heavy_check_mark: fi-tox-python39 SUCCESS in 12m 04s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 39s :heavy_check_mark: fi-tox-python311 SUCCESS in 11m 50s :x: fi-tox-docs FAILURE in 8m 28s :heavy_check_mark: fi-tox-bandit SUCCESS in 5m 35s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 12m 37s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/849b766a51e3422f93775bd2247e6b82

:heavy_check_mark: fi-tox-mypy SUCCESS in 6m 04s :heavy_check_mark: fi-tox-lint SUCCESS in 6m 35s :heavy_check_mark: fi-tox-format SUCCESS in 5m 06s :heavy_check_mark: fi-tox-python38 SUCCESS in 9m 07s :heavy_check_mark: fi-tox-python39 SUCCESS in 10m 11s :heavy_check_mark: fi-tox-python310 SUCCESS in 10m 21s :heavy_check_mark: fi-tox-python311 SUCCESS in 9m 09s :x: fi-tox-docs FAILURE in 8m 05s :heavy_check_mark: fi-tox-bandit SUCCESS in 6m 38s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 10m 43s

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

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

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 19s :heavy_check_mark: fi-tox-lint SUCCESS in 4m 33s :heavy_check_mark: fi-tox-format SUCCESS in 4m 59s :heavy_check_mark: fi-tox-python38 SUCCESS in 10m 33s :heavy_check_mark: fi-tox-python39 SUCCESS in 10m 49s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 20s :heavy_check_mark: fi-tox-python311 SUCCESS in 8m 49s :heavy_check_mark: fi-tox-docs SUCCESS in 8m 05s :heavy_check_mark: fi-tox-bandit SUCCESS in 5m 05s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 9m 49s

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

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

:heavy_check_mark: fi-tox-mypy SUCCESS in 5m 49s :heavy_check_mark: fi-tox-lint SUCCESS in 5m 11s :heavy_check_mark: fi-tox-format SUCCESS in 5m 40s :heavy_check_mark: fi-tox-python38 SUCCESS in 9m 44s :heavy_check_mark: fi-tox-python39 SUCCESS in 10m 53s :heavy_check_mark: fi-tox-python310 SUCCESS in 13m 02s :heavy_check_mark: fi-tox-python311 SUCCESS in 10m 47s :heavy_check_mark: fi-tox-docs SUCCESS in 9m 58s :heavy_check_mark: fi-tox-bandit SUCCESS in 6m 41s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 13m 36s

Zlopez commented 4 months ago

Thanks for fixing the tests! Could you now squash the commits so there is only one commit message?

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

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

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 07s :heavy_check_mark: fi-tox-lint SUCCESS in 4m 49s :heavy_check_mark: fi-tox-format SUCCESS in 6m 30s :heavy_check_mark: fi-tox-python38 SUCCESS in 9m 18s :heavy_check_mark: fi-tox-python39 SUCCESS in 8m 51s :heavy_check_mark: fi-tox-python310 SUCCESS in 10m 18s :heavy_check_mark: fi-tox-python311 SUCCESS in 10m 09s :heavy_check_mark: fi-tox-docs SUCCESS in 6m 36s :heavy_check_mark: fi-tox-bandit SUCCESS in 4m 52s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 9m 32s

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

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/e158a3c044504e24b51f6180d45070fa

:heavy_check_mark: fi-tox-mypy SUCCESS in 7m 26s :heavy_check_mark: fi-tox-lint SUCCESS in 5m 16s :heavy_check_mark: fi-tox-format SUCCESS in 6m 42s :x: fi-tox-python38 FAILURE in 8m 08s :heavy_check_mark: fi-tox-python39 SUCCESS in 11m 03s :heavy_check_mark: fi-tox-python310 SUCCESS in 9m 02s :heavy_check_mark: fi-tox-python311 SUCCESS in 11m 16s :heavy_check_mark: fi-tox-docs SUCCESS in 8m 09s :heavy_check_mark: fi-tox-bandit SUCCESS in 5m 19s :heavy_check_mark: fi-tox-diff-cover SUCCESS in 11m 39s