https://github.com/james-antill/modules2compat
Convert Fedora modularity modules to compat. repo.
https://github.com/james-antill/modules2compat
Last synced: 4 months ago
JSON representation
Convert Fedora modularity modules to compat. repo.
- Host: GitHub
- URL: https://github.com/james-antill/modules2compat
- Owner: james-antill
- Created: 2017-06-26T21:00:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-13T04:39:30.000Z (almost 8 years ago)
- Last Synced: 2025-01-07T13:47:00.488Z (5 months ago)
- Language: Python
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Convert a modular repo. into a "compatible" repo. (works without module tools)
==============================================================================tl;dr Run ./do.sh and it'll download from the repos. specified in reposync.conf
and generate compat. repos. named fedora-compat-\*.The longer explanation is that the we download the modular repo. and then go
through each module within it and:
1. Extract the rpm file data.
2. Rebuild the rpm within the namespace of the module/stream it's from,
Meaning all the requires are namespaced; including the package names
themselves. All of the requires are then filtered to only apply within the
module; so the rpm requires data won't pull in a packge not contained within
the module.
3. Change the module data to reflect the new rpm names.We also obey the blacklist-n-mods.conf and blacklist-n-rpms.conf files for
names of modules and rpms that we don't want to convert.Also m2c.py has a bunch of commands for looking at module repodata, and altering
it in specific ways (extracting modules, renaming, merging, or just listing).