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

FR: Is there a way to use jj programatically? #3615

Closed
jdmarshall opened this issue May 2, 2024 · 3 comments
Closed

FR: Is there a way to use jj programatically? #3615

jdmarshall opened this issue May 2, 2024 · 3 comments

Comments

@jdmarshall
Copy link

Is your feature request related to a problem? Please describe.

Providing a GUI for JJ, but ideally also to be able to use JJ as backing store for document edits (eg, wiki edit history)

Describe the solution you'd like
API for performing actions with jj, instead of trying to wrap the CLI.

Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.

@matts1
Copy link
Collaborator

matts1 commented May 3, 2024

There's a fair amount of existing discussions in this area.
#3034 and #3601 discuss how to go about it

https://github.com/gulbanana/gg is a gui for jj that uses the jj-lib crate under the hood. In the long term, I'd like to stop people from being able to use the jj-lib crate's internals directly by providing a proper, formal API that is well-documented and stable, but for now it's the only way to do so.

@ilyagr
Copy link
Collaborator

ilyagr commented May 3, 2024

Another option is to use the CLI and templates, like https://github.com/noahmayr/vjj

@PhilipMetzger PhilipMetzger added libification Everything concerning jj-lib API's for thirdparty developers and removed libification Everything concerning jj-lib API's for thirdparty developers labels May 3, 2024
@matts1
Copy link
Collaborator

matts1 commented May 14, 2024

I'll close this since it seems to be a duplicate of #3034

@matts1 matts1 closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
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

No branches or pull requests

4 participants