Closed Bug 493040 Opened 16 years ago Closed 15 years ago

Add Git support to VCS commands

Categories

(Skywriter Graveyard :: Version Control, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: GPHemsley, Assigned: scottwferg)

Details

Bespin's VCS commands currently only support Mercurial (Hg). Among others, it should support Git, too.
Whiteboard: vcs
Mass move of all VCS bugs to the new Version Control component.
Component: General → Version Control
QA Contact: general → version.control
Whiteboard: vcs
As of last night I have Bespin successfully cloning git repositories. I'll be getting unit tests built in the next day or two so that I can streamline the remaining basic functionality.
Assigning to you, Scott, since you're working on this. For the record, Scott's clone of UVC is here: https://bitbucket.org/scottferguson/uvc/
Assignee: nobody → scottwferg
I just pushed out some minor changes that I've made. So far I have clone and commit working. Commit assumes that you're adding the "-a" switch for now, I'm not really sure how we can do that elegantly from the UI standpoint yet. I'm aiming to have the "push" command working next. I'm anticipating a bit of a challenge here since git URLs are often a bit less conventional than what I've seen of Mercurial URLs.
Status: NEW → ASSIGNED
I've just pushed out some uvc changes to my Bitbucket repo. These changes include passing test cases for the git commands: clone, commit, diff, update, remove (rm), status, init, and revert. It also includes a working push command that currently defaults to origin/master as the remote branch to push to. I'm a bit stumped on how we'll want to handle SSH authentication. There doesn't seem to be a way to pass an SSH key along the command line with git. Changes are at: http://bitbucket.org/scottferguson/uvc/
These haven't been tested in Bespin yet by the way, only within uvc via the command line. I believe there will be some URL formatting issues that crop up within Bespin for funky gitosis URLs.
I haven't had much movement on the SSH front so I've just commented out what was there from the Mercurial handler for now. The only major issue I can see is the output that you get when cloning a repo. UVC just halts on "Initialized and empty repository in ~/some/path", rather than also displaying the checkout status as it pulls down the code.
ACETRANSITION The Skywriter project has merged with Ajax.org's Ace project (the full server part of which is their Cloud9 IDE project). Background on the change is here: http://mozillalabs.com/skywriter/2011/01/18/mozilla-skywriter-has-been-merged-into-ace/ The bugs in the Skywriter product are not necessarily relevant for Ace and quite a bit of code has changed. For that reason, I'm closing all of these bugs. Problems that you have with Ace should be filed in the Ace issue tracker at GitHub: https://github.com/ajaxorg/ace/issues
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.