GNOME Bugzilla – Bug 666236
git hooks for gnome.org and wptest.gnome.org themes
Last modified: 2012-02-13 19:52:09 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
FYI: I'm working on this now.
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.
Hi, wondering the status of this. Any specific problem? Or any alternative we could take?
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.
That's great news, thanks for all your work Andrea!