-
Notifications
You must be signed in to change notification settings - Fork 451
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
Channels Retirement #7669
Comments
Just in case anyone is curious, I have a branch here. Please bear in mind that this branch was meant to see if we could easily remove the channels, and shouldn't be considered stable. It took about 3-4 days to make this, while losing 7500 LoC. |
@egbertbouman In order to get a PR out of your branch, it seems like these are the remaining TODOs:
Is that correct? By the way, I'm not trying to solve ALL the bullet points listed in O.P. in a single PR. I'll leave the rest for (a) follow up PR(s). |
Sounds right, although I'm not sure how many of the tests you can restore from the original One thing to note (for potential future PRs) is that I basically didn't touch the database. The main db table is still called |
@egbertbouman Cool, thanks 👍 That sounds like it should be a relatively quick* job then ("famous last words"). I'll get started on this now then. *EDIT: 45 minutes of merge conflicts 🙂 |
The initial cut has now been merged in #7726. I'll move on to the (hopefully) smaller points now. |
The next step will be to merge After this I'll hand off this issue to @kozlovsky to merge the databases into one component. |
The I'll start spending some time on doing "aftercare" for the two big PRs (in the form of fixing bugs). The remaining "metadatastore -> Tribler database" refactoring(s) will remain pending until our database expert @kozlovsky comes back from vacation. |
The "search" REST endpoint is part of After the move, the "metadatastore -> Tribler database" integration will still need to happen but it won't interfere too much with the other work because the relevant files will have been moved to a stable location. Detailed planMain source moves (relative to the
Unit tests should be moved to the appropriate locations. Components and their settings should be merged into the appropriate components. The contents |
With the merge of #7773, I will (try to again) partially pull out of this issue to focus on #7632 (comment) As I laid out before, I'll wait for @kozlovsky to come back from vacation to make sure that the final merge of the |
@egbertbouman when you're back from vacation: if the upgrader script is now using explicit tables anyway (as proposed in #8163) it might be easier to do the final database file merge before the That said, this will be a lot of work again and it might cause instability just before the shiny new I think I'm mildly in favor of getting this done before the |
[Offline discussion summary] Do we even want everything in the same database? Aesthetically, one database file is certainly more appealing. However, from a development perspective, everything is worse: we have to create and maintain complex database migrations and one Tribler experimental module can corrupt the database for all other modules. Current sentiment is to just keep separate database files. |
@qstokkink Agreed, let's close this. |
Channels Retirement Plan:
Core Side:
metadata.db
structure (completed by @egbertbouman)metadata.db
to the DatabaseComponentData Side (migration):
GUI Side:
Post-implementation, users will encounter an updated GUI:
On the core side, the PopularityCommunity will inherit the search feature from the ChannelCommunity.
The text was updated successfully, but these errors were encountered: