Please document Haskell team style Vcs-Git sytax
Ian Jackson
ijackson at chiark.greenend.org.uk
Sat Aug 10 19:36:31 BST 2019
Russ Allbery writes ("Re: Please document Haskell team style Vcs-Git sytax"):
> Yeah, this is a pretty good point, and it decreases the complexity of the
> syntax a fair bit. Ian, what do you think about making the extensibility
> model for any future thing be add another field?
I found myself trying to implement what I had suggested earlier and
ran up against the question of what to do about [ ] in optional
values.
I decided to use this regexp
+ $vcsgiturl =~ s/\s+\[[^][]*\]//g;
(I need to strip the information, not use it.) That hopes paths do
not contain [ ] but permits (and eats) spaces inside the [ ].
I'm inclined to think that these questions show that my original
proposal was not brilliant and that your idea is better.
HTH.
Ian.
--
Ian Jackson <ijackson at chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
More information about the Pkg-haskell-maintainers
mailing list