-
Notifications
You must be signed in to change notification settings - Fork 56
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
ncm-spma: Next Generation Yum Module [WIP / early review] #587
Conversation
A new version of the yum component that runs a lot faster than yum.pm. Tested on RHEL5u11 and RHEL6u6. So far only the 00-load.t unit test has been implemented.
…m-ng Conflicts: ncm-spma/src/main/pan/components/spma/schema.pan
…NDRICN/configuration-modules-core:yum-ng to yum-ng * commit '023550e359392e254b5f644076b1bb42e8e47df3': ncm-spma: Remove old module. Introduce Yum next generation SPMA module.
@@ -27,6 +27,8 @@ | |||
<properties> | |||
<spma.ips.author>Mark R. Bannister</spma.ips.author> | |||
<spma.ips.email>[email protected]</spma.ips.email> | |||
<spma.yum-ng.author>Jindrich Novy</spma.yum-ng.author> |
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.
is it yum-ng
or yumng
?
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.
In fact is is 'yumng' without the dash - as the suffix is added from /software/components/spma/suffix which is 'ng' -> yumng.
if ( exists( $a->{repository} ) ) { | ||
foreach my $arch (@$arches) { | ||
if ( $vers ne '_' ) { | ||
push ( @pkl_v, ( unescape $name) . ';' . ( unescape $vers) . '.' . $arch ); |
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.
why is this joined as string and not a 2 element tuple?
We wanted to publish this code for discussion before next week's workshop. Assistance/guidance on how to produce good unit tests and any other improvements would be much appreciated!
(Sorry about the merge conflicts, they and the commit history will get cleaned up in due course!)