On Thu, Jul 14, 2022 at 10:02 AM Daniel Sahlberg <daniel.l.sahlb...@gmail.com> wrote: > > Den tors 14 juli 2022 kl 15:52 skrev Daniel Shahaf <d...@daniel.shahaf.name>: >> >> Nathan Hartman wrote on Wed, 13 Jul 2022 15:29 +00:00: >> > On Wed, Jul 13, 2022 at 10:55 AM Daniel Shahaf <d...@daniel.shahaf.name> >> > wrote: >> >> Should the entry link to the zsh script >> >> (https://mail-archives.apache.org/mod_mbox/subversion-dev/202008.mbox/%3C20200816130713.6abca815%40tarpaulin.shahaf.local2%3E) >> >> as well, as an alternative? It might be useful for someone if their >> >> environment doesn't have Python installed or if they find the zsh script >> >> easier to audit. >> > >> > I think it would be useful, and... >> > >> >> (Well, I suppose it might make more sense to copy the script >> >> somewhere than to link to an immutable archives message with that >> >> subject line.) >> > >> > ...the place to put it is probably tools/client-side/ just like the >> > Python script. >> >> Being in tools/ would imply dev@ accepts responsibility for bug reports >> against the zsh script. Is dev@ happy to do that? I'm concerned about >> the bus factor. > > > I was just about to say the same thing (and with no intention to discredit > the zsh version). If it is desirable to list all available realms and let the > user choose interactively, I could add that to the Python script. > > I was also going to add that I think it is better to provide one tool and > make sure that tool is working well instead of having two tools that differ > only in tiny details, since they might bit-rot in different ways over time > and it might be hard for a newcomer to understand the motivation of having > different tools.
These are all good points. I admit that zsh is a bit of a mystery to me, as is the script, so I couldn't provide support for it, at least not with my current knowledge. I am impressed that zsh can do so much with so little. It's in the list archives, but as DanielSh points out, is in a thread with a not-so-nice subject. That could be addressed by re-mailing it to dev@ with a new subject, e.g., "Prototype zsh script to store svn password in plaintext" in case anyone ever asks or searches for a non-Python way to do it. We could even link to it from the same FAQ, e.g., "An example of how to store svn plaintext credentials was implemented as a zsh script. It is unsupported by the SVN maintainers but can be found at [link] for pedagogical purposes." Cheers, Nathan