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

Investigate whether we can mitigate libmodulemd / metadata version compatibility issues in the future #2718

Closed
dralley opened this issue Aug 17, 2022 · 3 comments · Fixed by #2844
Assignees

Comments

@dralley
Copy link
Contributor

dralley commented Aug 17, 2022

We currently have the issue that because our module yaml snippets go through libmodulemd before being saved, we are at the mercy of what libmodulemd does with them. In the past we have seen that when when individual modules contain metadata that the version of libmodulemd in question does not support, it silently?!? ignores the module during processing. This causes problems when creating associations between those modules and RPM packages.

We should investigate whether there are any better methods of storing this data such that the failures are not silent, or if we can make sure the correct thing happens independently of libmodulemd.

@dralley
Copy link
Contributor Author

dralley commented Sep 2, 2022

Action item: talk to ppisar, amatej

There is a strict=True mode which might help.

@dralley
Copy link
Contributor Author

dralley commented Sep 26, 2022

Another option: drop libmodulemd entirely perhaps

@pavelpicka pavelpicka self-assigned this Oct 4, 2022
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 5, 2022
use PyYaml instead to save snippets.

closes: pulp#2718
pulp#2718
@RCMariko
Copy link
Member

RCMariko commented Oct 7, 2022

Another option: drop libmodulemd entirely perhaps

If we go this route, we might need to identify some product/downstream issues to be written for packaging/build teams.

pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 18, 2022
use PyYaml instead to save snippets.

* to write tests
* to update docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 18, 2022
use PyYaml instead to save snippets.

* to write tests
* to update docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 19, 2022
use PyYaml instead to save snippets.

* to write tests
* to update docs

* file parsing updated to split yaml document by ``---``
* few adjusts

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 24, 2022
use PyYaml instead to save and parse snippets.

* to write unit tests for date parsin
* to update docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 24, 2022
test if pulp populated modules.yaml are the same (not in order) as a
original modules.yaml

re: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 24, 2022
test if pulp populated modules.yaml are the same (not in order) as a
original modules.yaml

re: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 24, 2022
test if pulp populated modules.yaml are the same (not in order) as a
original modules.yaml

re: pulp#2718
pulp#2718
[noissue]
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Oct 24, 2022
test if pulp populated modules.yaml are the same (not in order) as a
original modules.yaml

re: pulp#2718
pulp#2718
[noissue]
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 8, 2022
use PyYaml instead to save and parse snippets.

* to write unit tests for date parsin
* to update docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 8, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of dateandtime
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 8, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of dateandtime
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 8, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of dateandtime
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 18, 2022
use PyYaml instead to save and parse snippets.

* to write unit tests for date parsin
* to update docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 18, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of dateandtime
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 23, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of dateandtime
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 23, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 23, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 24, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 24, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 29, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 29, 2022
test if pulp populated modules.yaml are the same (not in order) as a
original modules.yaml

re: pulp#2718
pulp#2718
[noissue]
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 29, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 30, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* removed `libmodulemd` from requirements in docs
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Nov 30, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Dec 5, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Dec 5, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Dec 5, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Dec 5, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
pavelpicka added a commit to pavelpicka/pulp_rpm that referenced this issue Dec 5, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: pulp#2718
pulp#2718
dralley pushed a commit that referenced this issue Dec 8, 2022
use PyYaml instead to save and parse snippets.

* use textfield instead of `DateTimeField`
* test that original and pulp generated modules.yaml are the same (not
  in order)

closes: #2718
#2718
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants