[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Standardizing the layout of git packaging repositories



On Fri, Aug 15, 2014 at 04:16:01PM +0200, Raphael Hertzog wrote:
> - <version> encoding (due to git restrictions):
>     ":" -> "%"
>     "~" -> "_"

I think I'd prefer to see something like X -> _Y where chr(Y) = X and
hex(ord(X)) = Y, e.g.
    
    "_" -> "_5f"
    ":" -> "_3a"
    "~" -> "_7e"

There is probably a more sensible choice of escape character than '_',
something not commonly used in native git tag names, yet legal.


Reply to: