Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Removes the old GitTreeTranslator API#64027

Merged
kritzcreek merged 3 commits into
mainfrom
christoph/remove-old-git-tree-translator
Jul 24, 2024
Merged

Removes the old GitTreeTranslator API#64027
kritzcreek merged 3 commits into
mainfrom
christoph/remove-old-git-tree-translator

Conversation

@kritzcreek

Copy link
Copy Markdown
Contributor

Following through after #63938

Test plan

Existing tests continue to pass

@cla-bot cla-bot Bot added the cla-signed label Jul 24, 2024
@github-actions github-actions Bot added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform labels Jul 24, 2024

@varungandhi-src varungandhi-src left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs a matching PR to sourcegraph/docs removing it or indicating that it no longer has any effect.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sourcegraph/docs#517

It's funny, because the order of this variable and PRECISE_CODE_INTEL_MAXIMUM_INDEXES_PER_MONIKER_SEARCH was swapped in the constructor call, so anyone using that variable was actually not changing the hunk cache size... 😞

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At this point, perhaps you can add _ names for the other parameters, and call the api.CommitID something like mappedTo or targetCommit? The other parameters are fairly self-explanatory.

@kritzcreek kritzcreek force-pushed the christoph/remove-old-git-tree-translator branch from 026ed19 to e0c02b0 Compare July 24, 2024 09:04
@kritzcreek kritzcreek enabled auto-merge (squash) July 24, 2024 09:04
@kritzcreek kritzcreek merged commit 19db59b into main Jul 24, 2024
@kritzcreek kritzcreek deleted the christoph/remove-old-git-tree-translator branch July 24, 2024 09:22
MaedahBatool referenced this pull request in sourcegraph/docs Aug 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/product-platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants