On Thu, Feb 04, 2016 at 14:56 +0100, Matthias Bach wrote:
Hi Holger, hi all
Overall I think restricting the user and index names is the proper way to go.
On our installation we are using the dot (.) in addition the characters suggested by you. If that character would no longer be legal in 3.X this would make the migration rather painful for us, as we store references to the indices in external systems. Thus, we would require names matching following regex to be valid:
[a-z0-9A-Z_.-]*
I am not convinced that mangeling would work to well for us, as it would increase the amount of requests performed during `pip install`, causing a lot of additional traffic and load.
I see the point. I think we can just allow "." and maybe also ":" and even extend it if needed during the 3.0.X series. What about mandating that a user/index starts with [a-zA-Z]?
Florian suggests on IRC that we rather do a blacklist like::
whitespace and [+/\<>"']
which might be the most compatible approach and also supports unicode names.
holger
Kind Regards, Matthias
-- Dr. Matthias Bach Senior Software Engineer *Blue Yonder GmbH* OhiostraÃe 8 D-76149 Karlsruhe
Tel +49 (0)721 383 117 6244 Fax +49 (0)721 383 117 69
matthi...@blue-yonder.com www.blue-yonder.com Registergericht Mannheim, HRB 704547 USt-IdNr. DE DE 277 091 535 Geschäftsführer: Jochen Bossert, Uwe Weiss (CEO)
-- You received this message because you are subscribed to the Google Groups "devpi-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to devpi-dev+...@googlegroups.com. To post to this group, send email to devp...@googlegroups.com. Visit this group at https://groups.google.com/group/devpi-dev. For more options, visit https://groups.google.com/d/optout.