Jorge
38b40c0f50
Making git repos uri non greedy so it works with uris with /
2010-10-30 21:31:59 +02:00
Joshua Nichols
8dbd5a9b21
Spiked homesickrc support. Create a .homesickrc in a castle, and you will be prompted to eval it at clone. Runs in castle directory, and runs in the context of a Homesick instance
2010-10-27 10:09:24 -04:00
Joshua Nichols
f82dc905a2
Tweaks to track. Don't add & commit newly tracked file. Also fix tests to not be spitting out to stdout.
2010-10-27 08:38:30 -04:00
Joshua Nichols
bfbabc05d5
Removing copy-pasta
2010-10-27 08:38:30 -04:00
j.c.sackett
58767454b3
Added track command.
...
* Moves a specified file into the specified castle.
* Symlinks it into its original position.
Signed-off-by: Joshua Nichols <josh@technicalpickles.com >
2010-10-27 08:37:56 -04:00
Jacob Atzen
f9c351f941
Handle cloning of uri's based on ssh aliases like host:repos
2010-08-17 10:14:19 +02:00
Jacob Atzen
0440cd672d
Don't try to clone uri's without a corresponding destination
...
The code throws the exception
undefined method `join' for nil:NilClass
if destionation doesn't exist - so it's better to not call git_clone if
destination is not present.
2010-08-17 10:12:59 +02:00
Joshua Nichols
3efee55f03
Fix listing of github-style cloned repos.
2010-05-18 20:42:45 -04:00
Joshua Nichols
f0c67f9653
Merge remote branch 'Sutto/master'
2010-05-18 20:25:53 -04:00
Jorge Dias
94975b49e7
Changed update to pull to match git commands
2010-05-02 19:14:16 +02:00
Jorge Dias
95d22951b3
Implemented update action for castle
2010-04-09 19:02:43 +02:00
Joshua Nichols
c9399064e0
First pass at castle generator task.
2010-04-08 01:05:34 -04:00
Joshua Nichols
a798f3c562
Add a better error message when a repo's home doesn't exist.
2010-04-02 00:53:17 -04:00
Joshua Nichols
c0797dd607
Cloning will now try to init and update git submodules, if they exist.
2010-04-01 21:59:15 -04:00
Joshua Nichols
9a22513ba4
Allow symlinking existing directories into repos, instead of cloning.
2010-04-01 21:19:25 -04:00
Joshua Nichols
5ac2a0739a
Clone github repos into username/repo instead of username_repo, for more consistent use with symlink.
2010-04-01 21:08:36 -04:00
Joshua Nichols
923c634377
Misc cleanup
2010-04-01 21:04:06 -04:00
Joshua Nichols
0579f94430
Moving towards testing list more.
2010-04-01 20:59:24 -04:00
Joshua Nichols
43facf1ec0
Renamed 'link' command to 'symlink'
2010-03-31 23:59:05 -04:00
Joshua Nichols
46b2cbfa3f
Renamed symlink action to ln_s.
2010-03-31 23:57:18 -04:00
Joshua Nichols
ba84df0137
Cyan list instead of green.
2010-03-19 00:28:08 -04:00
Joshua Nichols
8be582a4cb
Fixed cloning from github.
2010-03-18 23:45:34 -04:00
Joshua Nichols
b80b132a7a
Adding in pretend options.
2010-03-18 23:38:45 -04:00
Joshua Nichols
bf66d91b1f
Shuffled some stuff out of main homesick.rb
2010-03-18 23:30:18 -04:00
Joshua Nichols
ce0d9b9d02
Hai, pretty output.
2010-03-18 23:22:29 -04:00
Jacob Atzen
78e952c2e4
Fixed github name regex so specs run
2010-03-18 23:17:10 -04:00
Jacob Atzen
de0b14bbd6
Don't try to recognize git uri's
...
There's a bunch of different way to specify git uri's. Instead of trying
to recognize uri's let's just accept that the user knows, what he's doing.
2010-03-18 23:17:01 -04:00
Joshua Nichols
8add88a1dc
Make sure castle dir exists before trying to link from it, preventing empty dirs from being created.
2010-03-17 11:38:03 -04:00
Martinos
c6a517e100
Correcting listing of dotfiles in home directory
2010-03-13 12:42:50 -05:00
Joshua Nichols
ec9948ae52
Switched order of symlink diff.
2010-03-10 10:37:15 -05:00
Joshua Nichols
8c1a1b8541
Cleaned up some of the language.
2010-03-10 10:24:25 -05:00
Joshua Nichols
e73260f1f9
Handle symlink collisions much more gracefully.
2010-03-10 10:18:38 -05:00
Joshua Nichols
265131cfa9
Refactoring how stuff gets cloned.
2010-03-10 09:07:10 -05:00
Joshua Nichols
3fb5f5b0d9
Use construct for stubbing user_dir.
2010-03-10 08:31:44 -05:00
Will Farrington
93c357f0ca
Revert "Add rubygems to require" for bad style.
...
This reverts commit ec2ddb5e31 .
2010-03-04 08:44:38 -05:00
Will Farrington
ec2ddb5e31
Add rubygems to require
2010-03-04 01:36:10 -05:00
Will Farrington
9ff7737634
Adds a bit of functionality to the clone command.
...
* You can give it user/repo style arguments for github repositories.
* If the repo has already been cloned into homes_dir, we don't try to clone again.
2010-03-04 01:30:30 -05:00
Joshua Nichols
0277901561
SPIIIIIKE
2010-03-04 00:19:35 -05:00