Closed tigarmo closed 1 year ago
Once we changed the field type to AnyUrl it stopped supporting localpaths, which breaks at least one user from Snapcraft.
AnyUrl
Try to use a file:// "url" for the url field in a package-repository model specification (yaml).
file://
url
package-repositories: - key-id: <elided> path: . type: apt url: file:///tmp/tmp.JprehK6wsY/repo
1 validation error for PackageRepositoryApt url URL host invalid (type=value_error.url.host)
Bug Description
Once we changed the field type to
AnyUrl
it stopped supporting localpaths, which breaks at least one user from Snapcraft.To Reproduce
Try to use a
file://
"url" for theurl
field in a package-repository model specification (yaml).part yaml
Relevant log output