Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Integrate ALT set-versions to improve ELF library dependency generation (Issue #3606)

2025-03-03 Thread Panu Matilainen
pmatilai left a comment (rpm-software-management/rpm#3606) Hmm, GH fails to convert this into a discussion for some reason. I guess I'll retry later today/tomorrow. At any rate, this is absolutely not rpm 6 material. That ship sailed many, many moons ago. -- Reply to this email directly or vi

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Integrate ALT set-versions to improve ELF library dependency generation (Issue #3606)

2025-03-03 Thread Panu Matilainen
Reopened #3606. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3606#event-16530017177 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

Re: [Rpm-maint] [rpm-software-management/rpm] Bunch of man page formatting fixes + minor cleanups (PR #3607)

2025-03-03 Thread Panu Matilainen
@pmatilai pushed 1 commit. 02505ac37669637a1799dbd766c462460a051c39 Drop invalid -d/--debug switch from rpm-misc(8) -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/3607/files/ee40cb2d3e94062877b4344f370c1a3f77244a33..02505ac37669637a1799dbd766c462460a051c39 You are re

Re: [Rpm-maint] [rpm-software-management/rpm] Bunch of man page formatting fixes + minor cleanups (PR #3607)

2025-03-03 Thread Michal Domonkos
Merged #3607 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/3607#event-16530472351 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mail

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Integrate ALT set-versions to improve ELF library dependency generation (Issue #3606)

2025-03-03 Thread Panu Matilainen
Reopened #3606. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3606#event-16529603320 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mailing list

[Rpm-maint] [rpm-software-management/rpm] Move most rpm command man pages to section 1 (PR #3610)

2025-03-03 Thread Panu Matilainen
These commands have absolutely nothing to do with system administration, move them to section 1 where they always belonged and update references. Of course, rpmkeys and even rpm itself are a bit borderline - both can be used as a regular user too. But, the system admistrator is the primary targe

Re: [Rpm-maint] [rpm-software-management/rpm] Resurrect online rendering of man pages (Issue #3598)

2025-03-03 Thread Panu Matilainen
pmatilai left a comment (rpm-software-management/rpm#3598) https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#creating-a-custom-github-actions-workflow-to-publish-your-site seems like the relevant part... -- Reply to thi

Re: [Rpm-maint] [rpm-software-management/rpm] Bunch of man page formatting fixes + minor cleanups (PR #3607)

2025-03-03 Thread Panu Matilainen
@pmatilai pushed 6 commits. f77952323eb5c2e4a7dbe0d148a6c673e9eb4ae7 Use underlines for user-input parts in man pages, like deity intended 93a7b3a47d2484de226e14c28d9497a25b6139c0 Use underlines when referring to file names in manuals 3d26ef526b94f0039d87415243677addf8da927e Remove bolding fr

Re: [Rpm-maint] [rpm-software-management/rpm] Bunch of man page formatting fixes + minor cleanups (PR #3607)

2025-03-03 Thread Panu Matilainen
@pmatilai commented on this pull request. > ## INSTALLING, UPGRADING, AND REMOVING PACKAGES -*rpm* {*-i|--install*} [*install-options*] *PACKAGE_FILE ...* +*rpm* {*-i*|*--install*} [install-options] _PACKAGE_FILE_ [...] But, as soon as you start doing something like that it just feels so b

Re: [Rpm-maint] [rpm-software-management/rpm] Bunch of man page formatting fixes + minor cleanups (PR #3607)

2025-03-03 Thread Panu Matilainen
@pmatilai pushed 1 commit. ee40cb2d3e94062877b4344f370c1a3f77244a33 Drop couple of duplicates from rpm-misc(8) -- View it on GitHub: https://github.com/rpm-software-management/rpm/pull/3607/files/6ed00392b2083b30b4646f487914bace86df62f3..ee40cb2d3e94062877b4344f370c1a3f77244a33 You are receivi

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for macro file format (Issue #3613)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3613) Our main configuration file format is not documented anywhere at all... -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3613 You are receiving this because you are subscribed

[Rpm-maint] [rpm-software-management/rpm] RFE: add a man page for runtime configuration (Issue #3620)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3620) Rpm's configuration knobs are scattered throughout the main macros file and code with no central place where you can look configuration up. There should be a man page covering all the runtime (think queries, transactions etc) configu

[Rpm-maint] [rpm-software-management/rpm] RFE: add examples to rpm man page (Issue #3628)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3628) This is the big one, should have examples for all the major functionality: - install/update - erase - restore - verify - query -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/

[Rpm-maint] [rpm-software-management/rpm] RFE: add examples to rpmsign man page (Issue #3630)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3630) We have some example configuration in the rpmsign man page, but no cli usages. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3630 You are receiving this because you are subs

[Rpm-maint] [rpm-software-management/rpm] RFE: add examples to man pages where missing (Issue #3627)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3627) We have a few examples in the newer man pages, but all the really important ones are missing them entirely. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3627 You are recei

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for thorough macro syntax (Issue #3617)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3617) We have online docs for this, but it really belongs in a man page. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3617 You are receiving this because you are subscribed to th

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for queryformat (Issue #3618)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3618) Rpm's queryformat is complex enough that it's basically a mini-language. We have online docs for it, but this belongs to a man page where it's available without having to resort to a browser. It then also allows cross-referencing it f

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for rpm format (Issue #3619)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3619) We have online docs for the rpm file format but it really belongs in a man page (or a few, to cover the different versions and all) -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/i

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for spec format (Issue #3615)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3615) We have some online documentation for this, but it really belong in a man page that we'll then additionally make available on the web. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rp

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for rpm version comparison algorithm (Issue #3616)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3616) This comes up every now and then because it's such a major thing, yet we lack any documentation for it. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3616 You are receiving

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for dependency generator format/API (Issue #3622)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3622) We have an online doc for this but it should really be a man page. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3622 You are receiving this because you are subscribed to th

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for rpm design (Issue #3623)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3623) We now have an online doc (philosophy.md) for this but should really be a man page. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3623 You are receiving this because you ar

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: add man pages for all important parts of rpm (Issue #3612)

2025-03-03 Thread Panu Matilainen
pmatilai left a comment (rpm-software-management/rpm#3612) @dmnks ask and you shall receive 😄 -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3612#issuecomment-2694273318 You are receiving this because you are subscribed to this thread

[Rpm-maint] [rpm-software-management/rpm] RFE: add examples to rpmbuild man page (Issue #3629)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3629) This is the other major tool in rpm, and the man page it has zero examples. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3629 You are receiving this because you are subscri

[Rpm-maint] [rpm-software-management/rpm] RFE: add man pages for all important parts of rpm (Issue #3612)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3612) We currently have reasonable man page coverage for the commands and their switches, but the file formats and such are sorely missing. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm

[Rpm-maint] [rpm-software-management/rpm] RFE: Make online documentation release specific (Issue #3611)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3611) Our docs in https://rpm.org/documentation.html are currently release agnostic, with the occasional "in >= 4.15" style note but public documentation should really be based on stable releases instead of what happens to be in git master

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for rpmrc format (Issue #3614)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3614) Our main arch configuration format is not documented anywhere at all -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3614 You are receiving this because you are subscribed to

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for rpmbuild configuration (Issue #3621)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3621) Rpm's configuration knobs are scattered throughout the main macros file and code with no central place where you can look configuration up. There should be a man page covering all the build configuration tunables. -- Reply to this e

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: add man pages for all important parts of rpm (Issue #3612)

2025-03-03 Thread Michal Domonkos
dmnks left a comment (rpm-software-management/rpm#3612) How about https://rpm-software-management.github.io/rpm/manual/philosophy.html (and perhaps naming the man page `rpm-design`)? -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3612

[Rpm-maint] [rpm-software-management/rpm] RFE: add a man page for rpmuncompress (Issue #3624)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3624) This is considered kind of an internal tool, but as this is something packagers might want to use directly, we should have documentation for it. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-man

[Rpm-maint] [rpm-software-management/rpm] RFE: add man page for elfdeps (Issue #3625)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3625) This is largerly an internal-only tool but since packagers may want/need to call it directly, we should have docs for it. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3625

[Rpm-maint] [rpm-software-management/rpm] RFE: add a man page for build root policies (Issue #3626)

2025-03-03 Thread Panu Matilainen
pmatilai created an issue (rpm-software-management/rpm#3626) Build root policies is a major subsystem in the build process that has absolutely zero documentation. Oops. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/3626 You are recei

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
@ffesti pushed 4 commits. 62d1c736ae813bf33e6ac6cdeb738ea11696951f Move getKeystore to keystore module 8101bf17e8418b89e0c3b0b19d2221c938eb74b7 Open rpmdb when accessing the rpmdb keystore 13765ee545b5d43e9937399aa39ec3f557abe083 Add keystore::delete_store() bf635b57e6eb009a3c310f5af4983db8b86

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
@ffesti commented on this pull request. > @@ -149,7 +155,8 @@ int main(int argc, char *argv[]) args = (ARGV_const_t) poptGetArgs(optCon); -if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY) +if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY && +

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
@ffesti commented on this pull request. > virtual ~keystore() = default; +keystore(std::string n): name(n) {}; OK; for now I just moved the getKeystore to the keystore module and dropped this whole name business. For some reason this just does not work as expected with C++. I am al

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
@ffesti commented on this pull request. > @@ -406,6 +406,50 @@ rpmRC rpmtsImportPubkey(const rpmts ts, const unsigned > char * pkt, size_t pktlen return rc; } +rpmRC rpmtsRebuildKeystore(rpmtxn txn, const char * from) +{ +rpmts ts = rpmtxnTs(txn); +rpmRC rc = RPMRC_OK; +rpmK

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
@ffesti commented on this pull request. > + for (keystore *ks : std::vector +{&ks_fs, &ks_rpmdb, &ks_opengpg}) { + if (ks->name == from and ks->name != ts->keystore->name) { + ks->load_keys(txn, keyring); + found = true; + } +

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
ffesti left a comment (rpm-software-management/rpm#3562) > It's not a merge we want in --from mode, but move. Like with --rebuilddb. I > thought that was clear in the ticket but I guess not. And like said above, we > shouldn't be deleting anything we were not specifically asked to touch. Sure.

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Florian Festi
@ffesti commented on this pull request. > @@ -149,7 +155,8 @@ int main(int argc, char *argv[]) args = (ARGV_const_t) poptGetArgs(optCon); -if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY) +if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY && +

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Panu Matilainen
@pmatilai commented on this pull request. > @@ -149,7 +155,8 @@ int main(int argc, char *argv[]) args = (ARGV_const_t) poptGetArgs(optCon); -if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY) +if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY &&

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Panu Matilainen
@pmatilai commented on this pull request. > virtual ~keystore() = default; +keystore(std::string n): name(n) {}; Actually gcc gives a pretty helpful hint here when trying to add something like `static std::string name = "fs";` to the keystore: > /home/pmatilai/repos/rpm/lib/keystore

Re: [Rpm-maint] [rpm-software-management/rpm] Implement rpmkeys --rebuild (PR #3562)

2025-03-03 Thread Panu Matilainen
@pmatilai commented on this pull request. > @@ -149,7 +155,8 @@ int main(int argc, char *argv[]) args = (ARGV_const_t) poptGetArgs(optCon); -if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY) +if (args == NULL && mode != MODE_LISTKEY && mode != MODE_EXPORTKEY &&