Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #13614 - Make capsule only an alias to proxy #349

Merged
merged 1 commit into from Feb 29, 2016

Conversation

tstrachota
Copy link
Member

No description provided.

@@ -24,6 +24,8 @@ def self.exception_handler_class
require 'hammer_cli_katello/id_resolver'

# commands
require 'hammer_cli_katello/capsule'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why can't this be lumped into the list of other requires just a few lines up?

@tstrachota tstrachota force-pushed the proxy_alias_13614 branch 3 times, most recently from 1ddff99 to 0ba5dbe Compare February 23, 2016 12:51
@tstrachota
Copy link
Member Author

@komidore64 thanks, updated.

@@ -136,7 +108,9 @@ class SyncCommand < HammerCLIForemanTasks::AsyncCommand
autoload_subcommands
end

autoload_subcommands
HammerCLIForeman::SmartProxy.subcommand("content",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more thing. Could we use HammerCLIKatello::Capsule::Content.command_name here rather than "content"? Same reason that I asked about using #desc(), it's one place to keep track of the command name, rather than two.

@komidore64
Copy link
Contributor

ACK pending comment.

@tstrachota
Copy link
Member Author

Fixed

@komidore64
Copy link
Contributor

@tstrachota mind rebasing? Also, is this intended for 3.0? We branched yesterday and this will need a BZ attached to it, if you want it cherry-picked into 3.0.

@tstrachota
Copy link
Member Author

@komidore64 I rebased, moved the issue to Katello and cloned it to bugzilla.

@komidore64
Copy link
Contributor

@tstrachota sweet! 🐈

komidore64 added a commit that referenced this pull request Feb 29, 2016
Fixes #13614 - Make capsule only an alias to proxy
@komidore64 komidore64 merged commit 6644971 into Katello:master Feb 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants