Giter Site home page Giter Site logo

repomd-parser's People

Contributors

dependabot[bot] avatar felixsch avatar ikapelyukhin avatar thutterer avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

repomd-parser's Issues

Additional fields when parsing primary.xml

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!

missing support for decoding `.zst` compressed repository metadata

There's handling for gzip here:

https://github.com/ikapelyukhin/repomd-parser/blob/ec7ffdcc50458f9825f456c5f026079e0da27dfb/lib/repomd_parser/base_parser.rb#L29C1-L32

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.

Question: Support for StringIO

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 ๐Ÿค”

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.