Closed guhetier closed 5 years ago
FWIW the code looks reasonable to me; the tests all pass except for python 3.7 (fixed in master).
@xNephe you still working on this?
I didn't find time to work on it in the last weeks, I have been pretty busy, but I haven't forgot it. I hope to find some time by the end of the week.
I eventually found some time to fix the PR:
Thanks a lot! Merged with a few minor changes in ee9d78044040b8bd9090b774838a9f6684941f2d and 7f3f5b49990076c0c0e5338a31a523a70c92b750
Thanks! However, I noticed you added a function is_hidden_folder
that end up not being used, because of the switch from listdir
to glob.glob
. We may want to delete it?
Oops thanks!
Hey, is there a way to hide those invalid repositories?
This avoid getting an error 500 on an invalid git repository, as discussed in #176 and #231.
the autoreloading app ignores hidden folders in
KLAUS_REPOS_ROOT
invalid repository are displayed in red in the repos list alongside an error message, instead of triggering an error 500.
The index page with invalid repos look like this:
I am terrible at designing things, so advice to improve the display of invalid repositories are welcome!