cli completion - fixed import path to 'fix_io_encoding'
The library structure has changed and the function was moved into another directory.
…d_format 851331 - Add organization label attribute
…_creation 844389 - unsuccessful repo deletion rollbacking
841013 - Allow same name distributions in changeset
Provider JSON now includes organization_label attribute so it can be used in other actions. No need to list all organizations to find out label for given organization id anymore.
If pulp was is unavailable during repository deletion a process failed without rollbacking changes in candlepin. Now we delete content in candlepin in such case so there is no inconsistency and you can try to add repository again. Also we display a better error notification to user instructing him to try again. All backtrace is however stored in notification. One minor fix regarding elastic search indexed models. Some strings can be nil so we must check their presence, not their length.
If you add two distributions with same name to a changeset it should be allowed if they come from different products.
908012 - fixing katello-check for pulp v1
First small bunch of jruby fixes
forcing a lower version of minitest
Moving ElasticSearch methods
fixing a couple issues with errata and packages
remove bundler patch preferring rpms over gems
Fix for mongo taking a few seconds to start up properly
Reduced API documentation for Headpin mode
Fedora 17 and 18 is behind the new version.
Refactoring of http errors (mostly 400 - InvalidRequest), mostly in param_rules checks.
Add YARD documentation for Katello
The katello-check script can be used by users, customers or GSS to do a quick checkup of data integrity of a Katello installation. Currently it implements two checks - it iterates through all repositories which Katello knows and tries to find them in Pulp and vice versa. All deviations are reported on the output. This patch fixes the issue when it was not working because of one namespace rename. If you know about any kind of check that could be added, please feel free to script it.
Merge translations from SAM
880019 - learn optparser how to handle unicode errors
addressing: 2013-02-04 00:29:37,299 [ERROR][MainThread] error() @ base.py:191 - Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/katello/client/cli/base.py", line 203, in main ret_code = super(KatelloCLI, self).main(args, command_name, parent_usage) File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 312, in main return subcommand.main(self.args[1:], self.args, self._get_usage_line(command_name, parent_usage)) File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 312, in main return subcommand.main(self.args[1:], self.args, self._get_usage_line(command_name, parent_usage)) File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 389, in main self.setup_action(args, command_name, parent_usage) File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 375, in setup_action self.process_options(parser, args) File "/usr/lib/python2.6/site-packages/katello/client/core/base.py", line 225, in process_options self.opts, self.args = parser.parse_args(args) File "/usr/lib64/python2.6/optparse.py", line 1396, in parse_args self.error(str(err)) UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-4: ordinal not in range(128) The problem is as follows: Variable err (in optparse.py +1396) is instance of OptionError. str(err) will just call err.__str__ (which just return self.msg), but then it will also try to encode and then decode to/from default systemencoding, which is in RHEL6 "ascii". And that will fail. Passing encoded utf-8 does not help, because it will fail during decoding. And changing default system encoding is not nice. So we just bypass str() and call __str__() directly without that encodede/decode() stuff, which is not needed anyway.
it is not used any more, replaced by bundler_ext