[katello-cli] Rebase to katello-cli-1.1.10-1.fc17 in rawhide.

Miroslav Suchý msuchy at fedoraproject.org
Mon Oct 15 14:43:54 UTC 2012


commit 320a4c6f708a8b43d8c27bb5b98f78def8259876
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Mon Oct 15 16:43:48 2012 +0200

    Rebase to katello-cli-1.1.10-1.fc17 in rawhide.

 .gitignore       |    1 +
 katello-cli.spec |  252 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 sources          |    2 +-
 3 files changed, 252 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6f4ecb5..1d9da12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /katello-cli-1.1.5.tar.gz
+/katello-cli-1.1.10.tar.gz
diff --git a/katello-cli.spec b/katello-cli.spec
index 1f25969..647ff3f 100644
--- a/katello-cli.spec
+++ b/katello-cli.spec
@@ -21,12 +21,14 @@ Summary:       Client package for managing application life-cycle for Linux syst
 Group:         Applications/System
 License:       GPLv2
 URL:           http://www.katello.org
-Version:       1.1.5
+Version:       1.1.10
 Release:       1%{?dist}
 Source0:       https://fedorahosted.org/releases/k/a/katello/%{name}-%{version}.tar.gz
 Requires:      %{base_name}-cli-common
 BuildArch:     noarch
-
+BuildRequires: spacewalk-pylint
+Obsoletes:     katello-cli-headpin< 0.0.1-1
+Provides:      katello-cli-headpin= 1.0.1-1
 
 %description
 Provides a client package for managing application life-cycle for 
@@ -69,6 +71,9 @@ https://fedorahosted.org/katello/wiki/TestingHowto
 %setup -q
 
 %build
+%if ! 0%{?fastbuild:1}
+    PYTHONPATH=src/ pylint --rcfile=/etc/spacewalk-pylint.rc --additional-builtins=_ katello
+%endif
 # generate usage docs and incorporate it into the man page
 pushd man
 PYTHONPATH=../src python ../src/katello/client/utils/usage.py >katello-usage.txt
@@ -101,6 +106,7 @@ install -pm 0644 src/%{base_name}/client/core/*.py %{buildroot}%{python_sitelib}
 install -pm 0644 src/%{base_name}/client/utils/*.py %{buildroot}%{python_sitelib}/%{base_name}/client/utils/
 install -d -m 0755 %{buildroot}%{_mandir}/man1
 install -m 0644 man/%{base_name}.man1 %{buildroot}%{_mandir}/man1/%{base_name}.1
+install -m 0644 man/headpin.1 %{buildroot}%{_mandir}/man1/headpin.1
 install -m 0644 man/%{base_name}-debug-certificates.man1 %{buildroot}%{_mandir}/man1/%{base_name}-debug-certificates.1
 
 # install locale files
@@ -118,12 +124,18 @@ mkdir -p %{buildroot}%{homedir}/tests/%{name}/unit-tests
 sed -i -e 's|\.\./src/katello|%{python_sitelib}/%{base_name}|g' test/katello/__init__.py
 cp -ap test/katello %{buildroot}%{homedir}/tests/%{name}/unit-tests
 
+pushd %{buildroot}%{_bindir}
+ln -svf %{_bindir}/%{base_name} headpin
+popd
+
 %files
 %attr(755,root,root) %{_bindir}/%{base_name}
+%attr(755,root,root) %{_bindir}/headpin
 %attr(755,root,root) %{_bindir}/%{base_name}-debug-certificates
 %config(noreplace) %{_sysconfdir}/%{base_name}/client.conf
 %doc README LICENSE
 %{_mandir}/man1/%{base_name}.1*
+%{_mandir}/man1/headpin.1*
 %{_mandir}/man1/%{base_name}-debug-certificates.1*
 
 %files common -f %{name}.lang
@@ -138,6 +150,242 @@ cp -ap test/katello %{buildroot}%{homedir}/tests/%{name}/unit-tests
 make -C po clean
 
 %changelog
+* Fri Oct 12 2012 Lukas Zapletal <lzap+git at redhat.com> 1.1.10-1
+- Merge pull request #846 from lzap/copyright-update
+- updating copyrights
+- katello-cli-headpin != katello-headpin-cli
+- 864372 - CLI - some keys does not work in "shell"
+- fixing 'ta' translations
+- merge katello.cli translation from CFSE
+- Merge pull request #808 from tstrachota/Bug_845198_locale_cannot_be_switched
+- 845198 - fixed getlocale locale.getlocale was used with wrong parameter.
+  LC_ALL is not allowed. See:
+  http://docs.python.org/library/locale.html#locale.getlocale
+- removing unused import in cli utils printer.py (komidore64 at gmail.com)
+- Merge pull request #803 from komidore64/org-list-fail
+- Merge pull request #797 from xsuchy/pull-req-raise
+- 863461 - Headpin Cli automation : Failure to list the org updated with
+  special chars other than ascii chars (komidore64 at gmail.com)
+- 858960 - always set the utf-8 writer for stdout and stderr
+- do not mask original error by raise in exception
+- unify string "Couldn't find user role"
+- unify string "Couldn't find user"
+- unify string "Couldn't find template"
+- 857576 - Fixing variable name in filter code
+- 857576 - Fixed package code indentation
+
+* Thu Sep 27 2012 Miroslav Suchý <msuchy at redhat.com> 1.1.9-1
+- convert string to unicode (msuchy at redhat.com)
+- 857576 - Added update filter test (davidd at scimedsolutions.com)
+- 857576 - Package filter name can be edited by cli
+  (davidd at scimedsolutions.com)
+- move custom notes to separate file (msuchy at redhat.com)
+- remove duplicate code (msuchy at redhat.com)
+- W0104:228,8:GrepStrategy._print_header: Statement seems to have no effect
+  (msuchy at redhat.com)
+- W0212:135,8:VerboseStrategy._print_header: Access to a protected member
+  _println of a client class E0602:135,8:VerboseStrategy._print_header:
+  Undefined variable 'self' (msuchy at redhat.com)
+- C0301:124,0: Line too long (129/120) C0301:971,0: Line too long (147/120)
+  (msuchy at redhat.com)
+- if using delimiter, then do not print padding spaces (msuchy at redhat.com)
+- do not print first delimiter (msuchy at redhat.com)
+- 801560 - correctly calculate length of asian characters (msuchy at redhat.com)
+- 845995 - fixing typo (msuchy at redhat.com)
+- refresh translations string for katello-cli (msuchy at redhat.com)
+- some small python changes (komidore64 at gmail.com)
+- adding uuid arguments to system's custom info actions in the cli
+  (komidore64 at gmail.com)
+- 858011 - pylint fixes (mmccune at redhat.com)
+- removing a couple missed debugger statements (komidore64 at gmail.com)
+- CustomInfo for Systems (komidore64 at gmail.com)
+- object labels - fix cli tests broken during addition of object labels
+  (bbuckingham at redhat.com)
+- 797297 - fix typo (msuchy at redhat.com)
+- 845995 - write error is systemgroup does not exist (msuchy at redhat.com)
+- object-labels - adding CLI and API calls to support object labeling
+  (mmccune at redhat.com)
+- 836575 - fix encoding errors when reporting failure messages in CLI
+  (inecas at redhat.com)
+- Revert "regenerating localization strings for cli" (komidore64 at gmail.com)
+- regenerating localization strings for cli (komidore64 at gmail.com)
+- 820634 - Katello String Updates (komidore64 at gmail.com)
+- handle exception when katello server is down (msuchy at redhat.com)
+- update cli source strings of localization (msuchy at redhat.com)
+- object-label - organization - rename column cp_key to label
+  (bbucking at dhcp231-20.rdu.redhat.com)
+- cli - remove unused import (inecas at redhat.com)
+
+* Wed Sep 12 2012 Ivan Necas <inecas at redhat.com> 1.1.8-1
+- 837000 - [RFE] when updating sync plan by CLI, it resets the interval.
+  (pajkycz at gmail.com)
+- 809259 - activation key - cli permissions changes (continued)
+  (bbuckingham at redhat.com)
+- 809259 - activation key - cli permissions changes (bbuckingham at redhat.com)
+
+* Wed Sep 12 2012 Miroslav Suchý <msuchy at redhat.com> 1.1.7-1
+- Fixing provides/obsoletes bug (jomara at redhat.com)
+- Removing extra configure code for headpin bin; adding provides to cli script
+  for headpin (jomara at redhat.com)
+- Fencing headpin CLI into katello cli. CLI will now load appropriate functions
+  based on client.conf configuration. Katello cli now ships with headpin
+  symlink (jomara at redhat.com)
+
+* Thu Sep 06 2012 Ivan Necas <inecas at redhat.com> 1.1.6-1
+- 835591 - usage limit is properly displayed in the list (lzap+git at redhat.com)
+- make pylint happy on el6 (msuchy at redhat.com)
+- cli - introducing %%{fastbuild} rpm macro use (lzap+git at redhat.com)
+- 835591 - usage limit must be higher than 0 (lzap+git at redhat.com)
+- cli - pull request review (lzap+git at redhat.com)
+- cli refactoring - removing unused code (lzap+git at redhat.com)
+- cli refactoring - update_dict_unless_none (lzap+git at redhat.com)
+- cli - pull request review (lzap+git at redhat.com)
+- fail to build if code contains pylint errors or warnings (msuchy at redhat.com)
+- returning back docstring (msuchy at redhat.com)
+- code cleanup - class Bytes is not used (msuchy at redhat.com)
+- cli - removing unused global variable (lzap+git at redhat.com)
+- 853995 - error handling for non-existing systems (lzap+git at redhat.com)
+- since AsyncJob is instance of AsyncTask, there is no need for
+  wait_for_async_job and we can use wait_for_async_task instead
+  (msuchy at redhat.com)
+- make _task attribute of instance instead of attribute of class
+  (msuchy at redhat.com)
+- Simplify AsyncJob by inheriting from AsyncTask (msuchy at redhat.com)
+- create __str__() for AsyncJob (msuchy at redhat.com)
+- cli - introducing debug log level env variable (lzap+git at redhat.com)
+- 851142 - CLI: changeset update shows strange error (pajkycz at gmail.com)
+- C0301: 26,0: Line too long (131/120) C0301:390,0: Line too long (135/120)
+  (msuchy at redhat.com)
+- removing reference to class that was removed (mmccune at redhat.com)
+- removing reference to class that was removed (mmccune at redhat.com)
+- waive W0221:177,4:KatelloCLI.error: Arguments number differs from overridden
+  method (msuchy at redhat.com)
+- waive R0904: 20,0:SystemGroupAPI: Too many public methods (21/20)
+  (msuchy at redhat.com)
+- waive R0904: 18,0:RepoAPI: Too many public methods (21/20 (msuchy at redhat.com)
+- waive R0904: 19,0:SystemAPI: Too many public methods (29/20)
+  (msuchy at redhat.com)
+- waive W0702:478,4:get_term_width: No exception type(s) specified
+  (msuchy at redhat.com)
+- W0221:483,4:KatelloServer.PUT: Arguments number differs from overridden
+  method (msuchy at redhat.com)
+- W0221:480,4:KatelloServer.POST: Arguments number differs from overridden
+  method (msuchy at redhat.com)
+- W0221:474,4:KatelloServer.GET: Arguments number differs from overridden
+  method (msuchy at redhat.com)
+- W0702:364,8:KatelloServer._process_response: No exception type(s) specified
+  (msuchy at redhat.com)
+- waive R0904: 39,0:OptionParser: Too many public methods (39/20)
+  (msuchy at redhat.com)
+- W1201: 51,12:KatelloShell.history_file: Specify string format arguments as
+  logging function parameters (msuchy at redhat.com)
+- R0904: 30,0:KatelloShell: Too many public methods (21/20) (msuchy at redhat.com)
+- W0201:279,12:Cmd.complete: Attribute 'completion_matches' defined outside
+  __init__ (msuchy at redhat.com)
+- W0703:186,15:Discovery.discover_repositories: Catching too general exception
+  Exception (msuchy at redhat.com)
+- R0904:170,0:ListAvailableVerbs: Too many public methods (22/20)
+  (msuchy at redhat.com)
+- R0904:183,0:UpdateContent: Too many public methods (21/20 (msuchy at redhat.com)
+- W0611: 25,0: Unused import get_product (msuchy at redhat.com)
+- R0904:272,0:Update: Too many public methods (26/20) (msuchy at redhat.com)
+- remove false statement (msuchy at redhat.com)
+- R0201: 35,4:EnvironmentAction.get_prior_id: Method could be a function
+  (msuchy at redhat.com)
+- W0622:503,12:Errata.run: Redefining built-in 'id' (msuchy at redhat.com)
+- W0622:460,12:Packages.run: Redefining built-in 'id' (msuchy at redhat.com)
+- C0301:331,0: Line too long (122/120) C0301:407,0: Line too long (122/120)
+  C0301:409,0: Line too long (122/120) C0301:411,0: Line too long (145/120)
+  C0301:413,0: Line too long (126/120) C0301:415,0: Line too long (126/120)
+  C0301:417,0: Line too long (124/120) C0301:484,0: Line too long (124/120)
+  (msuchy at redhat.com)
+- R0201:233,4:ShowSubscriptions.convert_timestamp: Method could be a function
+  R0201:239,4:ShowSubscriptions.extract_sla_from_product: Method could be a
+  function (msuchy at redhat.com)
+- R0201: 53,4:DateTimeFormatter.local_timezone: Method could be a function
+  (msuchy at redhat.com)
+- W0621: 42,35:DateTimeFormatter.build_datetime: Redefining name 'time' from
+  outer scope (line 18) (msuchy at redhat.com)
+- W0621: 39,28:DateTimeFormatter.contains_zone: Redefining name 'time' from
+  outer scope (line 18) (msuchy at redhat.com)
+- W0621: 36,25:DateTimeFormatter.date_valid: Redefining name 'time' from outer
+  scope (line 18) (msuchy at redhat.com)
+- W0621: 33,25:DateTimeFormatter.time_valid: Redefining name 'time' from outer
+  scope (line 18) (msuchy at redhat.com)
+- W0232: 24,0:DateTimeFormatter: Class has no __init__ method
+  (msuchy at redhat.com)
+- R0201: 35,4:ActivationKeyAction.get_template_id: Method could be a function
+  (msuchy at redhat.com)
+- C0301: 62,0: Line too long (126/120) C0301:233,0: Line too long (144/120)
+  (msuchy at redhat.com)
+- waive Method could be a function (msuchy at redhat.com)
+- waive unused arguments (msuchy at redhat.com)
+- W0702:387,12:BaseAction.main: No exception type(s) specified
+  (msuchy at redhat.com)
+- R0201:342,4:BaseAction.load_saved_options: Method could be a function
+  (msuchy at redhat.com)
+- W0702:278,8:Command._extract_command: No exception type(s) specified
+  (msuchy at redhat.com)
+- R0201:257,4:Command.__build_command_usage_lines: Method could be a function
+  (msuchy at redhat.com)
+- R0201:214,4:Action.__process_option_errors: Method could be a function
+  (msuchy at redhat.com)
+- waive unused arguments (msuchy at redhat.com)
+- C0301:333,0: Line too long (179/120) C0301:335,0: Line too long (172/120)
+  (msuchy at redhat.com)
+- W0611: 19,0: Unused import Command (msuchy at redhat.com)
+- simplify code (msuchy at redhat.com)
+- R0201: 86,4:Status.__sortedStatuses: Method could be a function R0201:
+  93,4:Status.__buildOverallStatusDetail: Method could be a function R0201:
+  99,4:Status.__buildServiceStatusDetail: Method could be a function
+  (msuchy at redhat.com)
+- waive W0612: 70,12:Status.__returnCode: Unused variable 'serviceName'
+  (msuchy at redhat.com)
+- R0201: 39,4:SyncPlanAction.parse_datetime: Method could be a function
+  (msuchy at redhat.com)
+- C0301:115,0: Line too long (127/120) C0301:118,0: Line too long (147/120)
+  C0301:150,0: Line too long (127/120) (msuchy at redhat.com)
+- R0201:289,4:Promote.create_cs_name: Method could be a function
+  (msuchy at redhat.com)
+- rename isMarketingProduct to isNotMarketingProduct to avoid confusion of
+  future generations (msuchy at redhat.com)
+- W0702:159,16:List.run.isMarketingProduct: No exception type(s) specified
+  (msuchy at redhat.com)
+- W0622:132,8:List.run: Redefining built-in 'all' (msuchy at redhat.com)
+- R0201: 58,4:SingleProductAction.set_product_select_options: Method could be a
+  function R0201: 64,4:SingleProductAction.check_product_select_options: Method
+  could be a function (msuchy at redhat.com)
+- C0301: 29,0: Line too long (135/120) C0301:228,0: Line too long (134/120)
+  C0301:248,0: Line too long (124/120) C0301:308,0: Line too long (121/120)
+  C0301:312,0: Line too long (128/120) C0301:314,0: Line too long (158/120)
+  (msuchy at redhat.com)
+- W0201:354,8:Update.resetParameters: Attribute 'items' defined outside
+  __init__ (msuchy at redhat.com)
+- W0201:291,8:Update.store_from_product: Attribute 'current_product' defined
+  outside __init__ (msuchy at redhat.com)
+- R0201:418,4:Update.productNamesToIds: Method could be a function
+  R0201:429,4:Update.repoNamesToIds: Method could be a function
+  (msuchy at redhat.com)
+- waive unused arguments (msuchy at redhat.com)
+- R0201:223,4:Export.open_file: Method could be a function (msuchy at redhat.com)
+- W0702:211,8:Export.run: No exception type(s) specified (msuchy at redhat.com)
+- W0622:204,8:Export.run: Redefining built-in 'format' (msuchy at redhat.com)
+- R0201:177,4:Import.open_file: Method could be a function (msuchy at redhat.com)
+- W0702:167,8:Import.run: No exception type(s) specified (msuchy at redhat.com)
+- R0201:125,4:Info._build_nvrea: Method could be a function (msuchy at redhat.com)
+- R0201: 39,4:TemplateAction.get_parent_id: Method could be a function
+  (msuchy at redhat.com)
+- C0301:171,0: Line too long (129/120) C0301:193,0: Line too long (123/120)
+  C0301:215,0: Line too long (133/120) C0301:311,0: Line too long (137/120)
+  C0301:313,0: Line too long (155/120) C0301:314,0: Line too long (123/120)
+  C0301:317,0: Line too long (124/120) C0301:319,0: Line too long (146/120)
+  C0301:320,0: Line too long (152/120) C0301:323,0: Line too long (123/120)
+  C0301:325,0: Line too long (132/120) C0301:327,0: Line too long (141/120)
+  C0301:329,0: Line too long (147/120) C0301:400,0: Line too long (134/120)
+  (msuchy at redhat.com)
+- correctly use pylint: disable (msuchy at redhat.com)
+- 746765 - systems can be referenced by uuid (lzap+git at redhat.com)
+
 * Fri Aug 31 2012 Miroslav Suchý <msuchy at redhat.com> 1.1.5-1
 - code style fixes (msuchy at redhat.com)
 - 847858 - only remove act keys when resource not found error
diff --git a/sources b/sources
index e8c194b..e8c0f54 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ccf45c0f17a95a7febdcb924de674c77  katello-cli-1.1.5.tar.gz
+3a375b54f66ba3eac99d14ddf504b34a  katello-cli-1.1.10.tar.gz


More information about the scm-commits mailing list