After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666236 - git hooks for gnome.org and wptest.gnome.org themes
git hooks for gnome.org and wptest.gnome.org themes
Status: RESOLVED FIXED
Product: sysadmin
Classification: Infrastructure
Component: Git
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Sysadmins
GNOME Sysadmins
Depends on:
Blocks:
 
 
Reported: 2011-12-15 09:56 UTC by Allan Day
Modified: 2012-02-13 19:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allan Day 2011-12-15 09:56:38 UTC
The code for the wgo theme is held in the gnome-web-www [1] git repository. When changes are made to the theme, we have to request for the site to be manually updated from the repository. This obviously isn't very efficient.

It would be far better if a hook could be set up so that the site automatically updates when changes have been made to the gnome-web-www repo.

We also have a testing version of wgo at wptest.gnome.org. Until now, that has used the same version of the theme that is used by wgo. Obviously, we want a way to be able to test changes before they are used on the main wgo site.

Andrea has created a new branch [2] called testing that we are going to use to stage changes before putting them on the main website. It would be great if a git hook could also be set up so that wptest.gnome.org is updated when changes are made to the testing branch.

Together these two git hooks would give the web team a nice workflow for developing wgo.

[1] http://git.gnome.org/browse/gnome-web-www/

[2] http://git.gnome.org/browse/gnome-web-www/tree/theme?h=testing
Comment 1 Jeff Schroeder 2011-12-16 05:57:21 UTC
FYI: I'm working on this now.
Comment 2 Jeff Schroeder 2011-12-16 06:30:16 UTC
Due to the git server and wptest.gnome.org server being in different datacenters, it makes things a bit more complicated. I've got an idea on how to fix it, but want to run it by the rest of the sysadmin team before actually implementing it.

I'll try to chat with them and update this again tomorrow. It is getting late here and time for bed.
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2012-01-26 17:46:32 UTC
Hi, wondering the status of this.
Any specific problem? Or any alternative we could take?
Comment 4 Andrea Veri 2012-02-06 20:42:52 UTC
I took care of having this done, we have the following setup now:

1. Git branch gnome-web-www linked to www.gnome.org.

2. Git branch wptest-www linked to wptest.gnome.org

3. Git branch newstest-www linked to newstest.gnome.org

Let me know if something goes wrong.
Comment 5 Allan Day 2012-02-13 19:52:09 UTC
That's great news, thanks for all your work Andrea!