ikapelyukhin / repomd-parser Goto Github PK
View Code? Open in Web Editor NEWRPM repository metadata parser.
License: GNU General Public License v2.0
RPM repository metadata parser.
License: GNU General Public License v2.0
Hallo @ikapelyukhin ๐
I started looking into this gem and maybe using it for SCC. Looks super promising, but I just noticed that parsing a primary doesn't return all the fields we'd need, like summary, description, license.
Can we have these? Anything planned here already? I can do a draft PR, just wanted to ask your opinion. Should I just add parsing these fields always, or attempt something like optional "extra_fields"?
Thanks!
There's handling for gzip here:
however no corresponding handling for .zst
(ZSTD) compression. ZSTD is the default compression type created by createrepo_c >= 1.0.0 and many distributions (Fedora, openSUSE) are switching to it because of the higher compression ratios and much higher decompression speed.
Are there plans for supporting StringIO? The use case is: not persisting to disk the downloaded XML.
response = http_client.get('https://a-webserver.here/repodata/primary.xml.gz')
response.body.class # => string
# Then I'd have to persit it on disk here
File.write('primary.xml.gz')
entries = RepomdParser::PrimaryXmlParser.new('primary.xml.gz').parse
But it looks like it doesn't play well in overlayfs
as we're hitting DiskPressure
sometimes, it'd be ideal not to have to persist it in disk ๐ค
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.