Add ExtractNameFromRPMPath() to rpm.go#6370
Merged
dmcilvaney merged 4 commits intomicrosoft:mainfrom Nov 21, 2023
Merged
Conversation
1976393 to
d616c80
Compare
7079605 to
04be935
Compare
PawelWMS
reviewed
Nov 10, 2023
12 tasks
PawelWMS
reviewed
Nov 10, 2023
neha170
approved these changes
Nov 10, 2023
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
gmileka
pushed a commit
that referenced
this pull request
Dec 7, 2023
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
dmcilvaney
added a commit
to dmcilvaney/CBL-Mariner
that referenced
this pull request
Dec 14, 2023
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
dmcilvaney
added a commit
to dmcilvaney/CBL-Mariner
that referenced
this pull request
Dec 14, 2023
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
dmcilvaney
added a commit
to dmcilvaney/CBL-Mariner
that referenced
this pull request
Dec 14, 2023
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
rlmenge
pushed a commit
that referenced
this pull request
Dec 21, 2023
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
This file contains hidden or 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
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.
Merge Checklist
All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)
*-staticsubpackages, etc.) have had theirReleasetag incremented../cgmanifest.json,./toolkit/scripts/toolchain/cgmanifest.json,.github/workflows/cgmanifest.json)./SPECS/LICENSES-AND-NOTICES/data/licenses.json,./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md,./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)*.signatures.jsonfilessudo make go-tidy-allandsudo make go-test-coveragepassSummary
In preparation for an implicit provides optimization PR (RFC/PoC: #6298), add a function to rpm:
ExtractNameFromRPMPath(): Extracts the name of a package from it full filename. i.e.,pkg-name-1.2.3-4.cm2.x86_64.rpm->pkg-name. This needs to run on paths to files thay may not exist to usingrpm -q ...isn't possible here.Change Log
ExtractNameFromRPMPath()Does this affect the toolchain?
NO
Test Methodology