Tag - websites

Entries feed - Comments feed

2013 Mar 4

Making the Fedora Websites more maintainable for easy fixing

Have you ever felt that something has to be done, that would help your day to day hacking? Lazy programmers spend time to make code that writes the code for you. Isn't that smart? Since I joined the Websites Team, I did many small improvements. And that's where I learned Python. Oh, even Git. And more.

The history

The Websites team is quite wide (45 FAS members), but only few are day to day active contributors (only 10 in a year, and 4 with 10 or more commits in 2012). But as any other active projects, we need help. For each new Fedora release, we need to update the content, make new screenshots, add languages etc.

fedora-web repo stats

There are many simple tasks which are time consuming.

And if we need to add a new feature, or fix a simple bug, there are good chances that it needs to be ported to other files. Yeah, we had plenty of duplicates which were the same original file, copied, and then modified. I am not saying that it was a bad design. It was good if the websites were all on a separate repo. Or for other obscure reasons. But sometimes, you just rewrite what you did before going to bed.

Would you go ask people to join your project if you need to maintain code like this? It was hard to understand the architecture, hard to maintain... Luckily Robert Mayr joined us, stayed, and helped us a lot.

Now, I am happy to announce:

This time is over!

Instead of having one Makefile, one httpd conf, and the python scripts and templates for each websites, all websites are now using the same files. (Ok, there could be other improvements, but make it real, release often).

Here is the summary:

  • one external contributor: Thank you Tomas Radej (we started together at FUDCon Paris 2012).
  • 73 files deleted and 10 added
  • 17183 lines removed and 2063 added

And now, it's time to update our doc and let external contributors help us with our easyfix list. Oh, we also have to update the infrastructure side which is still using 7 different language.conf files... We should make a template for that..

Thanks to all helping us in the websites! It's not only about commits on the repo. It's also through Trac reports, or mailing list answers. We have more contributors on the mailing list. That's nice.

Wanna join us?

Just read that wiki page and start right away! Or come by #fedora-websites on IRC:Freenode and get in touch! Or get to know our repo better by reading this.

2013 Jan 19

[Lawrence FUDCon] Join the Websites hackfest. You can help!

Hi guys, if you're here at FUDCon Lawrence, you could be of help to the Websites team and help them *a lot*.

Some important subjects in my mind, come join me!

  • The most interersting one, ticket #90 will reduce human errors, faster websites update at every release, improve the websites maintenance, help new people understand our websites build and therfore sponsort contributors easily. You need to know Makefiles and Python. And we *need you*!
  • It takes actually about half an hour to build hour websites, mainly taken by pulling translations from Transifex. Ticket #136 is the way to go. I need to see with the infra team how we should do that (creating a new repo, pulling cron, and doing a simple rsync or a git pull..). Will probably see that with Kevin.
  • spins.fpo does not gives the right Torrent ISO size. Comes from the Json stat file. This is ticket #165 and I'll probably speak about that with Seth.
  • We have a wierd apache(?) conf that leads our websites to be provided in a raw html format for some languages. This is ticket #139 and we definetly need the infra here as it is an old issue.

Some other ideas, depending on your willings:

  • Create static pages for fedora/join, it is bad to send people to the wiki page everytimes. John told me about this.. Let's define the content ;)
  • Clean the easyfixes? Help you joining the team? Any other subjects?

So if you want to work for a new Fedora Project project for a bit, or if you've well managed your team and they are doing your job, please join me to move forward (irc:shaiton)!!