-
Notifications
You must be signed in to change notification settings - Fork 22
/
python-rhsm.spec
822 lines (675 loc) · 36.3 KB
/
python-rhsm.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
# If on Fedora 12 or RHEL 5 or earlier, we need to define these:
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif
# Use python-simplejson on RHEL 5 as there is no json module in Python 2.4.
# On RHEL 6, we'll use it if it's installed (see ourjson.py).
# simplejson is not available in RHEL 7 at all.
%global use_simplejson (0%{?rhel} && 0%{?rhel} == 5)
# on non-EOL Fedora and RHEL 7, let's not use m2crypto
%global use_m2crypto (0%{?fedora} < 23 && 0%{?rhel} < 7)
%global _hardened_build 1
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro -Wl,-z,now}
Name: python-rhsm
Version: 1.19.2
Release: 1%{?dist}
Summary: A Python library to communicate with a Red Hat Unified Entitlement Platform
Group: Development/Libraries
License: GPLv2
# How to create the source tarball:
#
# git clone git://git.fedorahosted.org/git/python-rhsm.git/
# cd client/python-rhsm
# tito build --tag python-rhsm-$VERSION-$RELEASE --tgz
Source0: %{name}-%{version}.tar.gz
URL: http://www.candlepinproject.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %use_m2crypto
%if 0%{?sles_version}
Requires: python-m2crypto
%else
Requires: m2crypto
%endif
%endif
Requires: python-iniparse
Requires: rpm-python
Requires: python-dateutil
%if %use_simplejson
Requires: python-simplejson
%endif
Requires: python-rhsm-certificates = %{version}-%{release}
%if 0%{?sles_version}
BuildRequires: python-devel >= 2.6
%else
BuildRequires: python2-devel
%endif
BuildRequires: python-setuptools
BuildRequires: openssl-devel
%description
A small library for communicating with the REST interface of a Red Hat Unified
Entitlement Platform. This interface is used for the management of system
entitlements, certificates, and access to content.
%package certificates
Summary: Certificates required to communicate with a Red Hat Unified Entitlement Platform
Group: Development/Libraries
%description certificates
This package contains certificates required for communicating with the REST interface
of a Red Hat Unified Entitlement Platform, used for the management of system entitlements
and to receive access to content. Please note this package does not have a dependency on
Python. The name instead reflects its relationship to python-rhsm.
%prep
%setup -q -n python-rhsm-%{version}
%build
# create a version.py with the rpm version info
PYTHON_RHSM_VERSION=%{version} PYTHON_RHSM_RELEASE=%{release} CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
mkdir -p %{buildroot}%{_sysconfdir}/rhsm/ca
install etc-conf/ca/*.pem %{buildroot}%{_sysconfdir}/rhsm/ca
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README
%dir %{python_sitearch}/rhsm
%{python_sitearch}/rhsm/*
%{python_sitearch}/rhsm-*.egg-info
%files certificates
%attr(755,root,root) %dir %{_sysconfdir}/rhsm
%attr(755,root,root) %dir %{_sysconfdir}/rhsm/ca
%attr(644,root,root) %{_sysconfdir}/rhsm/ca/*.pem
%changelog
* Tue Mar 17 2020 Christopher Snyder <[email protected]> 1.19.2-1
- Add iniparse as install_requirement ([email protected])
- Add consumer content API to python-rhsm ([email protected])
- Fix string comparison missed in python3 PR ([email protected])
* Wed Jan 25 2017 Alex Wood <[email protected]> 1.19.1-1
- Adjust our C bindings for OpenSSL v1.1 API. ([email protected])
- Make python-rhsm Python-3 compatible ([email protected])
* Thu Jan 19 2017 Alex Wood <[email protected]> 1.19.0-1
- Bump version to 1.19 ([email protected])
- Adds new super class BaseRhsmLib that exposes request results.
* Fri Dec 09 2016 Vritant Jain <[email protected]> 1.18.6-1
- 1400719: Proxy host not available for release command ([email protected])
- 1397201: Expose classes in m2crypto wrapper ([email protected])
* Fri Nov 25 2016 Vritant Jain <[email protected]> 1.18.5-1
- 1396405: Use an int for port on connections ([email protected])
- 1393010: Correlate request ID, method and handler in logs
- 1394776: Fix port, insecure, and handler options on M2Crypto wrapper
- 1394351: Add httplib constants to m2cryptohttp ([email protected])
- 1390688: Add missing socket import ([email protected])
- Reduce usage of m2crypto (#184) ([email protected])
* Sun Oct 16 2016 Vritant Jain <[email protected]> 1.18.4-1
- Added 6.9 releaser ([email protected])
* Sun Oct 16 2016 Vritant Jain <[email protected]> 1.18.3-1
- 1320371: Fix case of retry-after header handling ([email protected])
- Fedora 22 is end-of-life. ([email protected])
- 1311429: Honor no_proxy environment variable ([email protected])
* Fri Sep 16 2016 Alex Wood <[email protected]> 1.18.2-1
- 1176219: Raise ProxyException in Restlib ([email protected])
- 1367243: Handle RestlibException 404 in refresh ([email protected])
- 1367243: Fix 404 check in regen entitlement funcs ([email protected])
- Revert "1367243: Fix 404 check in regen entitlement funcs"
- 1367243: Fix 404 check in regen entitlement funcs ([email protected])
- Ensure both cert regen methods succeed despite BadStatusLine from server
- Update fix to include BadStatusLine responses from the server
- 1366301: Entitlement regeneration no longer propagates server errors
- 1365280: Update default_log_level to INFO ([email protected])
- 1334916: Add rhsm.conf logging section defaults ([email protected])
- 1360909: Added functionality for regenerating entitlement certificates
- 1315901: Exception handling for PEM cert read ([email protected])
* Fri Jul 15 2016 Alex Wood <[email protected]> 1.18.1-1
- Bump version to 1.18 ([email protected])
* Thu Jun 30 2016 Vritant Jain <[email protected]> 1.17.5-1
- 1104332: Separate out the rhsm certs into a separate RPM ([email protected])
* Tue Jun 21 2016 Vritant Jain <[email protected]> 1.17.4-1
- 1346417: Allow users to set socket timeout. ([email protected])
- Fix Flake8 Errors ([email protected])
- Add Fedora 24 to the branch list. ([email protected])
- Added basic SLES compatibilty. Tested against SLES 11 SP3
* Thu May 12 2016 Darin Lively <[email protected]> 1.17.3-0
- Added basic SLES build compatibilty
* Mon Apr 25 2016 Vritant Jain <[email protected]> 1.17.2-1
- Added 7.3 releaser ([email protected])
- Updated UEPConnection.getProduct to explicitly reference product UUID
* Mon Feb 01 2016 Christopher Snyder <[email protected]> 1.17.1-1
- Bump version to 1.17.0 ([email protected])
* Tue Jan 19 2016 Christopher Snyder <[email protected]> 1.16.6-1
- 1297337: change server strings to new default ([email protected])
* Wed Jan 06 2016 Christopher Snyder <[email protected]> 1.16.5-1
- 1271158: Updates documentation to better explain when exceptions are thrown
- 1272203: Default used in place of empty config entry ([email protected])
- 1284683: Entitlement certificate path checking allows for listing files
- Fedora 21 is end of life. ([email protected])
* Fri Dec 04 2015 Alex Wood <[email protected]> 1.16.4-1
- HypervisorCheckIn now accepts options as a keyword argument,
options.reporter_id is now sent if provided ([email protected])
* Tue Dec 01 2015 Christopher Snyder <[email protected]> 1.16.3-1
- Added release target for RHEL 6.8 ([email protected])
- 1198178: Adds wrapper method to allow removal of entitlements by pool id
- Expand the docs and comments about GoneException. ([email protected])
- Adieu dgoodwin. ([email protected])
* Wed Sep 02 2015 Alex Wood <[email protected]> 1.16.2-1
- Adds RateLimitExceededException which is raised in response to 429 from the
remote host ([email protected])
- 1242057: This cert is no longer used and can be removed ([email protected])
* Thu Aug 13 2015 Alex Wood <[email protected]> 1.16.1-1
- 1247890: KeyErrors are now caught when checking manager capabilities
- Add user-agent to rhsm requests. ([email protected])
* Thu Jul 23 2015 Alex Wood <[email protected]> 1.16.0-1
- Bump to version 1.16 ([email protected])
* Fri Jul 10 2015 Chris Rog <[email protected]> 1.15.4-1
-
* Tue Jul 07 2015 Adrian Likins <[email protected]> 1.15.3-1
- Define global_ld_flags when not already defined. ([email protected])
- Adding tests for 202s from alikins/AsyncBind ([email protected])
- Updates to accomodate candlepin/virt-who/csnyder/new_report_api
- Adding jobStatus helper methods from alikins/AsyncBind ([email protected])
- HypervisorCheckIn now uses the new API, if available ([email protected])
* Mon Jun 22 2015 Chris Rog <[email protected]> 1.15.2-1
- Added releaser configuration for RHEL 7.2 ([email protected])
- Use non-deprecated Tito properties. ([email protected])
* Thu Jun 11 2015 Alex Wood <[email protected]> 1.15.1-1
- Move Python.h include to be first include ([email protected])
- 1092564: Provide LDFLAGS to setup.py to enable hardened build.
- Bump version to 1.15 ([email protected])
- Do not process proxy environment variables if host is in no_proxy
* Tue Jun 02 2015 William Poteat <[email protected]> 1.14.3-1
- 1225600: Default config entry needs to include the substitution string
- Add F22 to Fedora branches. ([email protected])
* Thu Feb 26 2015 Alex Wood <[email protected]> 1.14.2-1
- 1195446: Only set global socket timeout on RHEL 5. ([email protected])
- Cleanup up connection logging. ([email protected])
* Fri Feb 06 2015 Devan Goodwin <[email protected]> 1.14.1-1
- 976855: build_py now populates version.py with ver ([email protected])
- 1187587: Correct project URL in spec file. ([email protected])
* Fri Jan 09 2015 William Poteat <[email protected]> 1.13.10-1
- Add custom JSON encoding for set objects. ([email protected])
- Update SSL context options to follow the M2Crypto standard idiom.
* Wed Jan 07 2015 Devan Goodwin <[email protected]> 1.13.9-1
- Allow clients to report product tags. ([email protected])
* Fri Nov 21 2014 William Poteat <[email protected]> 1.13.8-1
-
* Fri Nov 07 2014 Unknown name <[email protected]> 1.13.7-1
-
* Thu Oct 23 2014 Alex Wood <[email protected]> 1.13.6-1
- 1153375: Support TLSv1.2 and v1.1 by default. ([email protected])
- Set CA PEM files permissions to 644. ([email protected])
* Thu Oct 16 2014 Devan Goodwin <[email protected]> 1.13.5-1
- Renamed the "containstext" parameter to "matches." ([email protected])
* Thu Oct 16 2014 Devan Goodwin <[email protected]> 1.13.4-1
- Added support for contains_text to UEPConnection.getPoolsList
* Fri Oct 03 2014 Alex Wood <[email protected]> 1.13.3-1
- Make more use of setup.py. ([email protected])
* Sun Sep 07 2014 Alex Wood <[email protected]> 1.13.2-1
- Remove a 2.6ism that slipped in. ([email protected])
* Thu Sep 04 2014 Alex Wood <[email protected]> 1.13.1-1
- version bump ([email protected])
* Fri Jul 25 2014 jesus m. rodriguez <[email protected]> 1.12.5-1
- 1120431: Support for complex path matching. ([email protected])
* Thu Jul 03 2014 jesus m. rodriguez <[email protected]> 1.12.4-1
- Add required bz flags to tito releasers. ([email protected])
- Remove pyqver verbose flag. ([email protected])
- Use tox.ini to setup pep8 for 'make stylish' ([email protected])
- Update pyqver setup. Set min version of 2.7. ([email protected])
- Add libcrypto to list of libs to link to. ([email protected])
* Mon Jun 16 2014 Michael Stead <[email protected]> 1.12.3-1
- Add 6.6/7.1 release targets. ([email protected])
- Add a key_path() to EntitlementCertificate ([email protected])
* Tue Jun 10 2014 Devan Goodwin <[email protected]> 1.12.2-1
- Detect when operating in container mode and load host system's config.
- Convert doc strings to sphinx/restructuredtext ([email protected])
- Add setup for using sphinx for docs. ([email protected])
* Thu Jun 05 2014 jesus m. rodriguez <[email protected]> 1.12.1-1
- bump version to 1.12 ([email protected])
- Add connection method to get available releases ([email protected])
* Mon May 26 2014 Devan Goodwin <[email protected]> 1.11.5-1
- 1090350: fix time drift detection ([email protected])
- 1096676: Use simplejson on RHEL 5. ([email protected])
- 1094492: Alternate Subject needs different type that allows more characters.
* Mon Apr 28 2014 ckozak <[email protected]> 1.11.4-1
* Thu Apr 10 2014 Alex Wood <[email protected]> 1.11.3-1
- Specifically check for brand_name/brand_type="" ([email protected])
- Support new apis for guests and hypervisors ([email protected])
* Thu Mar 20 2014 Alex Wood <[email protected]> 1.11.2-1
- Add attributes for brand_name ([email protected])
* Thu Feb 27 2014 Alex Wood <[email protected]> 1.11.1-1
- rev version to 1.11.1 ([email protected])
- removed rhel7 releaser ([email protected])
* Mon Feb 03 2014 ckozak <[email protected]> 1.10.12-1
- Add request_certs option to getEntitlementList() call ([email protected])
* Wed Jan 22 2014 ckozak <[email protected]> 1.10.11-1
- Fedora 18 is at end of life. ([email protected])
* Mon Jan 06 2014 ckozak <[email protected]> 1.10.10-1
- make sure server supports guestId data ([email protected])
* Tue Dec 17 2013 ckozak <[email protected]> 1.10.9-1
- Removing entitlement cert and key from getEntitlementList ([email protected])
- respect http(s)_proxy env variable for proxy information ([email protected])
* Wed Nov 27 2013 jesus m. rodriguez <[email protected]> 1.10.8-1
- Add the method to retrieve all the subscriptions for an owner ([email protected])
* Thu Nov 14 2013 ckozak <[email protected]> 1.10.7-1
- getOwnerInfo introduced ([email protected])
* Thu Nov 07 2013 ckozak <[email protected]> 1.10.6-1
- Fix a crash that occurs when rhsm.conf is missing ([email protected])
- Correct implementation of __eq__ for Content objects. ([email protected])
- Log ca_dir and loaded ca pems on one line. ([email protected])
- Add default full_refresh_on_yum option. ([email protected])
- Send empty JSON list when deleting all overrides. ([email protected])
- Add __hash__ method to Content classes. ([email protected])
- Add method to get all content overrides for a consumer ([email protected])
- Add methods to set and delete content overrides. ([email protected])
- 1008808: json ValueErrors have no .msg attribute ([email protected])
* Fri Oct 25 2013 ckozak <[email protected]> 1.10.5-1
- 1006748: replace simplejson with 'ourjson' ([email protected])
- Log the new requestUuid from candlepin if it is present in the response.
* Fri Oct 25 2013 ckozak <[email protected]>
- 1006748: replace simplejson with 'ourjson' ([email protected])
- Log the new requestUuid from candlepin if it is present in the response.
* Wed Oct 02 2013 ckozak <[email protected]> 1.10.3-1
- Merge pull request #89 from candlepin/alikins/flex_branding
- Change brand attr 'os' to 'brand_type' ([email protected])
- s/os_name/os ([email protected])
- add support for 'os_name' productid attribute ([email protected])
* Thu Sep 12 2013 Alex Wood <[email protected]> 1.10.2-1
- 998033: Handle 401 and 403 with no response body ([email protected])
- Ignore json errors in validate_response ([email protected])
- Add unit tests for Restlib.validate_response ([email protected])
- 1000145: Fix deprecated exception message warning. ([email protected])
* Thu Aug 22 2013 Alex Wood <[email protected]> 1.10.1-1
- 997194: fix interpolation of default values ([email protected])
- bump version to 1.10.x ([email protected])
- remove 6.5 releaser ([email protected])
* Wed Aug 14 2013 jesus m. rodriguez <[email protected]> 1.9.2-1
- remove rhel 5.9, 5.10, 6.3, 6.4 ([email protected])
- Fedora 17 is at end of life. ([email protected])
* Wed Jul 31 2013 Alex Wood <[email protected]> 1.9.1-1
- fix config failure ([email protected])
- 988476, 988085: fix default hostname, remove excess config list output
- rev master to 1.9.x ([email protected])
- add compliance date option ([email protected])
* Fri Jul 12 2013 Adrian Likins <[email protected]> 1.8.14-1
- certs check warning period ([email protected])
* Fri Jun 21 2013 Adrian Likins <[email protected]> 1.8.13-1
- Added autoheal option to updateConsumer ([email protected])
* Fri May 31 2013 jesus m. rodriguez <[email protected]> 1.8.12-1
- Update the releasers with a 6.3 ([email protected])
- 967566: Enhance the ssl bindings to expose the issuer. ([email protected])
- Update the dist-git releasers ([email protected])
* Fri May 10 2013 Devan Goodwin <[email protected]> 1.8.11-1
- Don't attach a question mark to the request if not necessary.
- Sanitize consumerId input. ([email protected])
- Add more test cases for Content.arches ([email protected])
- add 'arches' list of arches to Content object ([email protected])
- Add optional consumer to getPool. ([email protected])
* Tue May 07 2013 Devan Goodwin <[email protected]> 1.8.10-1
- Added core limit to entitlement object. ([email protected])
- Codestyle cleanup. ([email protected])
* Thu Apr 18 2013 Devan Goodwin <[email protected]> 1.8.9-1
- add note about check_path squashing '//' in paths ([email protected])
- normalizing path before checking ([email protected])
- two new candlepin API methods ([email protected])
- remove redundant \'s and slight formatting cleanup ([email protected])
- replace if "a == None" calls with if a is None ([email protected])
- Additional methods for working with owners ([email protected])
* Wed Mar 27 2013 Devan Goodwin <[email protected]> 1.8.8-1
- no 'json' module in rhel5, use simplejson instead ([email protected])
- Adding plugin directory config option. ([email protected])
* Thu Mar 07 2013 Devan Goodwin <[email protected]> 1.8.7-1
- 912776: Improve error message ([email protected])
- Add a method to get compliance status for a consumer. ([email protected])
* Mon Mar 04 2013 William Poteat <[email protected]> 1.8.6-1
- Add a get_int method to RhsmConfigParser ([email protected])
* Tue Feb 19 2013 Alex Wood <[email protected]> 1.8.5-1
- 908671: Adding pool id to entitlement certificate. ([email protected])
* Tue Feb 19 2013 Alex Wood <[email protected]>
- 908671: Adding pool id to entitlement certificate. ([email protected])
* Thu Feb 14 2013 Devan Goodwin <[email protected]> 1.8.3-1
- 907536: Don't send body if it's just "" ([email protected])
- 882459: Change --heal-interval to --attach-interval in rhsmcertd
* Thu Jan 31 2013 Bryan Kearney <[email protected]> 1.8.2-1
- Add a default value for the report_package_profile setting
- Remove F16 releasers, add F18. ([email protected])
* Thu Jan 24 2013 Devan Goodwin <[email protected]> 1.8.1-1
- Do not retrieve the value unless the match is valid ([email protected])
- Only look for a single item as it is quicker and all we care about is zero or
not zero ([email protected])
- Several small tweaks: ([email protected])
- Store off the len of the oid to save recalculating it more that once
- certificate.match will now only accept oids. ([email protected])
- Remove the use of exceptions to denote a return value of false.
- The email.utils module was named email.Utils in RHEL5 ([email protected])
- Make stylish issues resolved ([email protected])
- 772936: Warn the user when clock skew is detected. ([email protected])
- Improve logging for rhsmcertd scenarios ([email protected])
- 845622: If an identity certificate has expired, there should be a friendly
error message ([email protected])
- Add international text to test automatic JSON encoding. ([email protected])
- 880070: Adding unicode encoding hook for simplejson. ([email protected])
- 848836: Remove trailing / from the handler in UEPConnection
- 884259: If LANG is unset, do not attempt to send up a default locale in
redeem call ([email protected])
* Tue Nov 20 2012 Devan Goodwin <[email protected]> 1.8.0-1
- Reversioning to 1.8.x stream.
* Mon Nov 19 2012 Adrian Likins <[email protected]> 1.1.6-1
- Making product and order info optional for a v3 EntitlementCertificate, since
the server side will never have that data. ([email protected])
- Adding path authorization checking for both v1 and v3 entitlement
certificates ([email protected])
* Fri Nov 16 2012 Adrian Likins <[email protected]> 1.1.5-1
- Added ram_limit to certificate Order ([email protected])
* Thu Nov 01 2012 Adrian Likins <[email protected]> 1.1.4-1
- fixing a bug where certificates with carriage returns could not be parsed.
- 790481: Send up headers with the subscription-manager and python-rhsm version
info. ([email protected])
* Wed Oct 10 2012 Adrian Likins <[email protected]> 1.1.3-1
- 863961: add test case for id cert default version ([email protected])
- 857426: Do not pass None when body is empty collection ([email protected])
- 863961: set a default version for id certs ([email protected])
- 859652: Subscribe with service level being ignored ([email protected])
* Tue Sep 25 2012 Adrian Likins <[email protected]> 1.1.2-1
- add 6.4 releaser ([email protected])
* Wed Sep 19 2012 Devan Goodwin <[email protected]> 1.1.1-1
- Read certv3 detached format ([email protected])
- Read file content types from certificates ([email protected])
* Wed Aug 29 2012 Alex Wood <[email protected]> 1.0.7-1
- 851644: Only use the cert file if it exists ([email protected])
* Tue Aug 28 2012 Alex Wood <[email protected]> 1.0.6-1
- 848742: support arbitrary bit length serial numbers ([email protected])
- Stop doing F15 Fedora builds, add EL5 public builds. ([email protected])
* Thu Aug 09 2012 Alex Wood <[email protected]> 1.0.5-1
- add versionlint, requires pyqver ([email protected])
- Adding subject back to new certs ([email protected])
- 842885: add __str__ to NetworkException, ala #830767 ([email protected])
- 830767: Add __str__ method to RemoteServerException. ([email protected])
- Fix None product architectures. ([email protected])
- Remove deprecated use of DateRange.has[Date|Now] ([email protected])
- mark hasDate as deprecated as well ([email protected])
* Wed Jul 25 2012 Alex Wood <[email protected]> 1.0.4-1
- Remove unused stub method. ([email protected])
- Cleanup entitlement cert keys on delete. ([email protected])
- Drop unused quantity and flex quantity from Content. ([email protected])
- Make CertFactory and Extensions2 classes private. ([email protected])
- RHEL5 syntax fixes. ([email protected])
- Handle empty pem strings when creating certs. ([email protected])
- Remove Base64 decoding. ([email protected])
- Fix failing subjectAltName nosetest ([email protected])
- Fix up remaining compiler warnings ([email protected])
- Fix up memory leaks ([email protected])
- clean up some C module compiler warnings ([email protected])
- Fix get_all_extensions ([email protected])
- C module formatting fixups ([email protected])
- Add as_pem method to C module ([email protected])
- Revert Extensions object to old state, add new sub-class.
- Spec file changes for C module ([email protected])
- Get nosetests running ([email protected])
- tell setup.py to use nose ([email protected])
- get certv2 tests passing ([email protected])
- Move methods onto X509 class in C cert reader ([email protected])
- Add method to get all extensions in a dict ([email protected])
- Add POC C based cert reader ([email protected])
- Remove use of str.format for RHEL5. ([email protected])
- Remove some python2.6'ism (trailing if's) ([email protected])
- add "version_check" target that runs pyqver ([email protected])
- Fix error reporting on bad certs. ([email protected])
- Remove number from order/account fields. ([email protected])
- Style fixes. ([email protected])
- Certv2 cleanup. ([email protected])
- Cleanup bad padding/header cert testing. ([email protected])
- New method of parsing X509 extensions. ([email protected])
- Better cert type detection. ([email protected])
- Deprecate the old certificate module classes. ([email protected])
- Rename order support level to service level. ([email protected])
- Convert product arch to multi-valued. ([email protected])
- Add factory methods to certificate module. ([email protected])
- Parse V2 entitlement certificates. ([email protected])
- Add missing os import. ([email protected])
- Improve certificate2 error handling. ([email protected])
- Remove V1 named classes. ([email protected])
- Add cert is_expired method. ([email protected])
- Fix cert path issue. ([email protected])
- Major/minor attributes not available in 5.4 ([email protected])
- 834108: Set the default connection timeout to 1 min. ([email protected])
- Add default values to certificate2 Order class. ([email protected])
- Define identity certificates explicitly. ([email protected])
- Add identity cert support to certificate2 module. ([email protected])
- Add file writing/deleting for new certificates. ([email protected])
- Add product info to certificate2 module. ([email protected])
- Add content info to certificate2 module. ([email protected])
- Add order info to certificate2 module. ([email protected])
- Port basic certificate data into new module. ([email protected])
- Add certificate2 module and cert creation factory. ([email protected])
* Thu Jun 28 2012 Alex Wood <[email protected]> 1.0.3-1
- Update copyright dates ([email protected])
- 825952: Error after deleting consumer at server ([email protected])
* Thu Jun 07 2012 Alex Wood <[email protected]> 1.0.2-1
- add upstream server var to version obj ([email protected])
- 822057: wrap ContentConnection port in safe_int ([email protected])
- 822965: subscription-manager release does not work with proxies
- 806958: BadCertificateException not displaying properly. ([email protected])
- 822965: release verb does not work with proxies ([email protected])
- Add config for "checkcommits" ([email protected])
- Include various Makefile improvements from subscription-manager
- Upload el6 yum packages to another dir for compatability.
* Wed May 16 2012 Devan Goodwin <[email protected]> 1.0.1-1
- Add default constants for RHN connections. ([email protected])
- 813296: Remove check for candlepin_version ([email protected])
- Remove module scope eval of config properties ([email protected])
- Add call to get Candlepin status. ([email protected])
- Added access to python-rhsm/sub-man versions. ([email protected])
* Thu Apr 26 2012 Michael Stead <[email protected]> 1.0.0-1
- Updated version due to 6.3 branching. ([email protected])
* Wed Apr 04 2012 Michael Stead <[email protected]> 0.99.8-1
- 807721: Setting missing default values ([email protected])
* Fri Mar 23 2012 Michael Stead <[email protected]> 0.99.7-1
- 803773: quote international characters in activation keys before sending to
server ([email protected])
- PEP8 fixes. ([email protected])
* Wed Mar 14 2012 Michael Stead <[email protected]> 0.99.6-1
- Add ContentConnection to support rhsm "release" command ([email protected])
- Allow unsetting the consumer service level. ([email protected])
* Tue Mar 06 2012 Michael Stead <[email protected]> 0.99.5-1
- 744654: Any bad value from the config file, when converting to an int, causes
a traceback. ([email protected])
- Add support for dry-run autobind requests. ([email protected])
- Build for Fedora 17. ([email protected])
* Wed Feb 22 2012 Devan Goodwin <[email protected]> 0.99.4-1
- Add support for updating consumer service level. ([email protected])
- Add call to list service levels for an org. ([email protected])
- Add GoneException for deleted consumers ([email protected])
* Fri Jan 27 2012 Michael Stead <[email protected]> 0.99.3-1
- 785247: Update releasers.conf for RHEL6.3 ([email protected])
- Stop building for F14. ([email protected])
* Thu Jan 12 2012 Devan Goodwin <[email protected]> 0.99.2-1
- 768983: When consuming a future subsciption, the repos --list should be empty
- 720360: Write *-key.pem files out with 0600 permissions. ([email protected])
- 754425: Remove grace period logic ([email protected])
* Mon Dec 12 2011 William Poteat <[email protected]> 0.98.7-1
- 766895: Added hypervisorCheckIn call to allow sending a mapping of host/guest ids for
creation/update. ([email protected])
* Tue Dec 06 2011 William Poteat <[email protected]> 0.98.5-1
- 754366: workaround a bug in httpslib.ProxyHttpsConnection
* Thu Nov 17 2011 William Poteat <[email protected]> 0.98.3-1
- 752854: Fixing error in iniparser around unpacking of a dictionary for
default values. ([email protected])
- 708362: remove entitlement keys on delete as well ([email protected])
- 734114: registering with --org="foo bar" throws a NetworkException instead of
a RestlibException ([email protected])
* Fri Oct 28 2011 William Poteat <[email protected]> 0.98.2-1
- 749853: backport new python-rhsm API calls present in 6.2 for 5.8
- rev python-rhsm version to match sub-mgr ([email protected])
- point master to rhel5 builder ([email protected])
- fix python syntax for older versions ([email protected])
- Fix yum repo location for EL6. ([email protected])
* Mon Oct 17 2011 Devan Goodwin <[email protected]> 0.97.1-1
- 746241: UEPConnection.updateConsumer now passes empty list in POST request
- 737935: overcome 255 char limit in uuid list ([email protected])
* Tue Sep 13 2011 Devan Goodwin <[email protected]> 0.96.12-1
- Add makefile and targets for coverage and "stylish" checks
- Add tests for config parsing ([email protected])
- 736166: move certs from subscription-manager to python-rhsm
* Wed Sep 07 2011 James Bowes <[email protected]> 0.96.11-1
- add future date bind ([email protected])
- 735226: allow Keys to validate themselves ([email protected])
- Add getVirtOnly() ([email protected])
* Wed Aug 24 2011 Devan Goodwin <[email protected]> 0.96.10-1
- Submit a Content-Length when body of request is empty. ([email protected])
- Support installed products when registering. ([email protected])
- Add ability to update a consumer's installed products list.
- Support for new bind method ([email protected])
* Wed Aug 17 2011 James Bowes <[email protected]> 0.96.9-1
- self.sanitize, and add support for quote_plus. ([email protected])
- Enhance the insecure mode to not do peer checks. ([email protected])
- Wrap urllib.quote in a helper method to cast int to str as needed.
- 728266: Unsubscribe from subscription manager GUI is broken
- Remove quantity for bind by product. ([email protected])
* Wed Aug 03 2011 Devan Goodwin <[email protected]> 0.96.8-1
- 719378: Encode whitespace in urls ([email protected])
- Change package profile upload url. ([email protected])
* Wed Jul 13 2011 Devan Goodwin <[email protected]> 0.96.7-1
- Logging cleanup. ([email protected])
- Remove unused add_ssl_certs method. ([email protected])
- Load supported resources when UEPConnection is instantiated.
- Send package profile. ([email protected])
- Allow testing if package profiles equal one another. ([email protected])
- Support creating package profile from a file descriptor.
- Allow the attributes to be None for username and password in consumer
selction. ([email protected])
- Add a Package object. ([email protected])
* Wed Jul 06 2011 Devan Goodwin <[email protected]> 0.96.6-1
- Add support for new Katello error responses. ([email protected])
- Log the response when there's an issue parsing error JSON.
- Add support for registration to Katello environments. ([email protected])
- Don't send an http body if we don't have one. ([email protected])
- Add call to list environments. ([email protected])
- Do not load CA certs if in insecure mode. ([email protected])
- Cache supported resources after establishing connection.
* Fri Jun 24 2011 Devan Goodwin <[email protected]> 0.96.5-1
- Fix backward compatability with old use of getPoolsList.
- Remove one built in type issue. ([email protected])
- Removed unused Bundle class ([email protected])
- quantity for subscription ([email protected])
- Add the activation key call, and remove subscription tokens
- Improve the doco, referencing the candlepin site. ([email protected])
- Improve the defualt values for the config ([email protected])
- Fix bug with owner specification during registration. ([email protected])
* Wed Jun 08 2011 Bryan Kearney <[email protected]> 0.96.4-1
- Adding profile module and updating spec ([email protected])
- Added stacking Id to the certificate ([email protected])
- Changed call to CP for owner list ([email protected])
- added getOwners function for use with 'list --owners'
- change ([email protected])
- Added the owner entered in the cli to the post for register
- altered pool query to use both owner and consumer
- Added getOwner(consumerid) function ([email protected])
* Wed May 11 2011 Devan Goodwin <[email protected]> 0.96.3-1
- 700601: Don't set the Accept-Language if we don't have a valid locale
- 692210: remove a non critical warning message that is spamming the logs
- 691788: Fix bad check for missing order info. ([email protected])
- Add a version of get_datetime from M2Crypto since it isnt avail on RHEL 5.7
- Use older strptime call format ([email protected])
- 683550: fix parsing empty cert extensions ([email protected])
- Add support for content tagging. ([email protected])
- Use tlsv1 instead of sslv3, for fips compliance ([email protected])
* Mon Feb 14 2011 Devan Goodwin <[email protected]> 0.96.2-1
- Setup configuration for Fedora git builds. ([email protected])
* Fri Feb 04 2011 Devan Goodwin <[email protected]> 0.96.1-1
- 674078: send a full iso 8601 timestamp for activeOn pools query
* Tue Feb 01 2011 Devan Goodwin <[email protected]> 0.95.2-1
- Add content metadata expire to certificate class. ([email protected])
* Fri Jan 28 2011 Chris Duryee (beav) <[email protected]>
- Add new extensions to order ([email protected])
- remove shebang from certificate.py for rpmlint ([email protected])
- Adding activateMachine to connection api. ([email protected])
- 668814: break out 404 and 500s into a different error ([email protected])
- Initialized to use tito. ([email protected])
- bump version ([email protected])
* Wed Jan 12 2011 jesus m. rodriguez <[email protected]> 0.94.13-1
- 667829: handle proxy config options being absent from rhsm.conf ([email protected])
* Fri Jan 07 2011 Devan Goodwin <[email protected]> 0.94.12-1
- Related: #668006
- Remove a missed translation. ([email protected])
- Fix logger warning messages. ([email protected])
* Tue Dec 21 2010 Devan Goodwin <[email protected]> 0.94.10-1
- Related: #661863
- Add certificate parsing library. ([email protected])
- Fix build on F12/RHEL5 and earlier. ([email protected])
* Fri Dec 17 2010 jesus m. rodriguez <[email protected]> 0.94.9-1
- add comment on how to generate source tarball ([email protected])
* Fri Dec 17 2010 Devan Goodwin <[email protected]> 0.94.8-1
- Adding GPLv2 license file. ([email protected])
* Fri Dec 17 2010 Devan Goodwin <[email protected]> 0.94.7-1
- Related: #661863
- Add buildrequires for python-setuptools.
* Thu Dec 16 2010 Devan Goodwin <[email protected]> 0.94.4-1
- Add python-rhsm tito.props. ([email protected])
* Thu Dec 16 2010 Devan Goodwin <[email protected]> 0.94.3-1
- Refactor logging. ([email protected])
- Add a small README. ([email protected])
* Tue Dec 14 2010 Devan Goodwin <[email protected]> 0.94.2-1
- Remove I18N code. ([email protected])
- Spec cleanup. ([email protected])
- Cleaning out unused log parsing functions ([email protected])
- More tolerant with no rhsm.conf in place. ([email protected])
- Switch to python-iniparse. ([email protected])
* Fri Dec 10 2010 Devan Goodwin <[email protected]> 0.94.1-1
- Initial package tagging.