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

nix: fix build with git thrift #729

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented Nov 8, 2022

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)

martinvonz and others added 2 commits November 8, 2022 10:37
As mentioned in the previous commit, we need to remove the Protobuf
dependency in order to be allowed to import jj into Google's
repo. This commit makes `SimpleOpStore` store its data using Thrift
instead of Protobufs. It also adds automatic upgrade of existing
repos. The upgrade process took 18 s in my repo, which has 22k
operations. The upgraded storage uses practically the same amount of
space. `jj op log` (the full outut) in my repo slowed down from 1.2 s
to 3.4 s. Luckily that's an uncommon operation. I couldn't measure any
difference in `jj status` (loading a single operation).
@martinvonz martinvonz force-pushed the push-4bddffe180d445be9d82618a5bc7e91c branch 2 times, most recently from ea3a114 to 34b21a6 Compare November 9, 2022 00:37
@martinvonz
Copy link
Owner

Squashed into #700, which now works. Thanks!

@martinvonz martinvonz closed this Nov 9, 2022
@Ralith Ralith deleted the push-09e29a4d2b324c07ba816a797e1b93ac branch November 9, 2022 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants