GoogleCloudPlatform / artifact-registry-apt-transport

Apache License 2.0
10 stars 17 forks source link

Investigate inferring transport name from binary name #13

Open hopkiw opened 1 year ago

hopkiw commented 1 year ago

Investigate having URI replacement use the name of the transport binary on disk rather than a hardcoded ar+https value (in method.go#169.

That is, if the file /usr/lib/apt/methods/ar+https is renamed to /usr/lib/apt/methods/myname, entries in sources.list(5) could use the myname:// scheme. This could possibly resolve issues where some tools don't handle the + character in the scheme properly.