Re: Change Request: Have fedoracommunity.org work with genshi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 17, 2010 at 11:01:54PM -0500, Sijis Aviles wrote:
> Hi,
> 
> I'm requesting this change so that we can start putting the mocked up
> site[1] together with genshi on the fedora-web repo.
> 
> ====
> diff --git a/modules/fedora-web/files/syncStatic.sh
> b/modules/fedora-web/files/syncStatic.sh
> index 9f1d8a6..f5f2005 100644
> --- a/modules/fedora-web/files/syncStatic.sh
> +++ b/modules/fedora-web/files/syncStatic.sh
> @@ -58,5 +58,6 @@ rsync -qa --delete-after --delay-updates .
> /srv/web/mirrors.fedoraproject.org/
>  popd > /dev/null
> 
>  pushd fedoracommunity.org > /dev/null
> -rsync -qa --delete-after --delay-updates . /srv/web/fedoracommunity.org/
> +make > /dev/null 2>&1
> +rsync -qa --delete-after --delay-updates out/ /srv/web/fedoracommunity.org/
>  popd > /dev/null
> diff --git a/modules/fedora-web/manifests/init.pp
> b/modules/fedora-web/manifests/init.pp
> index 5f39a7d..ba7a98b 100644
> --- a/modules/fedora-web/manifests/init.pp
> +++ b/modules/fedora-web/manifests/init.pp
> @@ -288,4 +288,15 @@ define fedora-web::fedoracommunity-org::proxy($website) {
>          notify  => Service["httpd"],
>          require => Httpd::Website[$website],
>      }
> +
> +    file { "/etc/httpd/conf.d/$website/languages.conf":
> +        owner   => "root",
> +        group   => "root",
> +        mode    => 0644,
> +        source  => "puppet:///fedora-web/fedoracommunity.org-languages.conf",
> +        notify  => Service["httpd"],
> +        require => Httpd::Website[$website],
> +    }
> +
> +
>  }
> ====
> 
> I'm also attaching the "fedoracommunity.org-languages.conf" file.
> 
> I would also make necessary changes in fedora-web.git for this to work
> correctly.
> 
> Could I get the approvals (2 +1's) needed to do this?
> 
What's the risk/benefit?  Which servers does this run on?  Is it very easy
to revert or do you have to revert a bunch of commits in fedora-web as well
if this breaks?  Is starting on the mockups time critical?  Can we not use
staging for this?

Other risk/benefit things you can think of.

-Toshio

Attachment: pgp3QXYzHqwRT.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux