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

ncm-spma: Next Generation Yum Module [WIP / early review] #587

Closed
wants to merge 5 commits into from

Conversation

ned21
Copy link
Contributor

@ned21 ned21 commented Sep 25, 2015

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!)

Jindrich Novy and others added 5 commits July 16, 2015 16:44
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>
Copy link
Member

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?

Copy link

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 );
Copy link
Member

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?

@jrha jrha added this to the 15.12 milestone Oct 7, 2015
@jrha jrha removed this from the 16.2 milestone Jan 12, 2016
@ned21 ned21 closed this May 5, 2016
@ned21 ned21 deleted the yum-ng branch May 5, 2016 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants