rpm: consult dnf database for repository information#869
rpm: consult dnf database for repository information#869github-actions[bot] merged 31 commits intoquay:mainfrom
Conversation
5acce04 to
5a9d76e
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #869 +/- ##
==========================================
- Coverage 55.39% 55.23% -0.17%
==========================================
Files 282 283 +1
Lines 17836 17923 +87
==========================================
+ Hits 9881 9899 +18
- Misses 6923 6990 +67
- Partials 1032 1034 +2 ☔ View full report in Codecov by Sentry. |
rpm/dnf.go
Outdated
| if fi, err := fs.Stat(sys, `root/buildinfo/content_manifests`); errors.Is(err, nil) && fi.IsDir() { | ||
| // This is a RHEL layer, skip. | ||
| return nil, nil | ||
| } |
There was a problem hiding this comment.
- Update this to check the files for a marker value and continue if found.
Should look for from_dnf_hint key in the yaml files.
See also: containerbuildsystem/atomic-reactor#2140
There was a problem hiding this comment.
Punting on this unless we determine it's needed.
|
I created rpm-software-management/rpm#3505 related to this |
10b07ff to
e59f165
Compare
8c86d88 to
7a459ba
Compare
RTann
left a comment
There was a problem hiding this comment.
made it through most of the files, but I'll need to come back to this another time. Would you mind making more commits and then squashing things at the end so it's easier to see the diffs after each round? Thanks
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
This adds two helpers: one to discover repoids, and one to annotate a stream of Packages. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Signed-off-by: Hank Donnay <hdonnay@redhat.com>
I saw this and had to re-check why the short read wasn't handled, so this adds a note explaining it. Signed-off-by: Hank Donnay <hdonnay@redhat.com>
Not specifically, no. |
|
/fast-forward |
These changes make the
rhelmachinery consult both therpmanddnfdatabases when possible.See-also: #809