mcurlej / module-build Goto Github PK
View Code? Open in Web Editor NEWA library and cli tool for building module streams
License: MIT License
A library and cli tool for building module streams
License: MIT License
If a YAML file lists binary packages in /data/filter/rpms list, those are kept /data/artifacts/rpms.
A reproducer: Build a (1f38p536) context from https://src.fedoraproject.org/modules/perl-CGI/raw/4.54/f/perl-CGI.yaml with:
filter:
rpms:
- perl-CGI-tests
- perl-Sub-Uplevel
- perl-Test-Deep
- perl-Test-Warn
The RPM packages are properly removed from the repository:
.
./perl-CGI:4.54:20220921082434:1f38p536:x86_64.modulemd.yaml
./perl-CGI-4.54-4.module_rawhide+1f38p536.noarch.rpm
./perl-CGI-4.54-4.module_rawhide+1f38p536.src.rpm
./repodata
./repodata/03ab36b8f3cd1da7c650c40be6353a84168f6c52f3e3cb4987c75976561dfe3d-primary.sqlite.bz2
./repodata/3ebcebd2e04ef1bb3551a9cab959aa2da668dfa3ccf6def846d044fdd3815562-filelists.sqlite.bz2
./repodata/45b897c1cbe595943ea9898de24fbaa7a9019b1e96b3a146dba507b82f5a6ad8-other.xml.gz
./repodata/61e54a41f2549e2d13a171b9864a8c802c975992dc6c64100853f9d5a76fb42a-other.sqlite.bz2
./repodata/c956721cebd002a411f56ba9799ddaccd2e62b9064d1acc71f0115959e900ece-primary.xml.gz
./repodata/cb749b4906a62a5c8045483b2e9f0665f7fb938ed7777dbfcd3c1430f5c66dd0-modules.yaml.gz
./repodata/d009f7ed3c6d969906c90d9dd0edf6a87ca2a9f450d3e4350ae12483809b13e3-filelists.xml.gz
./repodata/repomd.xml
But ./repodata/cb749b4906a62a5c8045483b2e9f0665f7fb938ed7777dbfcd3c1430f5c66dd0-modules.yaml.gz still lists them among artifacts:
artifacts:
rpms:
- perl-CGI-0:4.54-4.module_rawhide+1f38p536.noarch
- perl-CGI-0:4.54-4.module_rawhide+1f38p536.src
- perl-CGI-tests-0:4.54-4.module_rawhide+1f38p536.noarch
- perl-Sub-Uplevel-1:0.2800-18.module_rawhide+1f38p536.noarch
- perl-Sub-Uplevel-1:0.2800-18.module_rawhide+1f38p536.src
- perl-Test-Deep-0:1.130-9.module_rawhide+1f38p536.noarch
- perl-Test-Deep-0:1.130-9.module_rawhide+1f38p536.src
- perl-Test-Warn-0:0.37-1.module_rawhide+1f38p536.noarch
- perl-Test-Warn-0:0.37-1.module_rawhide+1f38p536.src
module-build/tests/__init__.py
Lines 7 to 8 in 2dcd80a
pytest tries to collect this exception and emit this warning:
PytestCollectionWarning: cannot collect test class 'TestException' because it has a __init__ constructor (from: tests/test_cli.py)
class TestException(Exception):
I am making an issue as we discussed the module build workflow with @mcurlej at devconf.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.