Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moved the function display_product_search_or_add() to Web.pm #5456

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

roshnaeem
Copy link
Contributor

Description:

"Re-architecturing the Open Food Facts Perl modules and functions, possibly making some of them more generic and publishing them on CPAN."
Specifically, Display.pm is way too big, and it's very difficult to understand what all the functions do. Trying to move the functions from Display.pm to new files like Web.pm, Api.pm, etc

Moved the function display_product_search_or_add() from Display.pm to Web.pm.

Related to: #5205

@roshnaeem roshnaeem self-assigned this Aug 10, 2021
@sonarcloud
Copy link

sonarcloud bot commented Aug 10, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@stephanegigandet stephanegigandet merged commit d2359c8 into openfoodfacts:main Aug 11, 2021
@roshnaeem roshnaeem deleted the web.pm-4 branch August 11, 2021 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants