Repository navigation
Support any package architecture - #12
Merged
Merged
Conversation
hostname package is architecture specific compared to run-one. It will be used later when we introduce multiarchitecture operation.
Contributor
Author
|
Before merging this PR, please look at the outstanding issue: #11 (comment) |
niemeyer
requested changes
Jul 8, 2022
niemeyer
left a comment
Contributor
There was a problem hiding this comment.
Looks very nice, Tomáš!
Here are a few suggestions, mainly with cosmetic tuning. Please let me know what you think.
Contributor
Author
|
Thanks @niemeyer :-) Addressed all your comments, Also tested as in #11 (comment) via and checked and |
niemeyer
requested changes
Jul 11, 2022
niemeyer
left a comment
Contributor
There was a problem hiding this comment.
Thanks for the changes. Just a couple of bits and it's good to go.
woky
force-pushed
the
multiarch
branch
2 times, most recently
from
July 11, 2022 10:50
3add120 to
b5906e3
Compare
Contributor
Author
|
@niemeyer Addressed your comments and tested the same as in my previous comment. |
Add helper functions - ValidateArch() to validate given package architecture - InferArch() to infer package architecture from current platform Also add unit tests.
Add option --arch <arch> to `cmd cut`. If the argument is not given (or is empty), the architecture is inferred in archive.Open() from current platform architecture (runtime.GOARCH). Architecture validation and inferring is done by deb.ValidateArch().
Contributor
|
Thank you! |
rebornplusplus
pushed a commit
to rebornplusplus/chisel
that referenced
this pull request
Oct 8, 2024
This commit adds support for fetching packages from multiple archives. It introduces a new field `archives.<archive-name>.priority` which takes in a signed integer and specifies the priority of a certain archive. A package is fetched from the archive with highest priority. It also deprecates the concept of default archive in chisel.yaml. However, the field can still be present and it will be parsed but IGNORED. DEPRECATED: "archives.<archive>.default" field in chisel.yaml. --------- Co-authored-by: Alberto Carretero <[email protected]>
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.
resolves #11