muratayusuke
b21aef09be
bump up version
2013-06-17 12:35:39 +00:00
Yusuke Murata
d964e65a7e
Merge pull request #40 from fnichol/fix-clone-destination
...
Remove .git suffix on destination directory if URL ends with it.
2013-06-17 04:47:20 -07:00
Fletcher Nichol
024856e538
Remove .git suffix on destination directory if URL ends with it.
...
For example, the following:
homesick clone git://github.com/technicalpickles/pickled-vim.git
should produce a castle directory of:
$HOME/.homesick/repos/pickled-vim
2013-06-16 10:47:53 -06:00
muratayusuke
e530df7239
fix #35
2013-06-09 23:10:21 +00:00
muratayusuke
e817c816c9
Regenerate gemspec for version 0.9.0
v0.9.0
2013-06-06 12:59:00 +00:00
muratayusuke
14f0f8c121
bump up version and update changelog
2013-06-06 12:58:36 +00:00
Yusuke Murata
4c97948e04
Merge pull request #39 from technicalpickles/feature/merge_directory
...
Merge directories
2013-06-06 05:47:43 -07:00
muratayusuke
360e8185f7
move castle/home/.homesick_subdir to castle/.homesick_subdir
2013-06-06 12:39:41 +00:00
Yusuke Murata
da0958d455
fix typo
2013-06-06 21:19:21 +09:00
Yusuke Murata
70f5d24e0a
fix style of README
2013-06-05 03:18:40 +09:00
Yusuke Murata
6b281ef001
fix style of README
2013-06-05 03:15:44 +09:00
muratayusuke
3ddd3207b3
add .homesick_subdir explanation to README
2013-06-04 18:14:20 +00:00
muratayusuke
8e58a3f5e2
deal with edge case: the parent and descendant are both listed in the manifest
2013-06-04 17:36:47 +00:00
muratayusuke
a95c4b2446
refactor symlink
2013-06-03 18:17:38 +00:00
muratayusuke
97fe1686f5
refactor given_castle
2013-05-30 17:38:06 +00:00
muratayusuke
76fcf5d0b7
add ruby-2.0.0 to travis
2013-05-30 14:33:45 +00:00
muratayusuke
bf1fc58e10
fix spec for ruby-1.8.7
2013-05-30 14:33:08 +00:00
muratayusuke
3559d825ca
replace .manifest to .homesick_subdir
2013-05-27 18:08:09 +00:00
muratayusuke
2d54086d89
Merge remote-tracking branch 'edubkendo/nested_dirs' into feature/merge_directory
2013-05-27 16:13:31 +00:00
muratayusuke
c31c67a3eb
support nested dir in .homesick_subdir
2013-05-26 17:12:28 +00:00
Eric West
e924cbefda
refactor, cleanup and tweak
2013-05-24 21:57:12 -05:00
Eric West
6867ef78dc
Handling edge cases
...
Covers only edge cases related to tracking, not yet
handling linking or updating. Getting a bit hairy,
must be refactored.
2013-05-24 16:24:42 -05:00
muratayusuke
a76d09d3f6
symlink subdirs with .homesick_subdir
2013-05-24 17:40:35 +00:00
Eric West
b93eea0e24
Track makes entries in .manifest
...
When a user tracks a file or directory that is in
a nested folder, Homesick creates a .manifest in the
user's castle (if there isn't one already) and adds
an entry listing the file or directory's parent
directory (if it isn't already listed).
2013-05-24 07:52:54 -05:00
Eric West
7332aa4acd
Specs for track
2013-05-20 21:06:31 -05:00
Eric West
49e4d2844b
Track now properly traverses folder structure
2013-05-20 19:11:48 -05:00
muratayusuke
236373b7d7
Regenerate gemspec for version 0.8.1
v0.8.1
2013-05-19 13:42:49 +00:00
muratayusuke
21a9e4312d
update changelog
2013-05-19 13:42:32 +00:00
muratayusuke
628d9bc0c1
update rake version
...
"rake spec" showed following warning
/home/muratayusuke/.rvm/gems/ruby-1.9.3-p392/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config.
(in /mnt/projects/homesick)
/home/muratayusuke/.rvm/rubies/ruby-1.9.3-p392/bin/ruby -S rspec spec/homesick_spec.rb
so update rake version to fix it.
2013-05-19 13:37:54 +00:00
Yusuke Murata
caf5ca04f5
Merge pull request #37 from edubkendo/glob_fix
...
Fixes glob to work with 2.0.0
2013-05-18 01:15:56 -07:00
Eric West
7cbbf2bdd7
Fixes glob to work with 2.0.0
...
homesick list fails on ruby 2.0.0-rc2, I think because they fixed this
bug: https://bugs.ruby-lang.org/issues/6977 , changing the way recursive
globs work. Test case:
```ruby
require "homesick"
require "pathname"
repos = Homesick.new.send :repos_dir
Dir.glob("#{repos}/**/*/.git") # => []
Dir.glob("#{repos}/**/*/.git", File::FNM_DOTMATCH) # => ["/home/eric/.homesick/repos/dotfiles/.git"]
```
This change, however, then broke 1.9.3, but removing the extra "/*"
works on both 1.9 and 2.0.
2013-05-17 02:37:44 -05:00
muratayusuke
9d6e77fd5a
add build status to README
2013-04-06 03:23:40 +09:00
muratayusuke
e7d251f8a1
prepare for release 0.8.0
v0.8.0
2013-04-06 03:07:11 +09:00
muratayusuke
af950d042a
fix merge miss
2013-03-29 01:58:35 +09:00
muratayusuke
23ae908e7d
Merge remote-tracking branch 'jbuckner/track-git_add' into local
...
Conflicts:
lib/homesick/actions.rb
2013-03-29 01:57:07 +09:00
Yusuke Murata
38ffaca8cc
Merge pull request #11 from diasjorge/master
...
Fixing issues with uris that contain and submodules
2013-03-28 08:48:18 -07:00
Yusuke Murata
b0bde0eb44
Merge pull request #26 from jbuckner/castle_push
...
Castle Commit & Push
2013-03-28 08:23:45 -07:00
Yusuke Murata
763cf8aa0a
Merge pull request #28 from muratayusuke/enable_recursive_submodule
...
yeah merged :)
2013-03-28 08:01:24 -07:00
Josh Nichols
9f0d3e0f3c
Merge pull request #30 from wjbuys/master
...
Build with Travis CI
2013-03-26 16:51:46 -07:00
Jacob Buys
937bb65a14
Build with Travis CI
2013-03-18 23:03:44 +02:00
Josh Nichols
376fd88fc9
Fix git_clone to work with github URLs like https://github.com/technicalpickles/dotpickles
2012-12-09 15:33:15 -05:00
muratayusuke
fca23274bf
enable recursive submodule
2012-12-06 20:10:18 +09:00
Jason Buckner
27d038512c
perform a git add when doing a homesick track
2012-11-24 23:56:12 -08:00
Jason Buckner
d8291edae0
splits up castle commit from castle push for more fine-grained control
2012-11-24 23:18:48 -08:00
Jason Buckner
e6c0ac91cd
update documentation for naming consistency
2012-11-24 22:56:17 -08:00
Jason Buckner
74713f8b7c
fix homesick pull documentation
2012-11-24 22:36:45 -08:00
Jason Buckner
38a43ba7ff
add homesick push to readme, a placeholder test, and removed the all option from git push
2012-11-24 21:24:41 -08:00
Jason Buckner
ca832a38e2
start adding git push functionality
2012-11-24 21:01:37 -08:00
Jacob Buys
d084128297
Add support for Ruby 1.9.
...
Some dependencies needed updating, and String#start_with? behaves
slightly differently.
2012-05-30 22:54:18 +02:00
Jacob Buys
a141f9cbbd
Fix test that fails on 1.9 due to behaviour of String#start_with?
...
On ruby 1.9, the argument of String#start_with? does not automatically
get coerced into a string. In Homesick#clone, we use start_with? with a
Pathname instance, which now always returns false.
2012-05-30 22:53:00 +02:00