-
-
Notifications
You must be signed in to change notification settings - Fork 400
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
feat: Fix and improve detection of apps (name and UUID) to populate data sources #6319
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Did you update the documentation to explain the new parameters ? I think you should update the wiki and the API documentation. |
Kudos, SonarCloud Quality Gate passed! |
# Allow apps to send app_name, app_version and app_uuid parameters | ||
foreach my $field (qw(app_name app_version app_uuid)) { | ||
my $value = remove_tags_and_quote(decode utf8=>param($field)); | ||
if ((defined $value) and ($value ne "")) { | ||
$change_ref->{$field} = $value; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we have three string parameters:
app_name
app_version
app_uuid
We try to identifiy product edits that are made through apps, so that we can populate the data_sources facet. We currently do it by using the comment field that can contain an app name, and in some cases a uuid (used so that we can group contributions by the same user, for instance to check for errors), and/or the specific OFF user used by some app. This has been broken for some time.
This PR: