[Rpm-maint] [rpm-software-management/rpm] No build directives in generated spec parts (PR #2917)

2024-02-19 Thread Florian Festi
Many things need to be known before the build can be started. Make declaring these sections or directives an error when encountered parsing the generated Spec parts. Resolves: #2693 You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-manageme

Re: [Rpm-maint] [rpm-software-management/rpm] How to specify a fallback package for unpackaged files? (Discussion #2907)

2024-02-19 Thread Ludwig Nussel
interesting hack. Would be nice if rpm could do that natively indeed. Would help a lot to build git head of software based on the spec file of a stable version. Might actually be doable by breaking the loop in `processBinaryFiles()` into a two stage process. -- Reply to this email directly or

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Florian Festi
I wonder if you need to store the repo file. Just having a name is not of much use. Especially for yum/dnf where the name is in the local file and can be changed at will. You will also need to store $release (you obviously already have $arch) to be able to interpret the links in there. -- Repl

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Tomas Mlcoch
Originally arches were split, but Liora Milbaum proposed that a single file would be better as it would guaranteed consistency. As Liora has background in both Red Hat In-Vehicle Operating System [1] and Bootc [2] who are both potential candidates for usage of the lock files and especially [1]

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Jaroslav Mracek
I just want to point out that structure might be vie reversa. Instead ``` - arch: aarch64 repos: repoid: packages: ``` To use packages: wget: repoid: baseos arch: x86_64 s390 ``` Then I discovered one problem when o

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Michal Domonkos
I agree with @ppisar and @pmatilai above, this proposal seems to be sitting one "floor" above us. We don't deal with repositories or the distribution of packages in general. That said, of course, if anything comes out of this discussion that impacts RPM itself, we're happy to help. Also, like P

Re: [Rpm-maint] [rpm-software-management/rpm] Enhance the recoverability and location of database exceptions (Issue #2828)

2024-02-19 Thread xujing
> You mean 'rpm --verify'? What errors? No, -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2828#issuecomment-1952432415 You are receiving this because you are subscribed to this thread. Message ID:

Re: [Rpm-maint] [rpm-software-management/rpm] Enhance the recoverability and location of database exceptions (Issue #2828)

2024-02-19 Thread xujing
Closed #2828 as completed. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/2828#event-11849567215 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint m

Re: [Rpm-maint] [rpm-software-management/rpm] Add a test group for package format matters (PR #2916)

2024-02-19 Thread Panu Matilainen
Merged #2916 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2916#event-11848850444 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mail

[Rpm-maint] [rpm-software-management/rpm] Add a test group for package format matters (PR #2916)

2024-02-19 Thread Panu Matilainen
Details in the commits, but basically add a new test group for package format matters + a test for v4 package format utilizing rpmdump. You can view, comment on, or merge this pull request online at: https://github.com/rpm-software-management/rpm/pull/2916 -- Commit Summary -- * Split our r

Re: [Rpm-maint] [rpm-software-management/rpm] Generate rpmtests.at automatically to avoid redundant book-keeping (PR #2915)

2024-02-19 Thread Panu Matilainen
Merged #2915 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2915#event-11848573139 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mail

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Panu Matilainen
Yeah this doesn't seem particularly relevant to rpm itself. But if people want to use this as a depsolver agnostic place to discuss it, you're welcome to do so. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/discussions/2908#discussioncommen

[Rpm-maint] [rpm-software-management/rpm] Generate rpmtests.at automatically to avoid redundant book-keeping (PR #2915)

2024-02-19 Thread Panu Matilainen
We have the list of tests in cmake, we can just as well generate the master rpmtests.at file from there. As the order of tests now depends on the list in tests/CMakeLists.txt, update it to match the former order in rpmtests.at. As arbitrary as that order is, people seem to get attached to certa

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Petr Pisar
Reading all the fuss with repoid, are you sure you are targeting the right project (rpm)? `rpm` tool has no notion of repositories. It only works with locally accessible RPM packages. Even specifying remote RPM packages with an URL and letting `rpm` tool to download them is, although implemente

Re: [Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)

2024-02-19 Thread Erik Skultety
Something that occurred to me just now - why does the lockfile contain multiple architectures? Isn't a purpose of a more-or-less generic lockfile to address a single use case? IOW the way I'm now looking at the format it looks like whatever is consuming the lockfile is supposed to prefetch data

Re: [Rpm-maint] [rpm-software-management/rpm] CMakeLists.txt: eliminate floating dependencies (PR #2914)

2024-02-19 Thread Panu Matilainen
@pmatilai requested changes on this pull request. These are all optional dependencies and must remain that way, some of these dependencies aren't available outside Linux at all. Without the corresponding cmake options this is a no-go. -- Reply to this email directly or view it on GitHub: htt

Re: [Rpm-maint] [rpm-software-management/rpm] Implement --json query format (PR #2913)

2024-02-19 Thread Panu Matilainen
Merged #2913 into master. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2913#event-11847031818 You are receiving this because you are subscribed to this thread. Message ID: ___ Rpm-maint mail

Re: [Rpm-maint] [rpm-software-management/rpm] Implement --json query format (PR #2913)

2024-02-19 Thread Michael Schroeder
@mlschroe approved this pull request. -- Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/2913#pullrequestreview-1887945667 You are receiving this because you are subscribed to this thread. Message ID: