[Rpm-maint] [rpm-software-management/rpm] Fix typo in macros manual (PR #2214)
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 -- https://github.com/rpm-software-management/rpm/pull/2214.patch https://github.com/rpm-software-management/rpm/pull/2214.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2214 You are receiving this because you are subscribed to this thread. Message ID: rpm-software-management/rpm/pull/2...@github.com ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] How can I find details on the binary representation of the RPM DB? (Discussion #2211)
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 Conflictname Obsoletename Suggestname Dirnames Packages Supplementname Enhancename Providename Transfiletriggername Filetriggername Recommendname Triggername Group Requirename InstalltidSha1header ``` I can look at the schemas of individual tables like so: ``` sqlite> .schema Name CREATE TABLE IF NOT EXISTS 'Name' (key 'TEXT' NOT NULL, hnum INTEGER NOT NULL, idx INTEGER NOT NULL, FOREIGN KEY (hnum) REFERENCES 'Packages'(hnum)); CREATE INDEX 'Name_key_idx' ON 'Name'(key ASC); ``` Is there any documentation for what is stored in each table? For example, it seems the `Name` table stores the names of all of the installed RPM packages, and from the schema for this table I can see that it has a foreign `hnum` key for the `Packages` table. But when I look at the `Packages` table, I can't make sense of the data, since it stores blobs: ``` sqlite> .schema Packages CREATE TABLE IF NOT EXISTS 'Packages' (hnum INTEGER PRIMARY KEY AUTOINCREMENT,blob BLOB NOT NULL); sqlite> select * from Packages limit 10; 1| 2| 3| 4| 5| 6| 7| 8| 9| 10| ``` -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/discussions/2211#discussioncomment-3775485 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] How to detect RPM version without running rpm --version? (Discussion #2213)
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 possible. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/discussions/2213 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Add an option for zstd long distance matching compression (#1507)
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 are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Add an option for zstd long distance matching compression (#1507)
> 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 compressor](https://sourceware.org/git/?p=bzip2.git;a=blob;f=bzlib.c;h=21786551b60bd37254954ee53220b0fda80da007;hb=HEAD#l1408) which is handled by the library itself. So while most of the compressor options are handled by us via the respective API calls, in this case it's passed directly in the mode string. I'm not sure if this is important enough to mention in the docs (once we have them), though. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1507#issuecomment-1263687950 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)
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: https://github.com/rpm-software-management/rpm/pull/2212#issuecomment-1263495931 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)
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 mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)
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: https://github.com/rpm-software-management/rpm/pull/2212#issuecomment-1263471901 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] Fix unrecognized bzlib regression in pack.c (PR #2212)
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 -- File Changes -- M build/pack.c (2) -- Patch Links -- https://github.com/rpm-software-management/rpm/pull/2212.patch https://github.com/rpm-software-management/rpm/pull/2212.diff -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2212 You are receiving this because you are subscribed to this thread. Message ID: rpm-software-management/rpm/pull/2...@github.com ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] How can I find details on the binary representation of the RPM DB? (Discussion #2211)
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: https://github.com/rpm-software-management/rpm/discussions/2211#discussioncomment-3769392 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Properly upstream debuginfo enablement (Issue #2204)
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 receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint