-
Notifications
You must be signed in to change notification settings - Fork 396
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
Design: the jj init
experience needs a rethink
#2747
Comments
I agree. I added the "Good first issue" label because this seems pretty straightforward. |
What's the consensus?
I'm thinking of taking a stab at this. It feels like some larger refactoring than what I've touched so far will be required, so looks like a nice way to familiarise myself with internals. |
@essiene I think we want |
Yes, that was the conclusion of the Discord discussion. Additionally a user-friendly message for |
Cool. Thanks for the clarifications. I'll assign this to myself, then write up a mini proposal to check my understanding of all that needs to change. |
I'm trying to figure out what to do with the
What's the Now, what about:
I believe |
These are both "co-located" repositories, as both a |
Ahh.. Thanks. So how about this:
|
I would expect |
And to finally check my understanding of that.
If all the preceding is correct, then I believe I understand why --git-repo and --colocate should be mutually exclusive. Correct? |
Yep, that's all correct. |
Thanks. I'll start by adding a We still need to decide exactly what to do with the original |
If I understand correctly, There will still be the special case of |
Yes, that's correct. That mode predates colocated mode by quite a bit. It can still be useful in large repos because it lets you run
Makes sense, but I don't think that's even a requirement for a first PR for |
I don't think this is mandatory. At first, we can just document Aside: I thought |
Post #2932 merge, some cleanups still left to do.
Thoughts? |
If we decide to remove
I often create jj repo for the existing git repo (by e.g.
btw, there are
I'm not sure about this. If we add config knob, we'll need to add |
I really liked @chriskrycho's idea of making it interactive when we support multiple backends but that's probably a moment away.
I think hiding or removing it until a second backend appears should be good enough. For consistency it could be worth it to just implement
I'm in favor of keeping |
"jj git clone" has --colocate flag, so let's stick to it. jj-vcs#2747
To provide some feedback to #2932 (I'm using main @ 1be8225):
I see that I misread the suggestion to run
It seems that |
"jj git clone" has --colocate flag, so let's stick to it. #2747
Thanks for testing. I didn't bother checking for other files that may refer to I'll go clean it up. |
I think that's already done in #2983 |
Yay! \o/ |
I haven't updated this part. It's not wrong, but might be better to suggest |
I'm not sure what's the conclusion in jj-vcs#2747, but I don't think there is a disagreement on allowing --colocate to import existing Git repo.
I'm not sure what's the conclusion in #2747, but I don't think there is a disagreement on allowing --colocate to import existing Git repo.
I just realized this issue when I was trying to |
From December 18th on Discord, while trying to follow up on #2512, I ended up stuck because the UX for initializing
jj
repositories is quite inconsistent. https://discord.com/channels/968932220549103686/969291218347524238/1186382367141670953There was about 30 minutes of discussion or so but pretty much everyone I think is in agreement that
jj init
experience needs a bit of a rethink. #2512 is probably held up on this — as well as any other default options we might want to add for any given backend.The text was updated successfully, but these errors were encountered: