-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support RHEL/CentOS 5 #6
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@masahiro331 Could you review this PR? |
Sure |
masahiro331
approved these changes
Dec 15, 2020
meghfossa
added a commit
to meghfossa/go-rpmdb
that referenced
this pull request
Apr 11, 2022
* Remove Berkeley DB C-bindings (anchore#3) * add bdb go util & remove bdb bindings * add sourcerpm, size, license, and vendor fields * migrate from wagoodman/go-rpmdb to anchore/go-rpmdb * keep original pkg/module name * fix test assertion message Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> * verify we are only looking at overflow pages Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> * validate hash metadata pages on parse Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> * use xerrors and add overflow pagetype constant Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> * chore(README): add missing return * chore: add GitHub Actions (anchore#5) * Add MODULARITYLABEL Support (anchore#4) * Add MODULARITYLABEL * refactoriing deleteIndex * refactoring entry.go * [WIP] add verify info * refactor review * add data length implimentation * support array string * refactor(entry): add a reference * refactor(entry): replace 4.11 with 4.14 * refactor(entry): update error messages * refactor: move a validation into hdrblobVerifyRegion * refactor: add regionTag * add rdlen check * add strtaglen verify * refactor: remove unnecessary cast * refactor: use camel case * refactor: update errors * fix(lint) change rdlen uint32 to int32 * Fix fuzzer issues * Add il index check test * run go mod tidy Co-authored-by: knqyf263 <knqyf263@gmail.com> * feat: support RHEL/CentOS 5 (knqyf263#6) * test(rpmdb): add a failure case * feat: support RHEL/CentOS 5 * feat: support installed files (knqyf263#7) * fix(package): skip empty installed files (knqyf263#8) * Add support for handling RPM databases in NDB format (knqyf263#9) * Add support for handling RPM databases in NDB format RPM databases can be either in BerkeleyDB format or optionally in the newer "native" NDB format. there are linux distributions that switched their implementation of the rpm database away from BerkeleyDB out of concerns about future level of maintenance after its license change. See https://rpm.org/wiki/Releases/4.14.0 See also https://fedoraproject.org/wiki/Changes/NewRpmDBFormat This adds a simple interface that allows to drive either berkelydb or NDB format reading. * Begin error messages with lowercase Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> * More protection against potentially malformatted databases Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> * Drop use of go-restruct/restruct (knqyf263#10) * feat: add support for handling RPM database in SQLite3 format (knqyf263#12) Co-authored-by: knqyf263 <knqyf263@gmail.com> * refactor: use multierror (knqyf263#13) * chore: bump up Go to 1.17 (knqyf263#14) * test: add CBL-Mariner2.0 (knqyf263#15) Co-authored-by: Alex Goodman <wagoodman@users.noreply.github.com> Co-authored-by: Teppei Fukuda <knqyf263@gmail.com> Co-authored-by: Masahiro331 <mur4m4s4.331@gmail.com> Co-authored-by: Dirk Mueller <dmueller@suse.com> Co-authored-by: MaineK00n <mainek00n.1229@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
go-rpmdb
doesn't work withPackages
on RHEL/CentOS 5 now.