[rb-general] BUILD_PATH_PREFIX_MAP format spec, draft #1

Ximin Luo infinity0 at debian.org
Wed Jan 25 15:10:00 CET 2017


Daniel Kahn Gillmor:
> On Tue 2017-01-24 07:08:52 -0500, Holger Levsen wrote:
>> On Mon, Jan 23, 2017 at 10:14:00PM +0000, Ximin Luo wrote:
>>> To avoid this I'll drop the hex-encoding, and instead do a simpler mapping:
>>>
>>> '%' -> '%%'
>>> '=' -> '%+'
>>> ':' -> '%;'
>>  
>> this seems nice, as in, not overly complicated!
>>
>> I'm curious what others think!
> 
> I also like it, and i appreciate the effort that's gone into mapping out
> the range of possible implementations and working out what people's
> needs are.
> 
> As someone who has said "i would prefer the simplicity of expect paths
> to not have any ':' in them", this can actually meet my expectations --
> as long as my paths don't have ':' or '%' or '=' then i can happily
> avoid doing any sort of escaping, which is not much worse than the i'd
> proposed.  At the same time, this proposal covers the requirements from
> other build systems who really prefer to avoid ruling out any characters
> from the path names, and it does so in a way that doesn't seem
> particularly complicated to implement.
> 
> thumbs up from me!
> 

Thanks for the input! I should have code and tests ready by the end of tomorrow.

X

-- 
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git


More information about the rb-general mailing list