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

Integrate with Sapling or Git if they exist #4691

Closed

Conversation

bigfootjon
Copy link
Member

There is some basic code here that is AFAICT only used in Meta's private version of the compiler. We can take that code, spruce it up a bit, and integrate it into the public version of the compiler!

Test plan:

I built the compiler locally and tested against a local Sapling repo. It worked as expected. I didn't have a chance to try it on a git repo though :/

@facebook-github-bot
Copy link
Contributor

@bigfootjon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

bigfootjon added a commit to bigfootjon/relay that referenced this pull request May 7, 2024
Summary:
When relay produces new files or deletes existing files, it will now automatically add them or remove them from source control (Sapling and Git are supported).


Test Plan: I built the compiler locally and tested against a local Sapling repo. It worked as expected. I didn't have a chance to try it on a git repo though :/

Differential Revision: D56963384

Pulled By: bigfootjon
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56963384

Summary:
When relay produces new files or deletes existing files, it will now automatically add them or remove them from source control (Sapling and Git are supported).


Test Plan:
I built the compiler locally and tested against a local Sapling repo. It worked as expected.

Git support was checked by adding and removing some queries in:
https://github.com/captbaritone/grats-relay-example

Reviewed By: captbaritone

Differential Revision: D56963384

Pulled By: bigfootjon
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D56963384

@facebook-github-bot
Copy link
Contributor

@bigfootjon has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@bigfootjon merged this pull request in 9cf21af.

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

Successfully merging this pull request may close these issues.

None yet

2 participants