forked from toolshed/abra
95220049e8
Add NormalizeRecipeName to canonicalize the various ways a recipe can be referenced - https/http/ssh URLs, SCP-style git@host:path, already- canonical host/path, and short catalogue names - to a single stable "host/path" form, preserving any ":version" suffix. Wire it into recipe.Get and ValidateRecipe so every entry point accepts git URLs, and add Recipe.ShortName to recover the bare recipe name from a prefixed one. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>