commit | c0a853e9fa85185a5531fbfaff3e1c220c12c30f | [log] [tgz] |
---|---|---|
author | Kevin Wells <kevinwells@google.com> | Tue May 21 17:59:25 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue May 21 17:59:25 2019 +0000 |
tree | 70bdc5a440f86e66f540f92e9117507f6aac6d2a | |
parent | cce765c8a5d1c3f44f3a6798831a9ac92e6aea48 [diff] |
[amberctl] Mirror source edits to pkg_resolver This reverts commit 34034708ba7ec01b7e4fccbcd72c6ca578bd0497, which was a revert of this original change. amberctl generated the repo config's repo_url field by appending the source config's ID to "fuchsia-pkg://", but when the source config contained characters that are not part of a host name (like "http://"), the repository manager would reject the repo config, causing amberctl to bail out. In addition to the original change, this change sanitizes source config ID to contain only valid characters and adds test cases to verify the functionality. Test: amberctl-tests, add-update-source without -n parameter Change-Id: I2493a91d8806f30c55fd1996d306471c2ef9b1ff
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.