From 76014a0175fb3ba8fe194728033d776af2b2dd51 Mon Sep 17 00:00:00 2001 From: Alex Wood Date: Mon, 16 Jun 2014 15:08:19 -0400 Subject: [PATCH] Update subscription-manager to 1.12.3-1 Resolves: #1104158 - Version command needs better explanation for content Resolves: #1070585 - GUI no longer locks on connection test. Adds cancel button. Resolves: #1030638 - Changes default resolution values in mainwindow.glade to 800x600. Resolves: #1086377 - Next system check-in not displaying in RHEL 5.11 Resolves: #1058380 - Subscripton Manager plugin reporting Subscription Management when Resolves: #855050 - set default fallback window icon (ckozak@redhat.com) Resolves: #1035440 - Don't rewrite redhat.repo unless it has changed (ckozak@redhat.com) Resolves: #1097536 - match-installed filter was incorrectly removed. (wpoteat@redhat.com) Resolves: #1092754 - 1094879: Remove install-num-migrate-to-rhsm tool (ckozak@redhat.com) --- .gitignore | 1 + sources | 2 +- subscription-manager.spec | 169 +++++++++++++++++++++++++++++++++++--- 3 files changed, 161 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 4a66bf7..762817b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,4 @@ /subscription-manager-1.11.3.tar.gz /subscription-manager-1.11.6.tar.gz /subscription-manager-1.11.7.tar.gz +/subscription-manager-1.12.3.tar.gz diff --git a/sources b/sources index c7e3546..9dd1929 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6658582312bf1821dd61c1ea137ef067 subscription-manager-1.11.7.tar.gz +f01d485ffad4a91ad5cc7788136b7803 subscription-manager-1.12.3.tar.gz diff --git a/subscription-manager.spec b/subscription-manager.spec index 2e87343..20f4708 100644 --- a/subscription-manager.spec +++ b/subscription-manager.spec @@ -12,15 +12,15 @@ %endif Name: subscription-manager -Version: 1.11.7 -Release: 2%{?dist} +Version: 1.12.3 +Release: 1%{?dist} Summary: Tools and libraries for subscription and repository management Group: System Environment/Base License: GPLv2 # How to create the source tarball: # -# git clone https://github.com/candlepin/subscription-manager/ +# git clone git://git.fedorahosted.org/git/subscription-manager.git/ # yum install tito # tito build --tag subscription-manager-$VERSION-$RELEASE --tgz Source0: %{name}-%{version}.tar.gz @@ -31,7 +31,7 @@ Requires: python-ethtool Requires: python-iniparse Requires: pygobject2 Requires: virt-what -Requires: python-rhsm >= 1.10.9 +Requires: python-rhsm >= 1.12.3 Requires: dbus-python Requires: yum >= 3.2.19-15 Requires: usermode @@ -73,6 +73,24 @@ to manage subscriptions and yum repositories from the Red Hat entitlement platform. +%package -n subscription-manager-plugin-ostree +Summary: A plugin for handling OSTree content. +Group: System Environment/Base + +Requires: pygobject3-base + +%description -n subscription-manager-plugin-ostree +Enables handling of content of type 'ostree' in any certificates +from the server. Populates /ostree/repo/config as well as updates +the remote in the currently deployed .origin file. + +%files -n subscription-manager-plugin-ostree +%defattr(-,root,root,-) +%{_sysconfdir}/rhsm/pluginconf.d/ostree_content.OstreeContentPlugin.conf +%{rhsm_plugins_dir}/ostree_content.py* +%{_datadir}/rhsm/subscription_manager/plugin/ostree/*.py* + + %package -n subscription-manager-gui Summary: A GUI interface to manage Red Hat product subscriptions Group: System Environment/Base @@ -208,11 +226,13 @@ rm -rf %{buildroot} %dir %{_datadir}/rhsm/subscription_manager %{_datadir}/rhsm/subscription_manager/async.py* +%{_datadir}/rhsm/subscription_manager/base_action_client.py* %{_datadir}/rhsm/subscription_manager/base_plugin.py* %{_datadir}/rhsm/subscription_manager/branding %{_datadir}/rhsm/subscription_manager/cache.py* %{_datadir}/rhsm/subscription_manager/certdirectory.py* %{_datadir}/rhsm/subscription_manager/certlib.py* +%{_datadir}/rhsm/subscription_manager/content_action_client.py* %{_datadir}/rhsm/subscription_manager/action_client.py* %{_datadir}/rhsm/subscription_manager/cert_sorter.py* %{_datadir}/rhsm/subscription_manager/cli.py* @@ -240,6 +260,7 @@ rm -rf %{buildroot} %{_datadir}/rhsm/subscription_manager/logutil.py* %{_datadir}/rhsm/subscription_manager/managercli.py* %{_datadir}/rhsm/subscription_manager/managerlib.py* +%{_datadir}/rhsm/subscription_manager/models.py* %{_datadir}/rhsm/subscription_manager/packageprofilelib.py* %{_datadir}/rhsm/subscription_manager/plugins.py* %{_datadir}/rhsm/subscription_manager/productid.py* @@ -255,6 +276,7 @@ rm -rf %{buildroot} %{_datadir}/rhsm/subscription_manager/file_monitor.py* %{_datadir}/rhsm/subscription_manager/overrides.py* %{_datadir}/rhsm/subscription_manager/exceptions.py* +%{_datadir}/rhsm/subscription_manager/plugin/*.py* # subscription-manager plugins %dir %{rhsm_plugins_dir} @@ -363,13 +385,9 @@ rm -rf %{buildroot} %{_datadir}/rhsm/subscription_manager/migrate/__init__.py* %{_datadir}/rhsm/subscription_manager/migrate/migrate.py* %attr(755,root,root) %{_sbindir}/rhn-migrate-classic-to-rhsm -# Install num migration is only for RHEL 5: -%{?el5:%attr(755,root,root) %{_sbindir}/install-num-migrate-to-rhsm} %doc %{_mandir}/man8/rhn-migrate-classic-to-rhsm.8* -# Install num migration is only for RHEL 5: -%{?el5:%{_mandir}/man8/install-num-migrate-to-rhsm.8*} %doc LICENSE #only install this file on Fedora %if 0%{?fedora} > 14 @@ -415,8 +433,139 @@ fi %endif %changelog -* Sun Jun 08 2014 Fedora Release Engineering - 1.11.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild +* Mon Jun 16 2014 Alex Wood 1.12.3-1 +- Bumping required python-rhsm version (mstead@redhat.com) +- Fixing checkstyle. (mstead@redhat.com) +- TODO/FIXME cleanup. (alikins@redhat.com) +- Cleanup BaseOstreeKeyFileTest.cfgfile_data (alikins@redhat.com) +- Remove unused model.OstreeRepo (alikins@redhat.com) +- Use python-rhsm's new EntCert.key_path() (alikins@redhat.com) +- Add specific exception for refspec parse error (alikins@redhat.com) +- stylish cleanups (alikins@redhat.com) +- Add test cases for OstreeContents (alikins@redhat.com) +- Remove fixed FIXME. (alikins@redhat.com) +- Add section name to exception reading remote name. (alikins@redhat.com) +- Remove unused origin/refspec from report. (alikins@redhat.com) +- repr and report format cleanups. (alikins@redhat.com) +- Save needed ostree remote info to config file. (alikins@redhat.com) +- Mock an ent cert associated with a content. (alikins@redhat.com) +- Start passing along ent cert ssl info to ostree (alikins@redhat.com) +- Fix mismerge for OstreeContents usage (alikins@redhat.com) +- call get_path() to get path string on deploy (alikins@redhat.com) +- Remove done TODO (map gpgkey->gpg-verify) (alikins@redhat.com) +- _get_deployed_origin returns None if not a ostree install + (alikins@redhat.com) +- Fix missed return in gi_wrapper. (dgoodwin@redhat.com) +- Rename poor choice of gi.py script. (dgoodwin@redhat.com) +- Only replace origin remote if it matches first portion of ref. + (dgoodwin@redhat.com) +- Test subprocess error calling pygobject3 script, log output. + (dgoodwin@redhat.com) +- Start making OstreeContent resp for finding contents. (alikins@redhat.com) +- Add models.py to spec (alikins@redhat.com) +- Make models internal data attrs '_' (alikins@redhat.com) +- Add a static map_gpg to OstreeRemote (alikins@redhat.com) +- stylish cleanups (alikins@redhat.com) +- Remove 'api' module. (alikins@redhat.com) +- Add models module, for objects we pass to plugins (alikins@redhat.com) +- OSTree package depends on pygobject3-base. (dgoodwin@redhat.com) +- Move gi introspection code to separate script. (dgoodwin@redhat.com) +- Add some missing copyright notices. (dgoodwin@redhat.com) +- Remove inj from 'api' module. (alikins@redhat.com) +- Add more tests. (alikins@redhat.com) +- Remove per class repo_file_store_class (alikins@redhat.com) +- Package ostree plugin as a sub-package. (dgoodwin@redhat.com) +- Test cases for OstreeConfig and ..RepoFileWriter (alikins@redhat.com) +- When persisting a OstreeCore copy all items. (alikins@redhat.com) +- Default empty OstreeRemotes or OstreeCore (alikins@redhat.com) +- Fix test cases to look for ostree.config (alikins@redhat.com) +- Make OstreeConfig use OstreeConfigFileStore (alikins@redhat.com) +- Remove OstreeConfigUpdater (alikins@redhat.com) +- Complete happy path test for origin remote updating. (dgoodwin@redhat.com) +- Attempt to disambiguate use of repo_config_file variables. + (dgoodwin@redhat.com) +- Beginning tests for ostree origin updating, refactor tempfiles in tests. + (dgoodwin@redhat.com) +- Name changes (alikins@redhat.com) +- Add method to replace ostree remote in a refspec. (dgoodwin@redhat.com) +- Get some better reporting, albeit klugey. (alikins@redhat.com) +- Add some temp kluge, OstreeRemote's not immutable (alikins@redhat.com) +- Make OstreeRemote a dict (alikins@redhat.com) +- Simplify the config model a little. (alikins@redhat.com) +- s/PluginManagerRunner/PluginHookRunner (alikins@redhat.com) +- Stylish cleanups. (alikins@redhat.com) +- Add a runiter to the fixtures mock PluginManager (alikins@redhat.com) +- We still need the entdir refresh for 'attach'. (alikins@redhat.com) +- Use PluginManager.runiter for content actions. (alikins@redhat.com) +- Add a PluginManager.runiter() method. (alikins@redhat.com) +- Update plugin docs. (alikins@redhat.com) +- Add notes, comments, docstrings. (alikins@redhat.com) +- Get ostree repo config saving working-ish (alikins@redhat.com) +- Update some missed tests. (dgoodwin@redhat.com) +- Refactor to an update content plugin. (dgoodwin@redhat.com) +- Update makefile and spec for ostree plugin. (dgoodwin@redhat.com) +- Move ostree plugin support code to subscription-manager namespace. + (dgoodwin@redhat.com) +- Add ostree/model.py for ostree related models. (alikins@redhat.com) +- More tests for ostree/repo_file (alikins@redhat.com) +- Add src/content_plugins to coverage (alikins@redhat.com) +- Use RhsmConfigParser to read repo config (alikins@redhat.com) +- More ostree impl tests. (alikins@redhat.com) +- Use the 'api' module when importing from plugins. (alikins@redhat.com) +- Start of test for 'api' module. (alikins@redhat.com) +- Add an api module with our "exported" symbols (alikins@redhat.com) +- Use regular config parser instead of pyxdg (alikins@redhat.com) +- Add start of tests for ostree repo action (alikins@redhat.com) +- Start ostree repo action class stubs (alikins@redhat.com) +- Start ostree implementation tests (alikins@redhat.com) +- Start adding ostree implementation (alikins@redhat.com) +- Add TODO about content_plugin installs (alikins@redhat.com) +- Move OstreeContentActionInvoker to it's own module (alikins@redhat.com) +- Remove unneeded #!/usr/bin/python (alikins@redhat.com) +- Make ostree content action loaded from plugins. (alikins@redhat.com) +- Log exceptions from trying to load plugins. (alikins@redhat.com) +- Add ostree_content plugin entry point (alikins@redhat.com) +- HACK: install ostree content plugin in site-packages (alikins@redhat.com) +- Add content_plugins dir,and ostree content plugins (alikins@redhat.com) +- Remove sample yum_content plugin (alikins@redhat.com) +- Hit ContentActionClient for some test coverage. (alikins@redhat.com) +- Add test for ContentActionPluginConduit (alikins@redhat.com) +- entcertlib.repo_hook can be content type agnostic (alikins@redhat.com) +- Replace odd usage of 'repolib' name. (alikins@redhat.com) +- Load content actions from plugin class search (alikins@redhat.com) +- Add a dummy yum_content plugin for testing (alikins@redhat.com) +- Add ContentActionPluginConduit plugin. (alikins@redhat.com) +- Add ostree_action_invoker (ostree repo action) (alikins@redhat.com) +- Add ContentActionClient (alikins@redhat.com) +- 1104158: Version command needs better explanation for content + (wpoteat@redhat.com) + +* Mon Jun 16 2014 Devan Goodwin 1.12.2-1 +- 1070585: GUI no longer locks on connection test. Adds cancel button. + (csnyder@redhat.com) +- Disable CLI if we are running inside a container. (dgoodwin@redhat.com) +- Don't encourage registration in yum plugin if we have ents but no identity. + (dgoodwin@redhat.com) +- Allow yum plugin to generate redhat.repo when unregistered. + (dgoodwin@redhat.com) +- Rev zanata branch to 1.12.X (alikins@redhat.com) +- 1030638: Changes default resolution values in mainwindow.glade to 800x600. + (csnyder@redhat.com) +- 1086377: Next system check-in not displaying in RHEL 5.11 + (wpoteat@redhat.com) +- Fix plugin config so conduit conf methods work. (alikins@redhat.com) +- 1058380: Subscripton Manager plugin reporting Subscription Management when + RHN is in use (wpoteat@redhat.com) +- Add support for sphinx doc generation. (alikins@redhat.com) + +* Thu Jun 05 2014 jesus m. rodriguez 1.12.1-1 +- bump version to 1.12 (jesusr@redhat.com) +- Support getting release versions via API call (mstead@redhat.com) +- 855050: set default fallback window icon (ckozak@redhat.com) +- refresh ent_dir after adding/deleting certs (ckozak@redhat.com) +- 1035440: Don't rewrite redhat.repo unless it has changed (ckozak@redhat.com) +- 1097536: match-installed filter was incorrectly removed. (wpoteat@redhat.com) +- 1092754: 1094879: Remove install-num-migrate-to-rhsm tool (ckozak@redhat.com) * Mon May 26 2014 Devan Goodwin 1.11.7-1 - update existing repos with non-default overrides (ckozak@redhat.com)