[Rpm-maint] [rpm-software-management/rpm] Fix typo in macros manual (PR #2214)

2022-09-30 Thread Carl George
You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2214 -- Commit Summary -- * Fix typo in macros manual -- File Changes -- M docs/manual/macros.md (2) -- Patch Links --

Re: [Rpm-maint] [rpm-software-management/rpm] How can I find details on the binary representation of the RPM DB? (Discussion #2211)

2022-09-30 Thread Shane Bishop
I found that, starting with RPM 4.16, RPM uses an SQLite database ([reference](https://fedoraproject.org/wiki/Changes/RPM-4.16#Detailed_Description)). >From querying my local table, I see there are the following tables: ``` sqlite> .tables Basenames Name Sigmd5

[Rpm-maint] [rpm-software-management/rpm] How to detect RPM version without running rpm --version? (Discussion #2213)

2022-09-30 Thread Shane Bishop
How can the RPM version be detected programmatically (in a language like Go or C) using either a file or a system call, without running a subprocess `rpm --version`? For context, I am writing an application that needs to be highly performant, and I want to avoid running child process if at all

Re: [Rpm-maint] [rpm-software-management/rpm] Add an option for zstd long distance matching compression (#1507)

2022-09-30 Thread Michal Domonkos
Heh, actually, it's also gzip which supports a host of different "strategies", from `f`, through `h` to `F` or even `T`... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1507#issuecomment-1263700147 You are receiving this because you

Re: [Rpm-maint] [rpm-software-management/rpm] Add an option for zstd long distance matching compression (#1507)

2022-09-30 Thread Michal Domonkos
> We use lower case letters for global options and upper case letters for > compressor specific options. Sadly, this is not 100% true, there's e.g. the `s` for "small mode" in the [bz2

Re: [Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)

2022-09-30 Thread Michal Domonkos
Yup, I suspect the same :smile: FWIW, while in visual selection in vim, you can set it to uppercase with `U`, to lowercase with `u` or toggle between the two with `~`. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)

2022-09-30 Thread Panu Matilainen
Merged #2212 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2212#event-7494809758 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint

Re: [Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)

2022-09-30 Thread Panu Matilainen
That's strange, looks like an accidental application of some vim magic command to lowercase current word, which I'm sure exists but wouldn't know how to invoke on purpose :smile: Thanks for spotting. -- Reply to this email directly or view it on GitHub:

[Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)

2022-09-30 Thread Michal Domonkos
This seems like a typo that got in as part of commit 48d0fa954ca1629ffb0092b9c0070241d6a0. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2212 -- Commit Summary -- * Fix unrecognized bzlib regression in pack.c --

Re: [Rpm-maint] [rpm-software-management/rpm] How can I find details on the binary representation of the RPM DB? (Discussion #2211)

2022-09-30 Thread Panu Matilainen
That's the wrong end to be looking at, totally. 'rpm -q' with [--queryformat](https://rpm-software-management.github.io/rpm/manual/queryformat.html) gives you access to every single bit of data in the rpmdb. -- Reply to this email directly or view it on GitHub:

Re: [Rpm-maint] [rpm-software-management/rpm] Properly upstream debuginfo enablement (Issue #2204)

2022-09-30 Thread Panu Matilainen
And I didn't say those should or need to be hardcoded in C. Just that it doesn't need the kind of templates we have now, those are pretty rigid too. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2204#issuecomment-1263165798 You are