forked from pulp/pulp_rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pulp-rpm.spec
972 lines (887 loc) · 45.6 KB
/
pulp-rpm.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
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%if 0%{?rhel} == 5
%define pulp_admin 0
%define pulp_server 0
%else
%define pulp_admin 1
%define pulp_server 1
%endif
# ---- Pulp (rpm) --------------------------------------------------------------
Name: pulp-rpm
Version: 2.8.0
Release: 0.5.beta%{?dist}
Summary: Support for RPM content in the Pulp platform
Group: Development/Languages
License: GPLv2
URL: https://fedorahosted.org/pulp/
Source0: https://github.com/pulp/pulp_rpm/archive/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: rpm-python
%description
Provides a collection of platform plugins, client extensions and agent
handlers that provide RPM support.
%prep
%setup -q
%build
pushd common
%{__python} setup.py build
popd
%if %{pulp_admin}
pushd extensions_admin
%{__python} setup.py build
popd
%endif # End pulp_admin if block
pushd extensions_consumer
%{__python} setup.py build
popd
pushd handlers
%{__python} setup.py build
popd
%if %{pulp_server}
pushd plugins
%{__python} setup.py build
popd
%endif # End pulp_server if block
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_sysconfdir}/pulp
pushd common
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
%if %{pulp_admin}
pushd extensions_admin
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
mkdir -p %{buildroot}/%{_usr}/lib/pulp/admin/extensions
%endif # End pulp_admin if block
pushd extensions_consumer
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
pushd handlers
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
%if %{pulp_server}
pushd plugins
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
mkdir -p %{buildroot}/%{_usr}/lib/pulp/plugins
mkdir -p %{buildroot}/%{_var}/lib/pulp/published/yum/http
mkdir -p %{buildroot}/%{_var}/lib/pulp/published/yum/https
cp -R plugins/etc/httpd %{buildroot}/%{_sysconfdir}
cp -R plugins/etc/pulp %{buildroot}/%{_sysconfdir}
# Distribution XSD files
mkdir -p %{buildroot}/%{_usr}/share/pulp-rpm
cp -R plugins/usr/share/pulp-rpm %{buildroot}/%{_usr}/share/
%endif # End pulp_server if block
# Directories
mkdir -p %{buildroot}/%{_sysconfdir}/pki/pulp/content
mkdir -p %{buildroot}/%{_sysconfdir}/yum.repos.d
mkdir -p %{buildroot}/%{_usr}/lib/pulp/consumer/extensions
mkdir -p %{buildroot}/%{_usr}/lib/pulp/agent/handlers
# Configuration
cp -R handlers/etc/yum %{buildroot}/%{_sysconfdir}
cp -R handlers/etc/pulp %{buildroot}/%{_sysconfdir}
# Yum Plugins
cp -R handlers/usr/lib/yum-plugins %{buildroot}/%{_usr}/lib
# Ghost repository file for consumers
touch %{buildroot}/%{_sysconfdir}/yum.repos.d/pulp.repo
# Remove tests
rm -rf %{buildroot}/%{python_sitelib}/test
%clean
rm -rf %{buildroot}
# define required pulp platform version.
%global pulp_version %{version}
# ---- RPM Common --------------------------------------------------------------
%package -n python-pulp-rpm-common
Summary: Pulp RPM support common library
Group: Development/Languages
Requires: python-pulp-common = %{pulp_version}
Obsoletes: python-pulp-rpm-extension <= 2.4.0
%description -n python-pulp-rpm-common
A collection of modules shared among all RPM components.
%files -n python-pulp-rpm-common
%defattr(-,root,root,-)
%dir %{python_sitelib}/pulp_rpm
%{python_sitelib}/pulp_rpm_common*.egg-info
%{python_sitelib}/pulp_rpm/__init__.py*
%{python_sitelib}/pulp_rpm/extensions/__init__.py*
%{python_sitelib}/pulp_rpm/common/
%doc LICENSE COPYRIGHT
# ---- Plugins -----------------------------------------------------------------
%if %{pulp_server}
%package plugins
Summary: Pulp RPM plugins
Group: Development/Languages
Requires: python-pulp-rpm-common = %{pulp_version}
Requires: python-pulp-oid_validation >= 2.7.0
Requires: pulp-server = %{pulp_version}
Requires: createrepo >= 0.9.9-21
Requires: createrepo_c >= 0.4.1-1
Requires: python-rhsm >= 1.8.0
Requires: pyliblzma
Requires: python-nectar >= 1.2.1
Requires: genisoimage
Requires: m2crypto
Requires: python-lxml
%description plugins
Provides a collection of platform plugins that extend the Pulp platform
to provide RPM specific support.
%files plugins
%defattr(-,root,root,-)
%{python_sitelib}/pulp_rpm/plugins/
%{python_sitelib}/pulp_rpm/yum_plugin/
%{python_sitelib}/pulp_rpm_plugins*.egg-info
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pulp_rpm.conf
%{_usr}/share/pulp-rpm/
%{_sysconfdir}/pulp/vhosts80/rpm.conf
%defattr(-,apache,apache,-)
%{_var}/lib/pulp/published/yum/
%{_sysconfdir}/pki/pulp/content/
%doc LICENSE COPYRIGHT
%endif # End pulp_server if block
# ---- Admin Extensions --------------------------------------------------------
%if %{pulp_admin}
%package admin-extensions
Summary: The RPM admin client extensions
Group: Development/Languages
Requires: pulp-admin-client = %{pulp_version}
Requires: python-pulp-rpm-common = %{pulp_version}
%description admin-extensions
A collection of extensions that supplement and override generic admin
client capabilites with RPM specific features.
%files admin-extensions
%defattr(-,root,root,-)
%{python_sitelib}/pulp_rpm_extensions_admin*.egg-info
%{python_sitelib}/pulp_rpm/extensions/admin/
%doc LICENSE COPYRIGHT
%endif # End pulp_admin if block
# ---- Consumer Extensions -----------------------------------------------------
%package consumer-extensions
Summary: The RPM consumer client extensions
Group: Development/Languages
Requires: pulp-consumer-client = %{pulp_version}
%description consumer-extensions
A collection of extensions that supplement and override generic consumer
client capabilites with RPM specific features.
%files consumer-extensions
%defattr(-,root,root,-)
%{python_sitelib}/pulp_rpm_extensions_consumer*.egg-info
%{python_sitelib}/pulp_rpm/extensions/consumer/
%doc LICENSE COPYRIGHT
# ---- Agent Handlers ----------------------------------------------------------
%package handlers
Summary: Pulp agent rpm handlers
Group: Development/Languages
Requires: python-rhsm
Requires: python-pulp-rpm-common = %{pulp_version}
Requires: python-pulp-agent-lib = %{pulp_version}
%description handlers
A collection of handlers that provide both Linux and RPM specific
functionality within the Pulp agent. This includes RPM install, update,
uninstall; RPM profile reporting; binding through yum repository
management and Linux specific commands such as system reboot.
%files handlers
%defattr(-,root,root,-)
%{python_sitelib}/pulp_rpm_handlers*.egg-info
%{python_sitelib}/pulp_rpm/handlers/
%{_sysconfdir}/pulp/agent/conf.d/bind.conf
%{_sysconfdir}/pulp/agent/conf.d/linux.conf
%{_sysconfdir}/pulp/agent/conf.d/rpm.conf
%ghost %{_sysconfdir}/yum.repos.d/pulp.repo
%doc LICENSE COPYRIGHT
# ---- YUM Plugins -------------------------------------------------------------
%package yumplugins
Summary: Yum plugins supplementing in Pulp consumer operations
Group: Development/Languages
Requires: yum
Requires: python-rhsm >= 1.8.0
Requires: python-pulp-bindings = %{pulp_version}
%description yumplugins
A collection of yum plugins supplementing Pulp consumer operations.
%files yumplugins
%defattr(-,root,root,-)
%{_sysconfdir}/yum/pluginconf.d/pulp-profile-update.conf
%{_usr}/lib/yum-plugins/pulp-profile-update.py*
%doc LICENSE COPYRIGHT
%changelog
* Thu Jan 28 2016 Dennis Kliban <[email protected]> 2.8.0-0.4.beta
- Pulp rebuild
* Tue Jan 19 2016 Dennis Kliban <[email protected]> 2.8.0-0.3.beta
- Pulp rebuild
* Wed Jan 13 2016 Dennis Kliban <[email protected]> 2.8.0-0.2.beta
- Pulp rebuild
* Mon Jan 11 2016 Dennis Kliban <[email protected]> 2.8.0-0.1.beta
- 1264 - UnicodeEncodeError while synchronizing Fedora 21 and 22 updates
* Tue Feb 10 2015 Chris Duryee <[email protected]> 2.6.0-0.7.beta
- Pulp rebuild
* Tue Feb 10 2015 Chris Duryee <[email protected]> 2.6.0-0.6.beta
- 1147073 - when a distribution hasn't changed, sync no longer re-donwnloads
its files ([email protected])
* Fri Jan 16 2015 Chris Duryee <[email protected]> 2.6.0-0.5.beta
- 1175616 - Don't index the title field of erratum due to max mongo index size.
- 1176698 - Ensure we support Python 2.6 when encoding unicode
* Tue Jan 13 2015 Chris Duryee <[email protected]> 2.6.0-0.4.beta
- Pulp rebuild
* Mon Jan 12 2015 Chris Duryee <[email protected]> 2.6.0-0.3.beta
- 1171278 - allow pulp-admin to print all packages associated with errata
- 1171278 - update erratum when a new packagelist is encountered
* Tue Dec 23 2014 Chris Duryee <[email protected]> 2.6.0-0.2.beta
- 1175818 - Fix failure on Errata with missing "sum" ([email protected])
- 1171280 - ensure packages are available when calculating applicability
- 972880 - The ISO importer now checks all ISO units before downloading new
content. ([email protected])
- 11157852 - Convert timestamp values in the repomd to integers from floats
- 1165355 - Sanitize checksum types. ([email protected])
- 1158945 - Pulp can now publish RPM packages with descriptions containing
unicode characters. ([email protected])
- 1168602 - fix missing /usr/share/pulp-rpm/pulp_distribution.xsd in the spec
file ([email protected])
- 1151485 - fixing a typo in 2.4 release notes documentation
* Mon Dec 22 2014 Randy Barlow <[email protected]> 2.5.2-0.1.rc
- Pulp rebuild
* Fri Dec 19 2014 Randy Barlow <[email protected]> 2.5.2-0.0.beta
- 1175818 - Fix failure on Errata with missing "sum" ([email protected])
- 1171280 - ensure packages are available when calculating applicability
- 1151485 - fixing a typo in 2.4 release notes documentation
* Wed Dec 10 2014 Barnaby Court <[email protected]> 2.5.1-1
- 11157852 - Convert timestamp values in the repomd to integers from floats
- 1165355 - Sanitize checksum types. ([email protected])
- 1168602 - fix missing /usr/share/pulp-rpm/pulp_distribution.xsd in the spec
file ([email protected])
- 1165355 - Sanitize checksum types. ([email protected])
- 1148937 - Repo group publish fails when there are no repo members in the
group ([email protected])
- 1146294 - do not import pulp.bindings.server to get DEFAULT_CA_PATH
- 1073155 - fix permissions in dev setup script ([email protected])
- 1155192 - Fix certificate verification error when set to False
- 1153378 - remove SSLInsecureRenegotation from pulp_rpm.conf
- 1151490 - Repo group publish fails with NoneType error ([email protected])
- 1138475 - yum distributor now always includes "description" element for
errata ([email protected])
* Thu Nov 06 2014 asmacdo <[email protected]> 2.5.0-0.17.rc
- 1155192 - Fix certificate verification error when set to False
- 1153378 - remove SSLInsecureRenegotation from pulp_rpm.conf
- 1151490 - Repo group publish fails with NoneType error ([email protected])
- 1138475 - yum distributor now always includes "description" element for
errata ([email protected])
* Fri Oct 31 2014 Austin Macdonald <[email protected]> 2.5.0-0.15.rc
- 1150297 - Replace 2.4.x versions with 2.5.0. ([email protected])
- 1103232 - Document importer settings. ([email protected])
* Thu Oct 16 2014 Randy Barlow <[email protected]> 2.4.3-1
- 1103232 - Document importer settings. ([email protected])
* Mon Oct 13 2014 Chris Duryee <[email protected]> 2.4.2-1
- 1150714 - delete old distribution units when syncing ([email protected])
* Sun Oct 12 2014 Chris Duryee <[email protected]> 2.5.0-0.8.beta
- 1150714 - delete old distribution units when syncing ([email protected])
- 1049492 - Add docs for the yum_repo_metadata_file. ([email protected])
- 1139888 - Document the default for validate. ([email protected])
- 1131260 - Add verify_ssl to repo_auth.conf. ([email protected])
- 1125388 - ensure we save storage_path when saving units ([email protected])
- 1126960 - support the xml:base attribute on rpm packages in the primary.xml
for delineating an alternate base location during RPM sync
- 1130305 - Document workaround for when migration 3 updates fail.
- 1130305 - Document workaround for when migration 3 updates fail.
- 1022553 - The 'pulp-admin rpm consumer unbind' command now reports a missing
binding in a more friendly way ([email protected])
- 1130305 - Document workaround for when migration 3 updates fail.
- 1127298 - Alternate Content sources needs to wrap the nectar listener in a
container listener. ([email protected])
- 1127793 - The checksum is now saved to the distributor only if explicitly
provided ([email protected])
- 1128292 - Specify the default attribute on generated package group xml. This
fixes a bug where the graphical installer failed to select a default option
on RHEL 6 if we do not specify a default. ([email protected])
- 1101566 - unit_metadata is now optional for the yum import upload
- 1108306 - Adjust the location tag in the primary xml snippet during repo
sync. This was previously only done during upload. ([email protected])
- 1118501 - updating logic to form consumer profile lookup table with the
newest rpm, so that in case of multiple packages with same name and arch,
applicability logic does not fail ([email protected])
* Tue Sep 23 2014 Randy Barlow <[email protected]> 2.4.1-1
- 1131260 - Add verify_ssl to repo_auth.conf. ([email protected])
- 1135144 - certificate verified by apache. ([email protected])
- 1130312 - Add release notes for 2.4.1. ([email protected])
- 1131260 - use platform openssl for certificate verification.
- 1118501 - updating logic to form consumer profile lookup table with the
newest rpm, so that in case of multiple packages with same name and arch,
applicability logic does not fail ([email protected])
* Sat Aug 09 2014 Randy Barlow <[email protected]> 2.4.0-1
- 1121264 - correcting the documentation for max_speed ([email protected])
- 1116060 - Fix handling of failed package installs. ([email protected])
- 1097816 - adding "gpgkey" as a valid distributor config value
- 1111322 - Fix client side error trying to update iso repo ([email protected])
- 1099771 - Add a unit test to assert correct behavior for reporting invalid
checksums. ([email protected])
- 973784 - improving performance of depsolve ([email protected])
- 1107117 - Viewing the details of an erratum using "pulp-admin rpm repo
content errata --repo-id=<Repo ID> --erratum-id=<errata id>" now behaves as
expected ([email protected])
- 1101622 - Erratum uploads from pulp-admin now stop when malformed csv files
are found ([email protected])
- 995082 - 'pulp-admin rpm repo list --details' now displays all distributors
attached to a repository ([email protected])
- 1104839 - pulp no longer creates a prestodelta.xml file if there are no DRPMs
to publish ([email protected])
- 1099600 - fix treeinfo files during upgrades ([email protected])
- 1097790 - check task details of erratum upload to determine if task succeeded
- 1102377 - generating listing files during repo publish ([email protected])
- 1100027 - eliminating race condition during listing file generation
- 1101168 - use metadata when computing RPM filename ([email protected])
- 1100848 - Only hand strings to ElementTree. ([email protected])
- 1082386 - Added better logging detail to yum syncs. ([email protected])
- 1095332 - updated the position of checking for existing units and associating
them with repo, so that the progress calculations are not affected
- 1094498 - Added logic to re-download rpms, drpms and srpms that don't exist
on disk during synchronization ([email protected])
- 1096931 - improving repo update command to better detect spawned tasks
- 1051700 - Don't build plugins or admin extensions on RHEL 5.
- 1099236 - add Obsoletes for python-pulp-rpm-extension ([email protected])
- 1098844 - updating yum distributor to publish rpms at the same level as
repodata directory and not as per relative path of each unit
- 1095437 - convert checksum-type keyword to checksum_type ([email protected])
- 1042932 - Update to use the step processor for exporting repos and repo
groups ([email protected])
- 1097434 - The profile translates erratum to rpm unit keys.
- 1097813 - post-upload linking of errata to rpms now works
- 1095829 - strip repomd.xml from treeinfo when appropriate
- 1096931 - removed CLI's attempt to display data that no longer exists
- 1093429 - Changing parameter name for repo create due to API change
- 1080455 - fixing rendering error in pulp-consumer bind and unbind commands
- 1094404 - Fix to not delete all repo contents accidentally.
- 1090534 - Publish the repomd.xml file. ([email protected])
- 1082245 - Fix failed task reporting in content install commands.
- 1091078 - rhui cataloger requires nectar >= 1.2.0. ([email protected])
- 1085087 - fixing yum importer so that packages are not re-downloaded for
every repository ([email protected])
- 1062725 - package install fails when requested package not available.
- 1085853 - Moved logger statement out of the for loop so that it doesn't get
printed for every rpm migrated ([email protected])
- 1065016 - Don't require optionlist to be present. ([email protected])
- 1025465 - Log all ISO download failures. ([email protected])
- 1084077 - removing python-pulp-rpm-extension from admin and consumer
extension deps as we no longer produce this rpm ([email protected])
- 1081865 - updating location element in the repomd file to include href
attribute ([email protected])
- 1083098 - Fix rpm handler loading. ([email protected])
- 973784 - refactored dependency solving workflow for performance
- 1070336 - Fix passing of the consumer group id when the --all option is used
for the "pulp-admin rpm consumer group package update ..." command
- 1067169 - Fixed the copy command so it outputs the result without crashing
- 1064594 - initializing plugin loader for migration 0015 ([email protected])
- 1042932 - Fix listings files in export distributor for both individual repos
and repo groups. ([email protected])
- 1046160 - giving up ownership of /var/lib/pulp/published
- 1053674 - implement distributor_removed on yum distributor
- 1056243 - Implement yum distributor create_consumer_payload (fix consumer
binding) ([email protected])
- 921743 - Adjust ownership and permissions for a variety of the RPM paths.
- 1034978 - Move to standard formatter for unit copy & remove extension
- 1038309 - Fix bug where distributor type was being checked against the
distributor id instead of the type id ([email protected])
- 1029057 - Save the rpm repo checksum type from the repo scratchpad to the
distributor config during a publish. ([email protected])
- 1029057 - Save the rpm repo checksum type from the repo scratchpad to the
distributor config during a publish. ([email protected])
- 1003965 - Error out of a sync if there is no feed url ([email protected])
- 995076 - make sure to call finalize on the nectar config object
- 1004580 - Add the ability to specify the checksum type when uploading rpm &
srpm units ([email protected])
- 1023188 - Create listing files in ISO export distributor ([email protected])
- 1032189 - fixed use of gettext with multiple substitutions
- 1004981 - RPM agent should support filtering packages by epoch, version,
release, and architecture when installing ([email protected])
- 924788 - Added upload SRPM command ([email protected])
- 1020460 - Fixed removing skip list from an existing repository
* Mon Nov 25 2013 Barnaby Court <[email protected]> 2.3.1-1
- 1034366 - Failure to export RPM repositories to ISO where the repository does
not have a checksum manually set. ([email protected])
- 1033776 - If scratchpad contains fields other than checksum_type then
checksum may be calculated incorrectly. ([email protected])
* Tue Nov 19 2013 Barnaby Court <[email protected]> 2.3.0-1
- 1029057 - Save the rpm repo checksum type from the repo scratchpad to the
distributor config during a publish. ([email protected])
- 1029057 - override sha with sha1 in order to support yum modifyrepo command.
- 1029057 - Set checksum for metadata from upstream repository on synced
repositories. ([email protected])
- 1026907 - Fix dep equality comparison when a release is omitted.
- 1020007 - added loading of conf file to entry point ([email protected])
- 1018235 - Docs about how a repo URL is generated. ([email protected])
- 1021672 - Ensure that if the treeinfo specifies a packagedir that the
directory is created and a link to all the packages can be found within it
- 1008010 - fixed parsing of the translated names and descriptions for groups
and categories during import ([email protected])
- 1020415 - added a workaround for a bug in yum where it neglects to encode
epochs to strings, which in rare circumstances could cause a failure to
generate updateinfo.xml ([email protected])
- 973678 - Return a report when ISO uploads are processed. ([email protected])
- 975503 - Add pulp-admin iso repo publish status command ([email protected])
- 999129 - create and use unique subdirectories for rpm and iso uploads
- 1011267 - Display checksum validation errors via the RPM command line client
- 962928 - adding repo feed validation in iso_importer to raise a more graceful
error message than random traceback ([email protected])
- 965751 - the iso importer now uses the threaded requests downloader instead
of the curl downloader ([email protected])
- 976435 - load puppet importer config from a file using a common method.
- 979589 - fixing consumer update for all packages failing with KeyError:
'resolved' ([email protected])
- 1004790 - Remove legacy dependency on Grinder that is no longer required.
- 953248 - Custom checksum on repository config was not honored.
- 973744 - when doing recursive copies, all copied units are now displayed, not
just the ones that were explicitly matched by the request.
- 972913 - adding cli validation for conditional packages when upload a package
group ([email protected])
- 973678 - Do not allow ISOs named PULP_MANIFEST to be uploaded.
- 997177 - Move uploads to the content directory instead of copying them
- 976845 - updating descriptions for iso repo sync and publish commands as both
don't support status sub-command ([email protected])
- 1004897 - Fix bug where distributor validate_config is finding relative path
conflicts with the repository that is being updated ([email protected])
- 979587 - updating consumer update command to default to all packages instead
of accepting -a flag. ([email protected])
- 979587 - updating consumer update command to default to all packages instead
of accepting -a flag ([email protected])
- 1004086 - Rename migration #11 to #7, and increment migration version #7 to
#10 by one. ([email protected])
- 1004049 - added a migration for errata that have the old "from_str" key
- 915330 - Fix performance degradation of importer and distributor
configuration validation as the number of repositories increased
- 956711 - Raise an error to the client if an attempt is made to install an
errata that does not exist in a repository bound to the consumer
- 999516 - Block plugin tests from running on RHEL 5 ([email protected])
- 999516 - Block plugin tests from running on RHEL 5 ([email protected])
- 999516 - Block plugin tests from running on RHEL 5 ([email protected])
- 999516 - Block plugin tests from running on RHEL 5 ([email protected])
- 991500 - changes with respect to updated get_repo_units conduit call to
return plugin units instead of dictionary ([email protected])
- 996625 - sync now always saves groups and categories, in case their metadata
has changed. ([email protected])
- 981782 - Add the ability to change the skip options on the rpm repo update
command ([email protected])
- 995572 - fixed a treeinfo file parsing error when dealing with treeinfo files
that do not include a "variant" value. ([email protected])
- 995096 - fixed multiple bugs in errata parsing and added a test
- 995146 - Rename one of two migrations that were sharing version 0012.
- 993452 - when uploading an RPM, the "location" tag in its generated repodata
XML is now correct. ([email protected])
- 980181 - added listing file generation on publish and unpublish
- 988919 - non-standard repo metadata files that happen to be sqlite files can
now be downloaded successfully during a sync ([email protected])
- 988005 - uploads of units that are not RPMs work again ([email protected])
- 986026 - Added a migration to upgrade conditional_package_names from v1 to
v2. ([email protected])
- 987663 - syncing of a distribution now uses a nectar factory to get the most
appropriate downloader type for a given URL, defaulting to the requests
library for HTTP. It also now uses the nectar config options that are
specified in the importer config instead of always using a default config.
- 952386 - Cleanup published files when ISODistributors are removed.
- 976579 - adding creation of Packages symlink to contents
- 975543 - Change the ISO "content" command name to "isos".
- 974590 - Handle multiple calls to copy metadata files.
- 950772 - Don't attempt state transitions away from STATE_CANCELLED.
* Mon Jul 15 2013 Jeff Ortel <[email protected]> 2.2.0-1
- 984104 - fixed a bug that caused multiple calls to group copy with the
--recursive option to fail ([email protected])
- 983323 - fixed an XML parsing incompatibility with python 2.6 where the
default XML namespace was being mishandled. ([email protected])
- 982649 - fixing a python 2.6 incompatibility which caused writing of XML for
individual packages to fail. ([email protected])
- 976042 - source RPMs are now categorized correctly as type "srpm".
- 980572 - can now import groups from comps.xml files where some groups entries
don't include a "uservisible" value, such as in a Fedora 18 repo.
- 973402 - fixed a mishandling of XML namespaces in repo metadata that led to
problems when installing packages with dependencies from a published repo.
- 976333 - Fixed importer config look up to use constant
- 976333 - Updated the relative URL calculation to use the new key for feed
- 974663 - the importer can now save repo metadata files of unknown types in
the database as units ([email protected])
- 972909 - Extract the provides/requires fields from the XML server-side.
- 973387 - fix fsize attribute error on unit install progress reporting.
- 972909 - invalid requires and provides data originally generated by the v2.1
upload workflow now gets corrected by a migration. ([email protected])
- 972911 - migration 0010 now works. Had to account for cases where a
provide/require had already been converted, and cases where encoding was non-
ASCII. ([email protected])
- 962941 - Don't use ISO names as keys in the progress report.
- 971953 - Work around to limit RAM usage during RPM removal
- 970795 - Make sure the publishing build directory is empty before publishing
ISOs. ([email protected])
- 971161 - Added distribution failed state rendering that was removed since 2.1
- 955700 - Merge commit 'ba158afb1960799fb8f0dd458f5da21dfe936507' into pulp
- 971200 - Fixed pagination of iterables so that a non-generator doesn't cause
an infinite loop. ([email protected])
- 969529 - Remove the content-unit option in addition to the type option
- 971154 - Add an uploads section with appropriate commands to the ISO CLI.
- 971167 - during repo sync, before each RPM's XML snippet from primary.xml
gets saved to the database, the <location/> tag is modified so that the href
attribute contains only the file name, and no other leading path or URL
elements. This matches the expectation that files are published at the root
of the repository. ([email protected])
- 971157 - the new yum importer can now at sync time skip the four types
mentioned in the --skip option of the pulp-admin rpm repo create command.
Those types are rpm, drpm, erratum, and distribution. ([email protected])
- 971060 - fixing copy of distributions. Also had to fix the text output of a
successful command, which was incorrectly displaying the distribution
identity. ([email protected])
- 970777 - the new importer no longer looks for the non-existant CLI option
--copy-children during a copy operation. ([email protected])
- 923334 - fix processing of task.result and restructure command to work with a
list of tasks. ([email protected])
- 955700 - Added all command to pulp-admin rpm repo copy to copy all content
units and unit tests for the same ([email protected])
- 969579 - Further corrections to the deps for yumplugins
- 969579 - The client-side yum plugins don't require the server
- 971138 - Include a missing module from my last commit. ([email protected])
- 971138 - Add a new contents command to the CLI for ISO repos.
- 970741 - Updated nectar depedency for error_msg support
- 970787 - Add a unit removal command to the ISO client. ([email protected])
- 970746 - Updated recipes for new proxy_* config names
- 970636 - Scope the fields loaded for the copy to minimize RAM.
- 970269 - making the 'id' attribute of errata references optional, since
evidence suggests that they are not present in rhel6 repos.
- 970267 - removing the use of a parameter that didn't exist in python 2.6.
Thankfully I was passing the default value anyway, so the 2.6 behavior is
what I want even without the parameter. ([email protected])
- 968535 - leverage --no-compress; need to compensate for anaconda bug related
to compressed metadata. ([email protected])
- 968543 - remove conditional in pulp_version macro. ([email protected])
- 963774 - Added the *sort_index fields to the search indexes
- 965818 - Added translation from new format for provides/requires to a more
user-friendly output ([email protected])
- 955702 - updating documentation for mirroring a repository with a valid url
and corresponding output ([email protected])
- 966178 - Added default to remove-missing ([email protected])
- 950690 - Removed copy commands that aren't supported in the plugin
- 966178 - Added default to remove-missing ([email protected])
- 959823 - splitting up a query for existing units by type, allowing each query
to limit which fields are loaded, thus reducing the memory footprint.
- 957870 - translate errata into full NEVRA package names. ([email protected])
- 956372 - fix errata installs. ([email protected])
- 954038 - minor changes to fix unit tests ([email protected])
- 954038 - minor changes to fix unit tests ([email protected])
- 954038 - minor renaming ([email protected])
- 954038 - updating rpm package profiler applicability api to accept unit ids
instead of unit keys ([email protected])
- 954038 - updating errata profiler applicability api for accept unit ids
instead of unit keys ([email protected])
- 887000 - leveraging new cancel report to keep cancelled state
- 924778 - Provide option to skip re-uploading existing files
- 953575 - Corrected relative_url to being a required parameter
- 950695 - Mike's going to take the presto data out of the scratch pad
entirely, so even if this test wasn't horribly broken by making a live
connection, it wouldn't be valid in another month anyway.
- 955172 - Removing rhsm from our repo and now using the regular python-rhsm
- 953665 - added the ability for copy operations to not also copy child units,
such as a group copying its RPMs. Also restricted the fetching of existing
units to their unit key fields, which reduced RAM use tremendously. Copying a
RHEL6 repo went from using about 4.3GB of RAM to < 100MB.
- 928084 - The ISOImporter now handles malformed PULP_MANIFEST files.
- 950740 - add support {?dist} in the Release: in .spec files.
- 947927 - When looking for nested elements in a copy, only check the source
repository, not all of Pulp. By nested elements I mean RPMs in a package
group or groups in a package category. ([email protected])
- 928509 - Added errata v. consumer centric applicability reports
- 949008 - Use a value of 2 for pycurl's SSL_VERIFYHOST setting instead of 1.
- 949004 - Append trailing slashes to ISO feed URLs when they lack them.
- 873313 - Very high memory usage during repo sync ([email protected])
- 923448 - made the changelog and filelist metadata migration more robust in
terms of handling non-utf8 text encoding ([email protected])
- 923351 - updating errata profiler applicability function to add errata
details to the applicability report ([email protected])
- 923794 - The error report coming out of the yum importer can't be serialized
to the database ([email protected])
- 923792 - Errata queries during sync don't properly limit returned data
- 920322 - Use import_units() inside of _import_pkg_category_unit() to ensure
that we handle package groups correctly. ([email protected])
- 919519 - Adjust documentation to reflect new export publishing location.
- 919519 - The export distributor now published to /pulp/exports instead of
/pulp/isos. ([email protected])
- 912836 - Fix disconnect between rpm repo extension and repolib with regard to
GPG.keys. ([email protected])
- 917083 - ghost pulp.repo so it's cleaned up on uninstall. ([email protected])
* Mon Mar 04 2013 Jeff Ortel <[email protected]> 2.1.0-1
- 902514 - removed the <VirtualHost *:80> block in favor of using the
platform's authoritative one. ([email protected])
- 916336 - Change the default num_threads to 4. ([email protected])
- 913172 - Fixed a section heading and added info about configuring a proxy for
global use ([email protected])
- 889565 - Corrected configuration options from being flags to options
- 905119 - Remove unused /ks alias from the pulp_rpm.conf file.
- 700945 - Include changelog and filelist info as part of rpm metadata
- 782490 - include the distributor config key as part of key list
- 876725 - minor update to effectively use details.get ([email protected])
- 782490 - pkgtags are currently ignored, skip them by default. User has a
choice to enable it in yum_distributor config ([email protected])
- 903387 - include /var/lib/pulp/published in pulp-rpm-plugins.
- 896027 - pulp-rpm-common owns site-packages/pulp_rpm directory only.
- 903262 - Added boolean parser to only-newest command
- 876725 - adding support for best effort install of content and unit tests
- 894467 - Fixed incorrect validation for proxy port ([email protected])
- 891423 - fix pkg group and category copy ([email protected])
- 891731 - fix the metadata for uploaded rpms to remove relaptive paths from
location tags ([email protected])
- 891760 - Remove unnecessary and risky logging statements.
- 887041 - Add troubleshooting section to docs. ([email protected])
- 887032 - Added docs about how to get entitlement certificates.
- 887959 - Removing NameVirtualHost entries from plugin httpd conf files and
adding it only at one place in main pulp.conf ([email protected])
- 886240 - fixing distribution sync and publish * set the distro location when
grinder is invoked so treeinfo gets downloaded and symlinked to right
location * fix the publish to lookup treeinfo and symlink to publish location
- 886240 - yum's update_md skips updated date via xml generation, adding a
check to see if its missing and fallback to issued date instead
- 887388 - Fixed issue with non --details listing ([email protected])
- 886240 - Fixes generation of updateinfo XML if an errata spans more than 1
collection, yum will output the XML with an extra '</pkglist>' interspersed
between each <collection>. ([email protected])
- 887388 - Strip out the feed SSL info and replace with safe message
- 887368 - implement bind handler clean(). ([email protected])
- 886240 - updated comps parsing so it will auto wrap a file with GzipFile if
it ends with .gz, even if comes from 'groups' data and not 'group_gz'
- 887123 - Process --verify-feed-ssl as a boolan. ([email protected])
- 887026 - The yum distributor should not have been storing this value in
server.conf. ([email protected])
- 886986 - Default to verifying feed SSL certificates. ([email protected])
- 885264 - bump grinder requires to: 0.1.11-1. ([email protected])
- 886240 - repo sync for a repo created with a feed of /var/lib/pulp of another
repo results in less number of contents than the original repo
- 886240 - repo sync for a repo created with a feed of /var/lib/pulp of another
repo results in less number of contents than the original repo Updated logic
for pagination of package metadata ([email protected])
- 857528 - Added missing feed message to the progress report so the client sees
it ([email protected])
- 885264 - require grinder 0.1.10 ([email protected])
- 881355 - fixed errata install CLI result parsing. ([email protected])
- 882421 - moving remove() method into the platform library so it can be used
by other extension families ([email protected])
- 874241 - Alter the CLI help text to specify that relative_urls must match our
regex. ([email protected])
- 874241 - Allow relative URLs to have the forward slash character.
- 874241 - Only allow alphanumerics, underscores, and dashes in the
relative_url. ([email protected])
- 876637 - adding validation for empty feed url ([email protected])
- 881932 - updated bind/unbind output. ([email protected])
- 880441 - Ported over group commands from builtins (temporary hack for 2.0)
- 880391 - added remove distribution cli command ([email protected])
- 877161 - importer side of changes to orphan distribution units
- 877047 - if a file already exists, do not try to create a symlink
- 881639 - fix error message when binding does not exist. ([email protected])
- 869099 - fix to the plugin progress callback so delta rpm progress doesnt
override rpm progress ([email protected])
- 866491 - Translate bad data property name into CLI flag
- 858855 - Directory created at runtime but included here so that it's cleaned
up when rpm plugins are uninstalled. ([email protected])
- 862290 - Added support for non-RPM repo listing ([email protected])
- 878548 - Added empty conf files for the plugins in case we need to tell users
to edit them in the future. I'd have liked to add comments about possible
values, but comments aren't supported in JSON. ([email protected])
- 877488 - Removing publish schedules section ([email protected])
- 873419 - searching for RPMs with the --details flag works properly again
- 876260 - Fixed the export_distributor removal fix ([email protected])
- 875163 - Remove the export distributor from being displayed in --details
- 875163 - use group as the xml filename when generating comps so modifyrepo
uses that as type id which yum expects ([email protected])
* Thu Dec 20 2012 Jeff Ortel <[email protected]> 2.0.6-1
- 887959 - Removing NameVirtualHost entries from plugin httpd conf files and
adding it only at one place in main pulp.conf ([email protected])
- 886240 - fixing distribution sync and publish * set the distro location when
grinder is invoked so treeinfo gets downloaded and symlinked to right
location * fix the publish to lookup treeinfo and symlink to publish location
- 886240 - yum's update_md skips updated date via xml generation, adding a
check to see if its missing and fallback to issued date instead
- 887388 - Fixed issue with non --details listing ([email protected])
- 886240 - Fixes generation of updateinfo XML if an errata spans more than 1
collection, yum will output the XML with an extra '</pkglist>' interspersed
between each <collection>. ([email protected])
- 887388 - Strip out the feed SSL info and replace with safe message
- 887368 - implement bind handler clean(). ([email protected])
- 886240 - updated comps parsing so it will auto wrap a file with GzipFile if
it ends with .gz, even if comes from 'groups' data and not 'group_gz'
- 887123 - Process --verify-feed-ssl as a boolan. ([email protected])
- 887026 - The yum distributor should not have been storing this value in
server.conf. ([email protected])
- 886986 - Default to verifying feed SSL certificates. ([email protected])
- 885264 - bump grinder requires to: 0.1.11-1. ([email protected])
- 886240 - repo sync for a repo created with a feed of /var/lib/pulp of another
repo results in less number of contents than the original repo
- 886240 - repo sync for a repo created with a feed of /var/lib/pulp of another
repo results in less number of contents than the original repo Updated logic
for pagination of package metadata ([email protected])
- 857528 - Added missing feed message to the progress report so the client sees
it ([email protected])
- 885264 - require grinder 0.1.10 ([email protected])
- 881355 - fixed errata install CLI result parsing. ([email protected])
- 882421 - moving remove() method into the platform library so it can be used
by other extension families ([email protected])
- 874241 - Alter the CLI help text to specify that relative_urls must match our
regex. ([email protected])
- 874241 - Allow relative URLs to have the forward slash character.
- 874241 - Only allow alphanumerics, underscores, and dashes in the
relative_url. ([email protected])
- 876637 - adding validation for empty feed url ([email protected])
- 881932 - updated bind/unbind output. ([email protected])
- 880441 - Ported over group commands from builtins (temporary hack for 2.0)
- 880391 - added remove distribution cli command ([email protected])
- 877161 - importer side of changes to orphan distribution units
- 877047 - if a file already exists, do not try to create a symlink
- 881639 - fix error message when binding does not exist. ([email protected])
- 869099 - fix to the plugin progress callback so delta rpm progress doesnt
override rpm progress ([email protected])
- 866491 - Translate bad data property name into CLI flag
- 858855 - Directory created at runtime but included here so that it's cleaned
up when rpm plugins are uninstalled. ([email protected])
- 862290 - Added support for non-RPM repo listing ([email protected])
- 878548 - Added empty conf files for the plugins in case we need to tell users
to edit them in the future. I'd have liked to add comments about possible
values, but comments aren't supported in JSON. ([email protected])
- 877488 - Removing publish schedules section ([email protected])
- 873419 - searching for RPMs with the --details flag works properly again
- 876260 - Fixed the export_distributor removal fix ([email protected])
- 875163 - Remove the export distributor from being displayed in --details
- 875163 - use group as the xml filename when generating comps so modifyrepo
uses that as type id which yum expects ([email protected])
- 876174 - Migrated over missing consumer commands ([email protected])