| Summary: | [client] Need equivalent of "git init" | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Boris Bokowski <bokowski> |
| Component: | Client | Assignee: | Malgorzata Janczarska <malgorzata.tomczyk> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | susan, tomasz.zarna |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
| Bug Depends on: | 339145, 345269 | ||
| Bug Blocks: | |||
|
Description
Boris Bokowski
I wonder what would be the UI for it. I can imagine two ways of addressing it: 1) Git Init action in the file navigator. When it is clicked, a Git repo is created in the selected location. 2) Git Init action in the Git Repo view. It would open a dialog where we select a location for the new Git repo. I like 1) since it is simpler. I already suggested something similar for creating clones (Bug 340968, comment 9 and 12). The idea was to have Git Clone action per each folder in the file navigator. When it is clicked you get a dialog that gathers details about the repo to clone, and then it is cloned to the selected folder. It would be similar to our Import action. Thoughts? (In reply to comment #1) > 1) Git Init action in the file navigator. When it is clicked, a Git repo is > created in the selected location. I like this one better then 2) too. Gosia will add a checkbox to our Git Clone dialog to init a repo instead of cloning it. I think the dialog should be renamed then to Create Git Repository. (In reply to comment #3) > Gosia will add a checkbox to our Git Clone dialog to init a repo instead of > cloning it. I think the dialog should be renamed then to Create Git Repository. I added a new command on git repositories view, because there was place for it and it looks more clear. I still need to add an API call when bug 345269 is ready and change UI a when bug 339145 is ready. Attached new API in b7f5dda47cf26e3639d219ce666a8b9ee3891e9c. |