SVN: Checkout, Multi-Repo, Optimizations & Clean-up #104

Merged
Demeter Dzadik merged 12 commits from Mets/blender-studio-pipeline:SVN-improvements into main 2023-07-10 16:49:03 +02:00

12 Commits

Author SHA1 Message Date
10f3e1ef0b SVN: Bump version to 1.0.0 2023-07-08 01:23:01 +02:00
b3e9c83ebe SVN: autopep8 2023-07-08 01:22:30 +02:00
7690627772 SVN: Fix UI error when cancelling a checkout 2023-07-08 01:18:23 +02:00
42c5015f12 SVN: Add svn checkout workflow
This has been a long time coming, and with this, the SVN add-on could
be considered feature-complete.

(Although we still don't have SVN locking, but I would rather implement
that in a completely custom and de-coupled way, another day.)
2023-07-08 00:54:09 +02:00
f3a865c51b SVN: Allow downloading repo version in bg 2023-07-07 21:29:36 +02:00
e108b80852 SVN: Fix some errors when initializing the addon 2023-07-07 21:28:27 +02:00
968031176d SVN: Improve UX when moving between repositories
Jumping between Pets and Gold with the "Current Blend"
active repository mode seems to be working super smoothly now.
2023-07-07 19:42:16 +02:00
df18790869 SVN: Optimize log filtering
Same method as previous commit:
Whenever the active file changes, we set flags on each log file,
indicating whether that file is affected.

This doesn't optimize text-based search filtering, only filtering by
the active file.

Either way, both of these types of filtering are already very fast,
so the speed-up is not as dramatic as the previous improvement.

And for that reason, I probably won't bother also optimizing the
text-based filtering.
2023-07-07 16:33:12 +02:00
aea472eee9 SVN: Massive UI drawing performance boost
It was taking a crazy amount of time to determine whether the SVN log
should even be drawn, and also determining whether each file should
be filtered or not.

Now instead of doing this at drawing time, we store a flag on each
file, and update that whenever the search filter changes,
and after status updates and operations.

Should be safe...? Maybe?

A similar change for SVN log entries might follow,
but the slow-down from that seems nowhere near as bad.
2023-07-07 16:07:27 +02:00
47ec1f60ff SVN: Better msgs on why repo isn't authenticating 2023-07-07 14:51:28 +02:00
a8fc415cdd SVN: Fix process not set is_running=False on error 2023-07-07 14:50:58 +02:00
9b9b3de8f4 SVN: Don't auth if repo non-existent 2023-07-07 14:50:25 +02:00