Skip to content

Source rpm of modules package not in whitelist cannot be handled #52

Description

@emilyzheng

There's httpd modulemd which has profiles:

    "profiles" : {
        "default" : [ 
            "httpd-tools"
        ]
    }

When package httpd-tools included in modulemd is in packages whitelist:

packages:
  include:
  - httpd-tools.*
modules:
  include:
  - name: httpd
    stream: 2.4
    profiles:
    - default

Population log is as below ('sourcerpm' of httpd-tools-2.4.6-88.el7.x86_64.rpm is httpd-2.4.6-88.el7.src.rpm):

2019-04-12 02:49:21 +0000 [WARNING ] Package httpd-tools doesn't reference its source rpm
...
2019-04-12 02:49:21 +0000 [INFO    ] Would associate httpd-tools-2.4.6-88.el7.x86_64.rpm from rhel-7-server-rpms__7Server__x86_64 to ubi-7-server-rpms__7Server__x86_64
2019-04-12 02:49:21 +0000 [INFO    ] Would associate httpd-tools-2.4.6-88.el7.x86_64.rpm from rhel-7-server-rpms__7Server__x86_64 to ubi-7-server-rpms__7Server__x86_64
2019-04-12 02:49:21 +0000 [INFO    ] Would associate httpd-2.4.6-88.el7.src.rpm from rhel-7-server-source-rpms__7Server__x86_64 to ubi-7-server-source-rpms__7Server__x86_64

Issues:

  1. httpd-tools-2.4.6-88.el7.x86_64.rpm is associated twice because it's counted from both whitelist and modulemd.
  2. Packages counted from modulemd don't have their source rpms searched, so there's warning 'Package httpd-tools doesn't reference its source rpm'. And their source rpms won't be handled at all if they are not in package whitelist.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions