Skip to content
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

GigaChannel removal #7726

Merged
merged 9 commits into from
Nov 30, 2023
Merged

GigaChannel removal #7726

merged 9 commits into from
Nov 30, 2023

Conversation

qstokkink
Copy link
Contributor

@qstokkink qstokkink commented Nov 27, 2023

Related to #7669

This PR voids many of the previous issues related to channels.

Fixes #1368
Fixes #2284
Fixes #3615
Fixes #4637
Fixes #4645
Fixes #4650
Fixes #4672
Fixes #4677
Fixes #5015
Fixes #5067
Fixes #5154
Fixes #5271
Fixes #5522
Fixes #5587
Fixes #6208
Fixes #6126
Fixes #6217
Fixes #6395
Fixes #6481
Fixes #6680
Fixes #6711
Fixes #7489
Fixes #7491

The diff is so big that Codacy is broken. However, just before it died, it seemed like all issues were resolved.

The script test is broken because I removed the channel creation script test. I modified the workflow file but this will only take effect in PRs after this PR.

Almost all of the hard work is to be attributed to @egbertbouman. I came in afterward to rebase onto the latest main and tidy up some loose ends.


@egbertbouman is our "lucky" winner on the 25% reviewer assignment chance 🎉 but I would still like an additional review on #7726 (comment) because I feel these three source files could be better.

@qstokkink qstokkink force-pushed the rebase_giga_cleanup branch 6 times, most recently from a4800ef to 8666467 Compare November 28, 2023 10:57
@qstokkink qstokkink force-pushed the rebase_giga_cleanup branch 3 times, most recently from 98cffd0 to bd06c13 Compare November 28, 2023 14:07
@qstokkink qstokkink changed the title WIP: The big giga cleanup WIP: The mega big GigaChannel super slimming Nov 28, 2023
@qstokkink qstokkink force-pushed the rebase_giga_cleanup branch 3 times, most recently from c8983cb to f5b5d5a Compare November 29, 2023 10:02
@qstokkink qstokkink force-pushed the rebase_giga_cleanup branch 5 times, most recently from 5e7ccb8 to 140ad13 Compare November 29, 2023 11:50
@qstokkink
Copy link
Contributor Author

@kozlovsky Could you take a look at the changes in:

  • src/tribler/core/upgrade/tags_to_knowledge/previous_dbs/tags_db.py
  • src/tribler/core/upgrade/tests/test_upgrader.py
  • src/tribler/core/upgrade/upgrade.py

This works with the new database format but I'm not entirely confident in my implementation. Is there a better way to do this?

@qstokkink qstokkink marked this pull request as ready for review November 30, 2023 08:41
@qstokkink qstokkink requested review from a team and egbertbouman and removed request for a team November 30, 2023 08:41
@qstokkink qstokkink changed the title WIP: The mega big GigaChannel super slimming READY: The mega big GigaChannel super slimming Nov 30, 2023
@qstokkink qstokkink changed the title READY: The mega big GigaChannel super slimming GigaChannel removal Nov 30, 2023
@qstokkink qstokkink merged commit 8bb85b5 into Tribler:main Nov 30, 2023
26 of 29 checks passed
@qstokkink qstokkink deleted the rebase_giga_cleanup branch November 30, 2023 14:22
@qstokkink qstokkink mentioned this pull request Nov 30, 2023
13 tasks
@hbiyik
Copy link

hbiyik commented Nov 30, 2023

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment