jbang icon indicating copy to clipboard operation
jbang copied to clipboard

let catalogs resolve against hosts not just git based content

Open maxandersen opened this issue 5 years ago • 2 comments

today aliases/catalogs looksup using <alias>@<org/username>[/<repo>] against github, gitlab, etc. to locate a jbang-catalog.

wondering if we should make it that if the <org/username> part has a dot (.) in it should treat it as a plain up hostname to resolve against.

i.e. [email protected] would look for https://golo-lang.org/jbang-catalog.json since its not a valid org/username.

maxandersen avatar Oct 22 '20 06:10 maxandersen

@quintesse wdyt ? feels like should be fairly trivial ?

maxandersen avatar Jun 26 '21 21:06 maxandersen

Sure, although it seems to me it should be possible to specify a path as well. I think there won't be that many options where you have access to the root of a domain except in those cases where the domain is yours (and even then you might not want to use the root path).

quintesse avatar Jun 28 '21 17:06 quintesse