After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608267 - Establish giggle as url-handler for git:// links
Establish giggle as url-handler for git:// links
Status: RESOLVED FIXED
Product: giggle
Classification: Other
Component: UI: General
HEAD
Other All
: Normal normal
: ---
Assigned To: giggle-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-27 16:38 UTC by Florian Müllner
Modified: 2012-03-07 13:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add helper method for removing a directory recursively (2.80 KB, patch)
2010-01-27 16:38 UTC, Florian Müllner
committed Details | Review
Implement clone command (9.73 KB, patch)
2010-01-27 16:38 UTC, Florian Müllner
needs-work Details | Review
Add GiggleCloneDialog for clone operations (13.25 KB, patch)
2010-01-27 16:38 UTC, Florian Müllner
committed Details | Review
Add UI and command line option for the clone command (3.52 KB, patch)
2010-01-27 16:38 UTC, Florian Müllner
committed Details | Review
Establish giggle as url-handler for git:// URLs (4.02 KB, patch)
2010-01-27 16:38 UTC, Florian Müllner
committed Details | Review
Implement clone command (9.82 KB, patch)
2010-02-02 18:19 UTC, Florian Müllner
committed Details | Review

Description Florian Müllner 2010-01-27 16:38:18 UTC
When browsing repositories, it is nice to be able to click git:// URLs
to create a clone. While this can be implemented with custom scripts,
it would be a nice-to-have for giggle.

Note that the UI patch assumes the patch to bug 608101 being applied. The
progress bar shown during cloning will stop updating without the patch
proposed in bug 608264, but there is no code dependency on that bug.
Comment 1 Florian Müllner 2010-01-27 16:38:24 UTC
Created attachment 152422 [details] [review]
Add helper method for removing a directory recursively

Credit goes to Paolo Bacchilega, who wrote this code for file-roller.
Comment 2 Florian Müllner 2010-01-27 16:38:30 UTC
Created attachment 152423 [details] [review]
Implement clone command

While this implementation does work, it is somehow limited by the
current GitJob implementation - e.g. being a potentially time intensive
operation, it would be nice to be able to pop up a good progress
indicator in the interface.
Comment 3 Florian Müllner 2010-01-27 16:38:34 UTC
Created attachment 152424 [details] [review]
Add GiggleCloneDialog for clone operations

GiggleCloneDialog implements a dialog for the clone command. It
enables the user to enter the required parameters and perform the
operation.
If the operation is cancelled, files that have been cloned will be
removed.
Comment 4 Florian Müllner 2010-01-27 16:38:38 UTC
Created attachment 152425 [details] [review]
Add UI and command line option for the clone command
Comment 5 Florian Müllner 2010-01-27 16:38:43 UTC
Created attachment 152426 [details] [review]
Establish giggle as url-handler for git:// URLs
Comment 6 Javier Jardón (IRC: jjardon) 2010-02-02 17:42:29 UTC
Review of attachment 152423 [details] [review]:

A little comment: Use a ->priv pointer instead of FOO_GET_PRIVATE all the time as you already done in giggle-clone-dialog
Comment 7 Florian Müllner 2010-02-02 18:19:45 UTC
Created attachment 152871 [details] [review]
Implement clone command

Updated patch according to the review.
Comment 8 Javier Jardón (IRC: jjardon) 2010-05-07 03:33:09 UTC
All the patches committed, sorry for the late review.
Very cool new feature, BTW ;)

Thanks Florian!
Comment 9 Javier Jardón (IRC: jjardon) 2010-05-07 03:35:27 UTC
Comment on attachment 152422 [details] [review]
Add helper method for removing a directory recursively

cec4aeabe5d6ae24b25e992a7899ed233b3e1dcf
Comment 10 Javier Jardón (IRC: jjardon) 2010-05-07 03:35:48 UTC
Comment on attachment 152424 [details] [review]
Add GiggleCloneDialog for clone operations

38c10fd15f3216320c78b28d86c1c27bf1b17785
Comment 11 Javier Jardón (IRC: jjardon) 2010-05-07 03:36:20 UTC
Comment on attachment 152425 [details] [review]
Add UI and command line option for the clone command

c873b0c98e5b04f18e6e4d4470f203d2851e531b
Comment 12 Javier Jardón (IRC: jjardon) 2010-05-07 03:36:45 UTC
Comment on attachment 152426 [details] [review]
Establish giggle as url-handler for git:// URLs

b00dd6543014e32ab32918d9bf5e96107aca1c38
Comment 13 Javier Jardón (IRC: jjardon) 2010-05-07 03:37:35 UTC
Comment on attachment 152871 [details] [review]
Implement clone command

31627c2a8b8c09e5978e2f798faaafe729205a1d