fedora-infra / anitya

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

Allow adding new projects just from URL #1750

Open NyuydineBill opened 3 months ago

NyuydineBill commented 3 months ago

Description: This pull request addresses issue #1742 by implementing the functionality to retrieve project data based on provided homepage URLs and autofill the UI forms with the retrieved data. The key features and changes included in this pull request are as follows:

Data Retrieval Enhancement:

Added functionality to retrieve project data based on provided homepage URLs. Implemented rapidfuzz for efficient string matching during URL-based project search. Autofilling of UI Forms:

Enhanced user experience by automatically populating form fields with relevant project data. Integrated autofilling functionality into the UI forms for seamless data entry. Backend Integration:

Created new Flask views and methods to handle URL submission and data retrieval. Ensured consistency and reliability in data retrieval and autofilling processes across different backends. Code Refactoring:

Refactored codebase for improved readability and maintainability. Implemented best practices to enhance code quality and performance. Testing:

Thoroughly tested the implemented features to ensure proper functionality and user experience. Conducted unit tests to validate the correctness of data retrieval and autofilling processes. Reviewed and addressed any reported issues or bugs related to the new functionality. Impact:

This pull request significantly improves the user experience by simplifying the process of adding projects to Anitya. Users can now provide project URLs, and the system will automatically fetch relevant data, reducing manual input and potential errors. Enhances the overall efficiency and usability of the Anitya platform for users. Related Issue:

Resolves issue 1742: #1742

softwarefactory-project-zuul[bot] commented 3 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/fc5fef6ff9164efb846c9c32d13a37a6

:heavy_check_mark: fi-tox-mypy SUCCESS in 4m 48s :heavy_check_mark: fi-tox-lint SUCCESS in 4m 29s :heavy_check_mark: fi-tox-format SUCCESS in 4m 35s :heavy_check_mark: fi-tox-python38 SUCCESS in 8m 29s :heavy_check_mark: fi-tox-python39 SUCCESS in 9m 12s :heavy_check_mark: fi-tox-python310 SUCCESS in 8m 22s :heavy_check_mark: fi-tox-python311 SUCCESS in 8m 11s :heavy_check_mark: fi-tox-docs SUCCESS in 6m 10s :heavy_check_mark: fi-tox-bandit SUCCESS in 4m 35s :x: fi-tox-diff-cover FAILURE in 9m 47s

softwarefactory-project-zuul[bot] commented 3 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/8fe6273315a54ac285ed606f6a3487ba

:heavy_check_mark: fi-tox-mypy SUCCESS in 4m 53s :heavy_check_mark: fi-tox-lint SUCCESS in 4m 44s :heavy_check_mark: fi-tox-format SUCCESS in 4m 19s :heavy_check_mark: fi-tox-python38 SUCCESS in 8m 47s :heavy_check_mark: fi-tox-python39 SUCCESS in 8m 55s :heavy_check_mark: fi-tox-python310 SUCCESS in 8m 26s :heavy_check_mark: fi-tox-python311 SUCCESS in 8m 45s :heavy_check_mark: fi-tox-docs SUCCESS in 6m 04s :heavy_check_mark: fi-tox-bandit SUCCESS in 4m 46s :x: fi-tox-diff-cover FAILURE in 9m 13s