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

Fixes #20884: package state options method breaks "Packages" techniques with new reporting #1341

Conversation

VinceMacBuche
Copy link
Member

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 8690e4e to 126538b Compare March 12, 2022 00:18
"args" slist => { "${name}", "${version}", "${architecture}", "${provider}", "${state}", "${options}" };
"report_param" string => join("_", args);
"full_class_prefix" string => canonify("package_state_options_${report_param}");
"old_class_prefix" string => string_head("${full_class_prefix}", "1000");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is really confusing to set "old_class_prefix" to the previous class_previous while "class_prefix" is the "old_class_prefix"
Can you use "previous_class_prefix" ?

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 126538b to 5899af1 Compare March 14, 2022 10:55
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 5899af1 to 6ce392c Compare March 14, 2022 10:57
@@ -114,6 +114,28 @@ body classes classes_generic_two(x,y)
};
}

body classes cancel_classes(y)
{
cancel_repaired => { "promise_repaired_$(y)", "$(y)_repaired", "$(y)_ok", "$(y)_reached", "$(y)_not_kept"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there are dusplicates in this list

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plus we already have a tree/30_generic_methods/_classes_cancel.cf method which should do the job

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 6ce392c to 09f5109 Compare March 15, 2022 15:38
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 09f5109 to a579509 Compare March 16, 2022 12:27
@VinceMacBuche VinceMacBuche added the Trigger test Trigger jenkins build label Mar 16, 2022
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from a579509 to 9f9e85e Compare March 16, 2022 13:23
@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 9f9e85e to 41ede36 Compare March 16, 2022 13:27
@amousset
Copy link
Member

OK, merging this PR

@VinceMacBuche
Copy link
Member Author

Commit modified

@VinceMacBuche VinceMacBuche force-pushed the bug_20884/package_state_options_method_breaks_packages_techniques_with_new_reporting branch from 41ede36 to b680d71 Compare March 16, 2022 13:31
@VinceMacBuche
Copy link
Member Author

Merged with ugly list

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Trigger test Trigger jenkins build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants