openSUSE:Code refactoring and writing tasks 2011

Jump to: navigation, search

Code refactoring and writing

< Back to main task page



Evaluating and extending spybot irc bot

The student should evaluate, adapt, document or write a factoid plugin for spybot for our openSUSE IRC channels and also import the existing factoids from SUSEHelp to the newer bot

  • Mentor:
  • Status: OPEN
  • Difficulty: Hard

Replace CSS style with CSS classes in the wiki

  • The problem: About 80 templates in the wiki contain CSS style instead of using a CSS class which will unify the styling and reduce the maintenance effort in case we want to change some styles in the whole wiki one day.
  • Background: Wiki is this http://en.opensuse.org . Styles should be moved to CSS classes, temporarily to MediaWiki:Common.css, to test how they work, and later to the bento CSS file. As student will have no admin access to server, or wiki, mentor has to take care that solutions are included in MediaWiki:Common.css and later moved to server.

Student can update templates to use new defined classes. This is even more important for templates that are used as page templates because those are copied to the new page, which means we'd have to change all pages based on this template. See Help:CSS_cleanup for more details.

This task is listed under coding, as it doesn't deal with with artwork and layout design, but coding elements that control browser behavior.

  • Time to complete: 1 weeks
  • Completed when:
    • all Template:* pages use class= instead of style=
    • a list with the exact style= code and the new CSS class name used in page templates exists
  • Mentor: Thomas Schmidt
  • Status: OPEN
  • Difficulty: Medium

Replace CSS style with CSS classes in the wiki - in each language wiki

  • The problem: Not only http://en.opensuse.org uses hardcoded style= in the templates. The other *.opensuse.org wikis in various languages have the same problem. The templates in those wikis need to be changed to use the same CSS classes as defined in the english wiki.
  • Background: This task can be started after the task "Replace CSS style with CSS classes in the wiki" (in the english wiki) is completed. You can then do the same for one or more language wikis.
  • Time to complete: 2 days per language
  • Completed when:
    • all Template:* pages use class= instead of style=
    • a list with the exact style= code and the new CSS class name used in page templates exists
  • Mentor: Thomas Schmidt
  • Status: OPEN
  • Difficulty: Medium

Add support for xz compressed archives to osc collab

The osc collab is a plugin for osc that helps people deal with their packages. One of the features is "collab update", which will download the new tarball and generate useful diffs for some files. However, due to the fact that python doesn't support xz archives by default (it will be added in the future), "collab update" doesn't work as well as it could with tarballs using the xz format.

The student will write some function to work around the lack of xz support in python, so that relevant files can be extracted and diffed.