| 1 |
# 2.0.0 |
| 2 |
|
| 3 |
**Breaking changes** — see migration notes below before upgrading. |
| 4 |
|
| 5 |
* Require Ruby >= 3.2; dropped support for Ruby 2.x and 3.0/3.1 |
| 6 |
* Pin Thor dependency to `~> 1.0`; Thor 0.x is no longer supported |
| 7 |
* `.homesickrc` files must now use the `Homesick::RC::Context` DSL instead |
| 8 |
of being evaluated in the CLI scope. Replace any direct CLI method calls |
| 9 |
with the two DSL methods: `castle_path` (returns the castle's path) and |
| 10 |
`run` (executes a shell command). See README for examples. |
| 11 |
* `git clone` now respects the `--pretend` flag consistently with other actions |
| 12 |
* Switch CI from Travis CI to GitHub Actions; added mutation testing, dependency |
| 13 |
auditing, and automated gem release via RubyGems trusted publishing |
| 14 |
|
| 15 |
**Migration from 1.x** |
| 16 |
|
| 17 |
If your `.homesickrc` calls methods directly on the Homesick CLI object, update |
| 18 |
it to use the new DSL. For example: |
| 19 |
|
| 20 |
```ruby |
| 21 |
# Before (1.x) |
| 22 |
FileUtils.ln_s "#{self.class.source_root}/file", "#{ENV['HOME']}/file" |
| 23 |
|
| 24 |
# After (2.0) |
| 25 |
run "ln -s #{castle_path}/file #{ENV['HOME']}/file" |
| 26 |
``` |
| 27 |
|
| 28 |
# 1.1.6 |
| 29 |
* Makesure the FileUtils is imported correctly to avoid a potential error |
| 30 |
* Fixes an issue where comparing a diff would not use the content of the new file |
| 31 |
* Small documentation fixes |
| 32 |
|
| 33 |
# 1.1.5 |
| 34 |
* Fixed problem with version number being incorrect. |
| 35 |
|
| 36 |
# 1.1.4 |
| 37 |
* Make sure symlink conflicts are explicitly communicated to a user and symlinks are not silently overwritten |
| 38 |
* Use real paths of symlinks when linking a castle into home |
| 39 |
* Fix a problem when in a diff when asking a user to resolve a conflict |
| 40 |
* Some code refactoring and fixes |
| 41 |
|
| 42 |
# 1.1.3 |
| 43 |
* Allow a destination to be passed when cloning a castle |
| 44 |
* Make sure `homesick edit` opens default editor in the root of the given castle |
| 45 |
* Fixed bug when diffing edited files |
| 46 |
* Fixed crashing bug when attempting to diff directories |
| 47 |
* Ensure that messages are escaped correctly on `git commit all` |
| 48 |
|
| 49 |
# 1.1.2 |
| 50 |
* Added '--force' option to the rc command to bypass confirmation checks when running a .homesickrc file |
| 51 |
* Added a check to make sure that a minimum of Git 1.8.0 is installed. This stops Homesick failing silently if Git is not installed. |
| 52 |
* Code refactoring and fixes. |
| 53 |
|
| 54 |
# 1.1.0 |
| 55 |
* Added exec and exec_all commands to run commands inside one or all clones castles. |
| 56 |
* Code refactoring. |
| 57 |
|
| 58 |
# 1.0.0 |
| 59 |
* Removed support for Ruby 1.8.7 |
| 60 |
* Added a version command |
| 61 |
|
| 62 |
# 0.9.8 |
| 63 |
* Introduce new commands |
| 64 |
* `homesick cd` |
| 65 |
* `homesick open` |
| 66 |
|
| 67 |
# 0.9.4 |
| 68 |
* Use https protocol instead of git protocol |
| 69 |
* Introduce new commands |
| 70 |
* `homesick unlink` |
| 71 |
* `homesick rc` |
| 72 |
|
| 73 |
# 0.9.3 |
| 74 |
* Add recursive option to `homesick clone` |
| 75 |
|
| 76 |
# 0.9.2 |
| 77 |
* Set "dotfiles" as default castle name |
| 78 |
* Introduce new commands |
| 79 |
* `homesick show_path` |
| 80 |
* `homesick status` |
| 81 |
* `homesick diff` |
| 82 |
|
| 83 |
# 0.9.1 |
| 84 |
* Fixed small bugs: #35, #40 |
| 85 |
|
| 86 |
# 0.9.0 |
| 87 |
* Introduce .homesick_subdir #39 |
| 88 |
|
| 89 |
# 0.8.1 |
| 90 |
* Fixed `homesick list` bug on ruby 2.0 #37 |
| 91 |
|
| 92 |
# 0.8.0 |
| 93 |
* Introduce commit & push command |
| 94 |
* commit changes in castle and push to remote |
| 95 |
* Enable recursive submodule update |
| 96 |
* Git add when track |
| 97 |
|
| 98 |
# 0.7.0 |
| 99 |
* Fixed double-cloning #14 |
| 100 |
* New option for pull command: --all |
| 101 |
* pulls each castle, instead of just one |
| 102 |
|
| 103 |
# 0.6.1 |
| 104 |
|
| 105 |
* Add a license |
| 106 |
|
| 107 |
# 0.6.0 |
| 108 |
|
| 109 |
* Introduce .homesickrc |
| 110 |
* Castles can now have a .homesickrc inside them |
| 111 |
* On clone, this is eval'd inside the destination directory |
| 112 |
* Introduce track command |
| 113 |
* Allows easily moving an existing file into a castle, and symlinking it back |
| 114 |
|
| 115 |
# 0.5.0 |
| 116 |
|
| 117 |
* Fixed listing of castles cloned using `homesick clone <github-user>/<github-repo>` (issue 3) |
| 118 |
* Added `homesick pull <CASTLE>` for updating castles (thanks Jorge Dias!) |
| 119 |
* Added a very basic `homesick generate <CASTLE>` |
| 120 |
|
| 121 |
# 0.4.1 |
| 122 |
|
| 123 |
* Improved error message when a castle's home dir doesn't exist |
| 124 |
|
| 125 |
# 0.4.0 |
| 126 |
|
| 127 |
* `homesick clone` can now take a path to a directory on the filesystem, which will be symlinked into place |
| 128 |
* `homesick clone` now tries to `git submodule init` and `git submodule update` if git submodules are defined for a cloned repo |
| 129 |
* Fixed missing dependency on thor and others |
| 130 |
* Use HOME environment variable for where to store files, instead of assuming ~ |
| 131 |
|
| 132 |
# 0.3.0 |
| 133 |
|
| 134 |
* Renamed 'link' to 'symlink' |
| 135 |
* Fixed conflict resolution when symlink destination exists and is a normal file |
| 136 |
|
| 137 |
# 0.2.0 |
| 138 |
|
| 139 |
* Better support for recognizing git urls (thanks jacobat!) |
| 140 |
* if it looks like a github user/repo, do that |
| 141 |
* otherwise hand off to git clone |
| 142 |
* Listing now displays in color, and show git remote |
| 143 |
* Support pretend, force, and quiet modes |
| 144 |
|
| 145 |
# 0.1.1 |
| 146 |
|
| 147 |
* Fixed trying to link against castles that don't exist |
| 148 |
* Fixed linking, which tries to exclude . and .. from the list of files to |
| 149 |
link (thanks Martinos!) |
| 150 |
|
| 151 |
# 0.1.0 |
| 152 |
|
| 153 |
* Initial release |