/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch
ViewVC logotype

Contents of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0.bz10716.smecontribsvisible.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Dec 5 15:27:49 2019 UTC (4 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-yum-2_6_0-60_el7_sme, smeserver-yum-2_6_0-39_el7_sme, smeserver-yum-2_6_0-28_el7_sme, smeserver-yum-2_6_0-29_el7_sme, smeserver-yum-2_6_0-48_el7_sme, smeserver-yum-2_6_0-46_el7_sme, smeserver-yum-2_6_0-34_el7_sme, smeserver-yum-2_6_0-52_el7_sme, smeserver-yum-2_6_0-62_el7_sme, smeserver-yum-2_6_0-49_el7_sme, smeserver-yum-2_6_0-44_el7_sme, smeserver-yum-2_6_0-47_el7_sme, smeserver-yum-2_6_0-51_el7_sme, smeserver-yum-2_6_0-45_el7_sme, smeserver-yum-2_6_0-40_el7_sme, smeserver-yum-2_6_0-50_el7_sme, smeserver-yum-2_6_0-25_el7_sme, smeserver-yum-2_6_0-31_el7_sme, smeserver-yum-2_6_0-27_el7_sme, smeserver-yum-2_6_0-24_el7_sme, smeserver-yum-2_6_0-61_el7_sme, smeserver-yum-2_6_0-64_el7_sme, smeserver-yum-2_6_0-23_el7_sme, smeserver-yum-2_6_0-36_el7_sme, smeserver-yum-2_6_0-26_el7_sme, smeserver-yum-2_6_0-32_el7_sme, smeserver-yum-2_6_0-58_el7_sme, smeserver-yum-2_6_0-55_el7_sme, smeserver-yum-2_6_0-37_el7_sme, smeserver-yum-2_6_0-41_el7_sme, smeserver-yum-2_6_0-30_el7_sme, smeserver-yum-2_6_0-33_el7_sme, smeserver-yum-2_6_0-35_el7_sme, smeserver-yum-2_6_0-57_el7_sme, smeserver-yum-2_6_0-54_el7_sme, smeserver-yum-2_6_0-42_el7_sme, smeserver-yum-2_6_0-56_el7_sme, smeserver-yum-2_6_0-53_el7_sme, smeserver-yum-2_6_0-43_el7_sme, smeserver-yum-2_6_0-59_el7_sme, smeserver-yum-2_6_0-38_el7_sme, smeserver-yum-2_6_0-63_el7_sme
Changes since 1.1: +13 -0 lines
* Wed Dec 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-23.sme
- implement yum-cron [SME: 10690]
  * use yum-cron for download only (TODO)
  * yum-cron templates  (TODO)
  * update lock path (TODO)
  * setting in server-manager (TODO)
- avoid discrepancy between manager, cli and email [SME: 6940]
  * force refresh of metadata before db generation (TODO)
  * add regeneration of db after...  (TODO)
- fix There is no installed groups file [SME: 118] (TODO)
- switch to centos vault after EOL [SME: 10249]
- update http://mirrorlist.contribs.org/mirrorlist to https://mirrorlist.koozali.org/mirrorlist [SME: 9697]
- make smecontribs visible [SME: 10716]

1 diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible
2 --- smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible 2008-10-07 10:25:45.000000000 -0400
3 +++ smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/defaults/smecontribs/Visible 2019-12-04 23:36:04.946000000 -0500
4 @@ -1 +1 @@
5 -no
6 +yes
7 diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs
8 --- smeserver-yum-2.6.0.old/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs 1969-12-31 19:00:00.000000000 -0500
9 +++ smeserver-yum-2.6.0/root/etc/e-smith/db/yum_repositories/migrate/39VisibleSmeContribs 2019-12-05 10:25:47.286000000 -0500
10 @@ -0,0 +1,9 @@
11 +{
12 + for my $name ( qw(smecontribs) )
13 + {
14 + my $repo = $DB->get($name) or next;
15 + #only migrate if restore from previous SME version, we do not want to override an admin setting for current version.
16 + return unless $repo->prop('MirrorList') =~ m{/$name-[789]$};
17 + $repo->set_prop('Visible', 'yes');
18 + }
19 +}

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed