##// END OF EJS Templates
git: update check for invalid URL characters to work with Python versions that include an attempt at fixing the very same problem...
git: update check for invalid URL characters to work with Python versions that include an attempt at fixing the very same problem With changes like https://github.com/python/cpython/commit/76cd81d60310d65d01f9d7b48a8985d8ab89c8b4 making it to Python 3.10 and being backported to previous Python versions, the approach in a8a51a3bdb61 no longer works when combined with urllib.parse.urlparse in d2f59de17bef: path will never contain the invalid characters. To catch this case anyway, add a new check to verify that the parsed URL can roundtrip back to the original representation with urllib.parse.urlunparse . The actual exception might vary, but one of them should always fire. There is a risk that the new check will reject some URLs that somehow isn't normalized. No such cases have been found yet.

File last commit:

r8098:b6b69559 default
r8681:f0fbb0fe default
Show More
models.rst
29 lines | 511 B | text/x-rst | RstLexer
Lukasz Balcerzak
Fixed models link at documentation
r849 .. _models:
docs updates
r811
docs
r2095 ========================
Mads Kiilerich
docs: cleanup of casing, markup and spacing of headings...
r5413 The :mod:`models` module
docs updates
r811 ========================
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 .. automodule:: kallithea.model
docs updates
r811 :members:
whitespace cleanup
r3224
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 .. automodule:: kallithea.model.comment
docs update
r1839 :members:
whitespace cleanup
r3224
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 .. automodule:: kallithea.model.permission
docs updates
r811 :members:
docs update
r1839
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 .. automodule:: kallithea.model.repo
whitespace cleanup
r3224 :members:
docs updates
r811
Bradley M. Kuhn
docs: fix building html
r4226 .. automodule:: kallithea.model.repo_group
docs update
r1839 :members:
whitespace cleanup
r3224
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 .. automodule:: kallithea.model.scm
docs updates
r811 :members:
whitespace cleanup
r3224
Bradley M. Kuhn
First step in two-part process to rename directories to kallithea....
r4186 .. automodule:: kallithea.model.user
whitespace cleanup
r3224 :members:
Bradley M. Kuhn
docs: fix building html
r4226 .. automodule:: kallithea.model.user_group
whitespace cleanup
r3224 :members: