forked from pulp/pulp_rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpulp-rpm.spec
976 lines (821 loc) · 41.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
973
974
975
976
# Copyright (c) 2010 Red Hat, Inc.
#
# This software is licensed to you under the GNU General Public
# License as published by the Free Software Foundation; either version
# 2 of the License (GPLv2) or (at your option) any later version.
# There is NO WARRANTY for this software, express or implied,
# including the implied warranties of MERCHANTABILITY,
# NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
# have received a copy of GPLv2 along with this software; if not, see
# http://www.gnu.org/licenses/old-licenses/gpl-2.0
%{!?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))")}
# ---- Pulp (rpm) --------------------------------------------------------------
Name: pulp-rpm
Version: 2.4.0
Release: 0.3.alpha%{?dist}
Summary: Support for RPM content in the Pulp platform
Group: Development/Languages
License: GPLv2
URL: https://fedorahosted.org/pulp/
Source0: https://fedorahosted.org/releases/p/u/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
BuildRequires: rpm-python
%if 0%{?rhel} == 5
# RHEL-5
Requires: mkisofs
%else
# RHEL-6 & Fedora
Requires: genisoimage
%endif
%description
Provides a collection of platform plugins, client extensions and agent
handlers that provide RPM support.
%prep
%setup -q
%build
# Yum Distributor, ISO Plugins, Export Distributor
pushd pulp_rpm/src
%{__python} setup.py build
popd
# Yum Importer
pushd plugins
%{__python} setup.py build
popd
%install
rm -rf %{buildroot}
# Yum Distributor, ISO Plugins, Export Distributor
pushd pulp_rpm/src
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
pushd plugins
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
popd
# Directories
mkdir -p /srv
mkdir -p %{buildroot}/%{_sysconfdir}/pulp
mkdir -p %{buildroot}/%{_sysconfdir}/pki/pulp/content
mkdir -p %{buildroot}/%{_sysconfdir}/yum.repos.d
mkdir -p %{buildroot}/%{_usr}/lib
mkdir -p %{buildroot}/%{_usr}/lib/pulp/plugins
mkdir -p %{buildroot}/%{_usr}/lib/pulp/admin/extensions
mkdir -p %{buildroot}/%{_usr}/lib/pulp/consumer/extensions
mkdir -p %{buildroot}/%{_usr}/lib/pulp/agent/handlers
mkdir -p %{buildroot}/%{_var}/lib/pulp/published/yum/http
mkdir -p %{buildroot}/%{_var}/lib/pulp/published/yum/https
mkdir -p %{buildroot}/%{_usr}/lib/yum-plugins/
# Configuration
cp -R pulp_rpm/etc/httpd %{buildroot}/%{_sysconfdir}
cp -R pulp_rpm/etc/pulp %{buildroot}/%{_sysconfdir}
cp -R pulp_rpm/etc/yum %{buildroot}/%{_sysconfdir}
# WSGI
cp -R pulp_rpm/srv %{buildroot}
# Extensions
cp -R pulp_rpm/extensions/admin/* %{buildroot}/%{_usr}/lib/pulp/admin/extensions
cp -R pulp_rpm/extensions/consumer/* %{buildroot}/%{_usr}/lib/pulp/consumer/extensions
# Agent Handlers
cp pulp_rpm/handlers/* %{buildroot}/%{_usr}/lib/pulp/agent/handlers
# Plugins
cp -R pulp_rpm/plugins/* %{buildroot}/%{_usr}/lib/pulp/plugins
# Yum Plugins
cp -R pulp_rpm/usr/lib/yum-plugins %{buildroot}/%{_usr}/lib
# Ghost repository file for consumers
touch %{buildroot}/%{_sysconfdir}/yum.repos.d/pulp.repo
%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}
%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/__init__.py*
%{python_sitelib}/pulp_rpm/common/
%doc
# ---- RPM Extension Common ----------------------------------------------------
%package -n python-pulp-rpm-extension
Summary: The RPM extension common library
Group: Development/Languages
Requires: python-pulp-rpm-common = %{pulp_version}
Requires: rpm-python
%description -n python-pulp-rpm-extension
A collection of components shared among RPM extensions.
%files -n python-pulp-rpm-extension
%defattr(-,root,root,-)
%{python_sitelib}/pulp_rpm/extension/
%doc
# ---- Plugins -----------------------------------------------------------------
%package plugins
Summary: Pulp RPM plugins
Group: Development/Languages
Requires: python-pulp-rpm-common = %{pulp_version}
Requires: pulp-server = %{pulp_version}
Requires: createrepo >= 0.9.9-21
Requires: python-rhsm >= 1.8.0
Requires: pyliblzma
Requires: python-nectar >= 1.1.0
%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/migrations/
%{python_sitelib}/pulp_rpm/repo_auth/
%{python_sitelib}/pulp_rpm/yum_plugin/
%{python_sitelib}/pulp_rpm/plugins/
%{python_sitelib}/*.egg-info
%config(noreplace) %{_sysconfdir}/pulp/repo_auth.conf
%config(noreplace) %{_sysconfdir}/httpd/conf.d/pulp_rpm.conf
%{_usr}/lib/pulp/plugins/types/rpm_support.json
%{_usr}/lib/pulp/plugins/types/iso_support.json
%{_sysconfdir}/pulp/vhosts80/rpm.conf
%defattr(-,apache,apache,-)
%{_var}/lib/pulp/published/yum/
%{_sysconfdir}/pki/pulp/content/
%defattr(-,root,root,-)
/srv/pulp/repo_auth.wsgi
%doc
# ---- Admin Extensions --------------------------------------------------------
%package admin-extensions
Summary: The RPM admin client extensions
Group: Development/Languages
Requires: python-pulp-rpm-extension = %{pulp_version}
Requires: pulp-admin-client = %{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,-)
%{_usr}/lib/pulp/admin/extensions/rpm_admin_consumer/
%{_usr}/lib/pulp/admin/extensions/rpm_repo/
%{_usr}/lib/pulp/admin/extensions/iso/
%doc
# ---- Consumer Extensions -----------------------------------------------------
%package consumer-extensions
Summary: The RPM consumer client extensions
Group: Development/Languages
Requires: python-pulp-rpm-extension = %{pulp_version}
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,-)
%{_usr}/lib/pulp/consumer/extensions/rpm_consumer/
%doc
# ---- 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/handler/
%{_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
%{_usr}/lib/pulp/agent/handlers/bind.py*
%{_usr}/lib/pulp/agent/handlers/linux.py*
%{_usr}/lib/pulp/agent/handlers/rpm.py*
%doc
# ---- 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
%changelog
* Mon Feb 24 2014 Jeff Ortel <[email protected]> 2.4.0-0.3.alpha
- 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])
* Tue Jan 28 2014 Jeff Ortel <[email protected]> 2.4.0-0.2.alpha
- 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])
* Thu Dec 12 2013 Jeff Ortel <[email protected]> 2.4.0-0.1.alpha
- 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-0.3.beta
- 1034366 - Failure to export RPM repositories to ISO where the repository does
not have a checksum manually set. ([email protected])
* Fri Nov 22 2013 Jeff Ortel <[email protected]> 2.3.1-0.2.beta
- 1033776 - If scratchpad contains fields other than checksum_type then
checksum may be calculated incorrectly. ([email protected])
* Fri Nov 22 2013 Jeff Ortel <[email protected]> 2.3.1-0.1.beta
- Pulp rebuild
* Tue Nov 19 2013 Barnaby Court <[email protected]> 2.3.0-0.37.beta
- 1029057 - Save the rpm repo checksum type from the repo scratchpad to the
distributor config during a publish. ([email protected])
* Fri Nov 15 2013 Jeff Ortel <[email protected]> 2.3.0-0.36.beta
- Pulp rebuild
* Thu Nov 14 2013 Jeff Ortel <[email protected]> 2.3.0-0.35.beta
- Pulp rebuild
* Thu Nov 14 2013 Barnaby Court <[email protected]> 2.3.0-0.34.beta
- Pulp rebuild
* Tue Nov 12 2013 Barnaby Court <[email protected]> 2.3.0-0.33.beta
- 1029057 - override sha with sha1 in order to support yum modifyrepo command.
* Mon Nov 11 2013 Barnaby Court <[email protected]> 2.3.0-0.32.beta
- 1029057 - Set checksum for metadata from upstream repository on synced
repositories. ([email protected])
* Thu Nov 07 2013 Jeff Ortel <[email protected]> 2.3.0-0.31.beta
- Pulp rebuild
* Thu Nov 07 2013 Jeff Ortel <[email protected]> 2.3.0-0.30.beta
- 1026907 - Fix dep equality comparison when a release is omitted.
* Wed Nov 06 2013 Jeff Ortel <[email protected]> 2.3.0-0.29.beta
- Pulp rebuild
* Wed Nov 06 2013 Jeff Ortel <[email protected]> 2.3.0-0.28.beta
- 1020007 - added loading of conf file to entry point ([email protected])
* Fri Nov 01 2013 Jeff Ortel <[email protected]> 2.3.0-0.27.beta
- Pulp rebuild
* Tue Oct 29 2013 Jeff Ortel <[email protected]> 2.3.0-0.26.beta
- Pulp rebuild
* Mon Oct 28 2013 Jeff Ortel <[email protected]> 2.3.0-0.25.beta
- 1018235 - Docs about how a repo URL is generated. ([email protected])
* Wed Oct 23 2013 Jeff Ortel <[email protected]> 2.3.0-0.24.beta
- 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])
* Fri Oct 18 2013 Jeff Ortel <[email protected]> 2.3.0-0.23.beta
- 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])
* Wed Oct 16 2013 Jeff Ortel <[email protected]> 2.3.0-0.22.beta
- Pulp rebuild
* Tue Oct 15 2013 Jeff Ortel <[email protected]> 2.3.0-0.21.beta
- 973678 - Return a report when ISO uploads are processed. ([email protected])
* Mon Oct 14 2013 Jeff Ortel <[email protected]> 2.3.0-0.20.beta
- Pulp rebuild
* Fri Oct 11 2013 Jeff Ortel <[email protected]> 2.3.0-0.19.beta
- Pulp rebuild
* Thu Oct 10 2013 Jeff Ortel <[email protected]> 2.3.0-0.18.beta
- 975503 - Add pulp-admin iso repo publish status command ([email protected])
- 999129 - create and use unique subdirectories for rpm and iso uploads
* Wed Oct 02 2013 Jeff Ortel <[email protected]> 2.3.0-0.17.beta
- 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])
* Thu Sep 26 2013 Jeff Ortel <[email protected]> 2.3.0-0.16.alpha
- 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.
* Thu Sep 26 2013 Jeff Ortel <[email protected]> 2.3.0-0.15.alpha
- 979589 - fixing consumer update for all packages failing with KeyError:
'resolved' ([email protected])
* Wed Sep 18 2013 Jeff Ortel <[email protected]> 2.3.0-0.14.alpha
- Pulp rebuild
* Wed Sep 18 2013 Jeff Ortel <[email protected]> 2.3.0-0.13.alpha
- 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])
* Fri Sep 13 2013 Jeff Ortel <[email protected]> 2.3.0-0.12.alpha
- Pulp rebuild
* Thu Sep 12 2013 Jeff Ortel <[email protected]> 2.3.0-0.11.alpha
- Pulp rebuild
* Thu Sep 12 2013 Jeff Ortel <[email protected]> 2.3.0-0.10.alpha
- 973678 - Do not allow ISOs named PULP_MANIFEST to be uploaded.
* Tue Sep 10 2013 Jeff Ortel <[email protected]> 2.3.0-0.9.alpha
- 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])
* Fri Sep 06 2013 Barnaby Court <[email protected]> 2.3.0-0.8.alpha
- 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
* Fri Aug 30 2013 Barnaby Court <[email protected]> 2.3.0-0.7.alpha
- Pulp rebuild
* Thu Aug 29 2013 Jeff Ortel <[email protected]> 2.3.0-0.6.alpha
- Pulp rebuild
* Thu Aug 29 2013 Barnaby Court <[email protected]> 2.3.0-0.5.alpha
- Pulp rebuild
* Tue Aug 27 2013 Jeff Ortel <[email protected]> 2.3.0-0.4.alpha
- Pulp rebuild
* Tue Aug 27 2013 Jeff Ortel <[email protected]> 2.3.0-0.3.alpha
- 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
* Thu Aug 01 2013 Jeff Ortel <[email protected]> 2.3.0-0.2.alpha
- 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-0.21.beta
- 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])
* Tue Jul 09 2013 Jeff Ortel <[email protected]> 2.2.0-0.20.beta
- 982649 - fixing a python 2.6 incompatibility which caused writing of XML for
individual packages to fail. ([email protected])
* Mon Jul 08 2013 Jeff Ortel <[email protected]> 2.2.0-0.19.beta
- Pulp rebuild
* Wed Jul 03 2013 Jeff Ortel <[email protected]> 2.2.0-0.18.beta
- Pulp rebuild
* Wed Jul 03 2013 Jeff Ortel <[email protected]> 2.2.0-0.17.beta
- 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.
* Thu Jun 20 2013 Jeff Ortel <[email protected]> 2.2.0-0.5.beta
- 976333 - Fixed importer config look up to use constant
- 976333 - Updated the relative URL calculation to use the new key for feed
* Mon Jun 17 2013 Jeff Ortel <[email protected]> 2.2.0-0.4.beta
- 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])
* Tue Jun 11 2013 Jeff Ortel <[email protected]> 2.2.0-0.3.beta
- 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])
* Thu Jun 06 2013 Jeff Ortel <[email protected]> 2.2.0-0.2.beta
- 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])
* Tue Jun 04 2013 Jeff Ortel <[email protected]> 2.2.0-0.1.beta
- 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])
* Thu May 30 2013 Jeff Ortel <[email protected]> 2.2.0-0.15.alpha
- 950690 - Removed copy commands that aren't supported in the plugin
* Fri May 24 2013 Jeff Ortel <[email protected]> 2.2.0-0.14.alpha
- 966178 - Added default to remove-missing ([email protected])
* Thu May 23 2013 Jeff Ortel <[email protected]> 2.2.0-0.13.alpha
- Pulp rebuild
* Thu May 23 2013 Jeff Ortel <[email protected]> 2.2.0-0.12.alpha
- Pulp rebuild
* Tue May 21 2013 Jeff Ortel <[email protected]> 2.2.0-0.11.alpha
- Pulp rebuild
* Mon May 20 2013 Jeff Ortel <[email protected]> 2.2.0-0.10.alpha
- Pulp rebuild
* Mon May 20 2013 Jeff Ortel <[email protected]> 2.2.0-0.9.alpha
- Pulp rebuild
* Fri May 17 2013 Jeff Ortel <[email protected]> 2.2.0-0.8.alpha
- Pulp rebuild
* Mon May 13 2013 Jeff Ortel <[email protected]> 2.2.0-0.5.alpha
- Pulp rebuild
* Mon May 13 2013 Jeff Ortel <[email protected]> 2.2.0-0.3.alpha
- 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
* Fri Apr 19 2013 Jeff Ortel <[email protected]> 2.2.0-0.2.alpha
- 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.
* Fri Apr 12 2013 Jeff Ortel <[email protected]> 2.2.0-0.1.alpha
- 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-0.19.alpha
- 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
* Tue Feb 26 2013 Jeff Ortel <[email protected]> 2.1.0-0.18.alpha
- Pulp rebuild
* Tue Feb 26 2013 Jeff Ortel <[email protected]> 2.1.0-0.17.alpha
- Pulp rebuild
* Mon Feb 25 2013 Jeff Ortel <[email protected]> 2.1.0-0.16.alpha
- Pulp rebuild
* Fri Feb 22 2013 Jeff Ortel <[email protected]> 2.1.0-0.14.alpha
- 905119 - Remove unused /ks alias from the pulp_rpm.conf file.
* Thu Feb 21 2013 Jeff Ortel <[email protected]> 2.1.0-0.13.alpha
- Pulp rebuild
* Tue Feb 19 2013 Jeff Ortel <[email protected]> 2.1.0-0.12.alpha
- Pulp rebuild
* Thu Feb 14 2013 Jeff Ortel <[email protected]> 2.1.0-0.10.alpha
- Pulp rebuild
* Thu Feb 14 2013 Jeff Ortel <[email protected]> 2.1.0-0.9.alpha
- Pulp rebuild
* Wed Feb 13 2013 Jeff Ortel <[email protected]> 2.1.0-0.8.alpha
- Pulp rebuild
* Wed Feb 13 2013 Jeff Ortel <[email protected]> 2.1.0-0.7.alpha
- Pulp rebuild
* Tue Feb 12 2013 Jeff Ortel <[email protected]> 2.1.0-0.5.alpha
- Pulp rebuild
* Tue Feb 12 2013 Jeff Ortel <[email protected]> 2.1.0-0.4.alpha
- 700945 - Include changelog and filelist info as part of rpm metadata
* Tue Feb 05 2013 Jeff Ortel <[email protected]> 2.1.0-0.3.alpha
- Pulp rebuild
* Tue Feb 05 2013 Jeff Ortel <[email protected]> 2.1.0-0.2.alpha
- 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
* Sat Jan 19 2013 Jeff Ortel <[email protected]> 2.1.0-0.1.alpha
- 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-0.19.rc
- Pulp rebuild
* Wed Dec 19 2012 Jeff Ortel <[email protected]> 2.0.6-0.19.beta
- Pulp rebuild
* Tue Dec 18 2012 Jeff Ortel <[email protected]> 2.0.6-0.18.beta
- 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])
* Thu Dec 13 2012 Jeff Ortel <[email protected]> 2.0.6-0.17.beta
- 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])
* Thu Dec 13 2012 Jeff Ortel <[email protected]> 2.0.6-0.15.beta
- 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])
* Mon Dec 10 2012 Jeff Ortel <[email protected]> 2.0.6-0.14.beta
- 885264 - require grinder 0.1.10 ([email protected])
* Fri Dec 07 2012 Jeff Ortel <[email protected]> 2.0.6-0.13.beta
- Pulp rebuild
* Thu Dec 06 2012 Jeff Ortel <[email protected]> 2.0.6-0.12.beta
- 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
* Thu Nov 29 2012 Jeff Ortel <[email protected]> 2.0.6-0.11.beta
- Pulp rebuild
* Thu Nov 29 2012 Jeff Ortel <[email protected]> 2.0.6-0.10.beta
- 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])
* Mon Nov 26 2012 Jay Dobies <[email protected]> 2.0.6-0.9.beta
- Pulp rebuild
* Tue Nov 20 2012 Jeff Ortel <[email protected]> 2.0.6-0.3.beta
- 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])
* Mon Nov 12 2012 Jeff Ortel <[email protected]> 2.0.6-0.2.beta
- Pulp rebuild
* Mon Nov 12 2012 Jeff Ortel <[email protected]> 2.0.6-0.1.beta
- Pulp rebuild