starship / starship

☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
https://starship.rs
ISC License
45.56k stars 1.98k forks source link

[FR] Support Jujutsu VCS (git backed) #6076

Open jasikpark opened 4 months ago

jasikpark commented 4 months ago

Feature Request

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

I would like to see the current jujutsu state / change id in starship

https://martinvonz.github.io/jj/

Describe the solution you'd like

Add a subsystem for jujutsu

Describe alternatives you've considered

Writing my own subsystem to jujutsu

jasikpark commented 4 months ago

Example from the jj wiki: https://github.com/martinvonz/jj/wiki/Starship

idursun commented 4 months ago

I can work on this if no one is working already.

idursun commented 4 months ago

Looks like this for now:

image

and work done so far is here: https://github.com/starship/starship/compare/master...idursun:starship:add-jujutsu

azzamsa commented 3 months ago

When your PR gets merged, I think I need to add when in git modules to disable when jj directory exists.

bbigras commented 2 months ago

Any progress on the PRs?

idursun commented 2 months ago

Nope, PR is still in review.

DD5HT commented 1 month ago

There are currently 2 PRs open trying to implement it: https://github.com/starship/starship/pull/5772 https://github.com/starship/starship/pull/6089

Can we get a decision/review and merge one of these implementation? @davidkna what's your opinion here as one of the maintainers - is there a way for me to help you to follow up and merge on of these PRs into main?

stouset commented 1 month ago

I am also willing to put in the legwork to take one of these over the finish line, if I can get some guidance from @davidkna on which of these alternatives is most appealing.

poliorcetics commented 2 weeks ago

I started work on https://github.com/starship/starship/issues/5932 and closed my MR