-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
READY: Total dirs renaming #5032
Conversation
DeepCode's analysis on #e89149 found:
List of critical issues
💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues. |
Could you give us a quick overview of the performed renaming in the OP*? The LOC change is rather.. daunting. * And any changes that were non-trivial. |
Well, the best way to look at the new structure is to browse it: https://github.com/ichorid/tribler/tree/rename_dir |
I have to say, compared to previous versions of your branch, I looks a lot better now that you've cleaned up the root a bit and moved to tests into separate directories.
Just a quick comment on code reformatting, before you make another massive pr. As far as I know blackifying the entire codebase is still up for discussion and we merely agreed it was ok to blackify gui and metadata code. |
Don't worry, I'm not going to do it without every developer's consent 😉 |
This commit changes the repository dirs structure to conform with Python standards. Tribler is now split into three Python packages: * tribler-core // All Core and modules * tribler-gui // All GUI stuff * tribler-common // Contains definitions common to GUI and Core All the packages now reside in ./src directory, as well as other components, e.g. submodules. Tests are moved inside the corresponding subpackages directories.
@xoriole, I consider this good and ready for merging. |
|
The main execution file |
😮 LoC: "+70,962 -71,584" |
Yep, I'm holding the record for the biggest PR now 😛 |
Yes, truly amazing. |
!!! ACHTUNG !!!!
Git does not preserve history through file renames. This is a known Git shortcoming. Locally,
git blame
should still work, but GitHub will forever show yours truly as the sole author of the moved files.Ok, this is bad. However, considering the amount of refactoring Tribler codebase underwent through the last year, and in the wake of Blackifiyng the whole repository, this is not that bad. Otherwise, we're stuck with 😵 🍄 dRuG-aDdiCt-StyLe 🍄 😵 non-pep8 naming forever.