All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
-
Fixed: System calls are not executed properly if no bin stub is present. This resulted in errors like:
% geordi rspec # Running specs > All specs at once (using parallel_tests) x Specs failed.
or
% geordi migrate # Migrating > Development and parallel test databases x Something went wrong.
- Added dumple option
--compress
to compress after dumping
- Fix
geordi migrate
command, that fails with:
Don't know how to build task 'db:migrate parallel:prepare'
- Improved documentation; README now includes command options.
- Fix #90:
geordi console
,geordi deploy
,geordi rake
andgeordi shell
now work correctly if the project hasn't been bundled before
- Removed deprecated executables
- Removed
eurest
command - Respect binstubs if available, otherwise fallback to geordi's previous behaviour. Note that this might cause failures, when your binstubs are not working. Please have a look at #109 for how a failure might look like and how you can fix it.
- Improvement #43:
--select-server
option ongeordi shell
andgeordi console
can take the number of the server to connect to it directly and to skip the menu. - Add a
.geordi.yml
file to change multiple settings in the project and~/.config/geordi/global.yml
for global settings. - Deprecated the
.pt_project_id
file in favor of.geordi.yml
. - Deprecated the
~/.gitpt
file in favor of~/.config/geordi/global.yml
. - Add #91: Now there is an option to start cucumber without a VNC session. This is configured by the .geordi.yml file.
- Fixed
git#staged_changes?
detection on Ruby < 2.5.
- Update security-update for improved workflow (#89): Deploy staging first and ask user, if application is still running. Then deploy other stages.
- Fix #98: Changing the
config/database.yml
reader fromYAML.load
toYAML.safe_load
dropped the support for aliases. We now allow aliases and the classesTime
andSymbol
. If we encounter further issues with this approach a revert toYAML.load
would be an option, too.
- Fix #95: Method change from
! *.include?
to*.exclude?
was not valid as we do not have active support in Geordi. Affected commands weregeordi cucumber
andgeordi deploy
.
- Fix #93: Using
$CHILDSTATUS
instead of$?
did not work properly. This affected commands likegeordi drop-databases
to fail. - Fix #92: Geordi fail messages were converted to exceptions by accident. Now they are printed as red error message without the backtrace again.
- Remove support for Ruby 1.8.7 and Ruby 1.9.3. Bug fixes might still be backported to 2.x, but we will not add any features to 2.x anymore. Please consider to upgrade the Ruby version of your project.
- Added the possibility to change the Rails root for the capistrano config via the environment variable
RAILS_ROOT
. This allows you as a gem developer to run a command likeRAILS_ROOT=~/Projects/my-blog geordi console staging
whereasgeordi
uses the capistrano config frommy-blog
. Otherwise you would need to follow the instructions of this card to test changes in the gem locally. - Bug fix for "no staged changes" even if there are changes present (#83).
- Fixed deprecation warning for
Thor exit with status 0 on errors
(#84). - Replaced
Bundler.with_unbundled_env
withBundler.with_original_env
(#77). This is a better replacement than 42cd1c4. - Add deprecation warning
Deprecation warning: Ruby 1.8.7 and 1.9.3 support will be dropped in Geordi 3.x.
to Geordi 2. - Fix error
thor requires Ruby version >= 2.0.0
for Ruby 1.8.7 and 1.9.3 (makandra#79 (comment)).
- Add host parameter to mysql dump loader
- Fixes #78: Add compatibility for more than 9 CPU cores in
geordi drop-databases
.
- Fixes #37:
geordi cucumber
crashes with--format=pretty
- Fixes #27: Cucumber rerun switch does work when passing files
- Fixed #77: Remove deprecation warning for "Bundler.clean_system"
- Fixed #68: The "cucumber" command now fails early when @solo features fail.
- Added: The "setup" command now prints the db adapter when prompting db credentials.
- Fixed #71: When used without staged changes, the "commit" command will print a warning and create an empty commit. Any arguments to the command are forwarded to Git.
- Fixed: The "commit" command will not print the extra message any more.
- Added: The "commit" command prints a (progress) loading message. The message is removed once loading is done.
- Added #73: New command
chromdriver-update
allows you to update your chromedriver to the newest matching version.
- Added #69: If bin/setup exists, prefer it over Geordi's standard setup routine.
- Fixed #48: Bundle right before deploying
- Improved #56: Print instructions how to set up
DEPLOY_BRANCH
when deploying the current branch.
- #56: Add current branch option to "deploy" command. This actually sets the
DEPLOY_BRANCH
variable to the current branch during deployment. The deployed application needs to pick up this variable in the respective Capistrano stage file. Example:set :branch, ENV['DEPLOY_BRANCH'] || 'master'
- Fixes [#70]: Make "console" and "server" commands ready for Rails 6
- Added: CI testing with Travis
- Fixes [#67]: Don't run yarn install unless needed
- Fixes [#59]: Removedb name prefix when reading whitelist
- Fixes [#62]: Provide better error messages on whitelist editing errors.
- Fixes [#63]: Allow explicit whitelisting of database names that would be considered derivative during db cleanup
- Fixes [#64]: Remove VISUAL and EDITOR from editor choices for DB whitelist editing
- Pivotal Tracker discontinued API V3 and V4. We now use API V5, which has a client library that does not support Ruby
version < 2.1 anymore (all other geordi commands will still work for older Ruby versions).
Run
gem uninstall pivotal-tracker
andgem install tracker_api
to migrategeordi
installed in a Ruby version >= 2.1.
- Fixes [#54]: @solo features run first and are not skipped by accident on failures before
- Fixes [#03]: Add spring support for RSpec
- Fixes [#53]: Integrate yarn integrity
- Fixes [#52]: Remote dumps are transmitted compressed
- Fixes #36: Capistrano Config: Settings in deploy/$stage.rb should take precedence over deploy.rb
- Fixes #38: Capistrano Config: Ignore whitespaces in the capistrano config files
-
Fixes #44: Geordi now supports a multiline server definition.
Example:
server 'c01.test.example.com', user: 'deploy-test_p', roles: ['app', 'web', 'db', 'cron', 'primary_cron'], primary: true
-
Added this CHANGELOG file.