FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Infrastructure

 
 
LinkBack Thread Tools
 
Old 08-18-2010, 04:01 AM
Sijis Aviles
 
Default Change Request: Have fedoracommunity.org work with genshi

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:roxy($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?

Thanks,

Sijis

[1] - http://duffy.fedorapeople.org/webdesign/fedoracommunity.org/html/16Aug2010/
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 08-18-2010, 05:12 AM
Toshio Kuratomi
 
Default Change Request: Have fedoracommunity.org work with genshi

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:roxy($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
_______________________________________________
infrastructure mailing list
infrastructure@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/infrastructure
 
Old 08-18-2010, 03:03 PM
Sijis Aviles
 
Default Change Request: Have fedoracommunity.org work with genshi

On Wed, Aug 18, 2010 at 12:12 AM, Toshio Kuratomi <a.badger@gmail.com> wrote:

> What's the risk/benefit?

The benefit would be that we can start dedicating full time on fp.o
redesign work and mark this site as done.

> Which servers does this run on?

Its runs on all the proxy servers.

> Is it very easy to revert or do you have to revert a bunch of commits in fedora-web as well if this breaks?

I'm just adding a bunch of genshi files and i would think it would be
easy to revert.

> *Is starting on the mockups time critical?

The mockups are done. We'd like to start publishing them and genshify
the site so that it can be translated.

> Can we not use staging for this?

Absolutely. In fact, that may be a better idea than what initially proposed.

> Other risk/benefit things you can think of.

Nope. I can make the changes in staging and eventually do the same in
prod after the freeze.

Thanks for bringing up staging. I overlook that environment all the time.

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

Thread Tools




All times are GMT. The time now is 10:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org