[Rpm-maint] [rpm-software-management/rpm] Introduction of "rpms.lock.yaml" file (Discussion #2908)
Erik Skultety
notifications at github.com
Fri Feb 16 13:01:23 UTC 2024
> @eskultety I have no problem with this, I would just suggest to keep sources as sources and not rpms, because then you would need a heuristic logic in the client consuming this format to detect sources (although it may be as simple as endswith((".src.rpm",".srpm")).
In hindsight the choice for the term being 'rpms' isn't the best one, in reality the more common one truly is `packages` .
@Tojaj giving this format proposal some more thought, sources are arch independent, so shouldn't they be actually extracted out of that dictionary like this instead?
```
arches:
- arch: foo
repos:
repoid: barid
packages:
- ...
sources:
repos:
repoid: bazid
packages:
- *.src.rpm
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/discussions/2908#discussioncomment-8492261
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/repo-discussions/2908/comments/8492261 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240216/75bc3d06/attachment.html>
More information about the Rpm-maint
mailing list