Diff for /wikisrc/projects/code-in.mdwn between versions 1.27 and 1.28

version 1.27, 2012/10/13 19:43:47 version 1.28, 2012/10/13 20:12:06
Line 1 Line 1
 # Google Code-In (GCI) project ideas  # Google Code-In (GCI) project ideas
   
 Please note:  In late 2010, Google ran a program somewhat similar to  ## Introduction
 Google Summer of Code, Google Code-In, for which we applied, but were  For the application for [Google Code-In 2012](http://code.google.com/opensource/gci/2012/index.html), and as a starting point for people who want to start working on NetBSD, here is a list of tasks to be fulfilled.
 not selected.  
   
 We keep our proposed ideas on this page for further reference, or as a starting  All the tasks should be completable within hours or up to three days. To get an idea of how much a single task should be and what kind of they could be, look at [this page](http://code.google.com/p/google-code-in/wiki/GCIExampleTasks).
 point if you want to start working on NetBSD.  
   
 If you want to get more comfortable with NetBSD,  Even if you don't want to attend the Code-In, you can use this as a starting point. In most cases, the work needs some research in order to be completed. Just write a mail to one of the [mailing lists](http://www.netbsd.org/mailinglists/ you think is suiting (if you don't find any, just pick netbsd-users) and ask for more details.
 just pick one of these tasks and try doing it.  
 To meet requirements they were broken so as to allow completing one part in 2-3 days.  
   
   Previous events by Google: [Code-In 2010](http://code.google.com/opensource/gci/2010-11/index.html), [Ghop 2007](http://code.google.com/opensource/ghop/2007-8/)
   
 <http://code.google.com/opensource/gci/2010-11/index.html>  ## Goals as stated by Google
   1. **Code**: Tasks related to writing or refactoring code
   1. **Documentation/Training**: Tasks related to creating/editing documents and helping others learn more
   1. **Outreach/Research**: Tasks related to community management, outreach/marketing, or studying problems and recommending solutions
   1. **Quality Assurance**: Tasks related to testing and ensuring code is of high quality
   1. **User Interface**: Tasks related to user experience research or user interface design and interaction
   
 Google ran a similar event a couple of years ago, see <http://code.google.com/opensource/ghop/2007-8/> for details and perhaps snitch some ideas from there?  
   
 ## Goals as stated by Google  ## Proposed tasks
 1. Code: Tasks related to writing or refactoring code  
 1. Documentation: Tasks related to creating/editing documents  ### Documentation
 1. Outreach: Tasks related to community management and outreach/marketing  
 1. Quality Assurance: Tasks related to testing and ensuring code is of high quality  * **Task: Describe the format of usermgmt.conf**: The file usermgmt.conf contains default values used by user management tools (like useradd(8)). But currently, the manpage usermgmt.conf(5) contains only a description of the fields, but not the format of the file itself. So review code about what is possible (spaces, tabs, etc.) and create an EXAMPLE section.
 1. Research: Tasks related to studying a problem and recommending solutions    The file can be seen here: [usermgmt.conf(5)](http://netbsd.gw.com/cgi-bin/man-cgi?usermgmt.conf+5+NetBSD-current)  
 1. Training: Tasks related to helping others learn more    *Tags*: Documentation mdoc man
 1. Translation: Tasks related to localization  
 1. User Interface: Tasks related to user experience research or user interface design and interaction  * **Task: Create an overview of NetBSD documentation**: NetBSD has a variety of documentation stored everywhere in the web. On the one hand, there's the website with single articles, the NetBSD Guide, the pkgsrc Guide, documentation in /usr/, the NetBSD wiki, some important mailing list posts, manpages, other mdoc documents, something stored inside the code, etc.
     In an attempt to gather documentation for NetBSD and provide a nicer entry point for beginners, this task is about gathering the points where documentation lies (with the full path), what language it is written in, what it is about (just a rough overview), and how much it is.
     For the final goal, see [this mailing list post](http://mail-index.netbsd.org/netbsd-docs/2012/09/20/msg000295.html).
     If you want to do this task, get in touch with us such that we can provide you with basic information where to start.  
     *Tags*: Documentation
   
   * **Task: Howto: How to get a graphical environment on NetBSD**: NetBSD is a very sleek operating system, delivering an X server (and the mandatory twm), but nothing else. As most people don't like twm, they install another graphical environment.
     But how do you do so?
     This task is about creating a howto to install graphical environments after the installation. You should provide screenshots or screendumps (when still being on the console) and describe which configuration files have to be modified, which packages should be installed, which are there after the instalation and which can be added afterwards (special editors, etc.), and so on.
     The package light-desktop should be stressed in this documentation.  
     *Tags*: GUI howto
   
   * **Task: Howto: Configure npf**: The new NetBSD packet filter npf is a nice and well-scaling way to configure a firewall. Despite being there and functional, it does not have much documentation.
     The manpage of npf.conf(5) gives an introduction, but nothing that could be used as a howto: [npf.conf(5)](http://netbsd.gw.com/cgi-bin/man-cgi?npf.conf+5+NetBSD-current).
     The howto should contain a step-by-step introduction about how npf works, but also an introduction to the technics of npf itself: What kind of rules and tables are there, how they are applied, etc.  
     *Tags*: howto network firewall
   
   * **Task: Compare firewall solutions in NetBSD**: NetBSD has several firewall solutions on board: ipf, npf, pf, even more (you should research that).
     For the beginner, it is not clear what they are capable of, how fast they are and what their syntaxes look like.
     In this task you should research the differences of these firewalls, create some examples that do the same (so you can view them side-by-side) and provide links to further documentation.  
     *Tags*: comparison network firewall
   
   * **Task: Create an overview of the NetBSD server layout**: If you're on a NetBSD mirror, after traversing into the tree you'll see various directories that seem to do the same.
     You have to traverse the directories of a NetBSD server (ftp.netbsd.org might be the best one, as it is *the* reference), find out which directories have which meaning, and document that. In the end, you should think about a good ASCII representation of a directory tree and realize it.  
     *Tags*: research overview
   
   * **Task: Create an overview of the NetBSD releases**: As every project with release engineering, it is difficult for a beginner to know which releases are the current ones, how long will a branch be supported, what are the actual branche names and what is the actual change in a minor or in a major version, what about binary compatibility, and where can I get information all in all?
     This task is about writing a small article explaining the release engineering of NetBSD.  
     *Tags*: research overview
   
   * **Task: Create an overview of the NetBSD src layout**: There is the manpage hier(7), which describes the directory layout of a running NetBSD system.
     To make it easier for beginners to find things inside src, an equivalent document for the sources of NetBSD.
     Even if you're not fond with mdoc, researching this and gathering the information (e.g. in plain ASCII or markdown) would be a great benefit, and somebody who likes mdoc can then convert it to a system manpage.  
     *Tags*: research overview man
   
   * **Task: Howto: Update the system from binaries**: There is the new tool written in shell named sysupgrade (to be found in pkgsrc/sysutils/sysupgrade), which updates the system in binaries for you. Though it is nice, you may have reasons to not use it for an update (e.g. non-standard systems, or some components may not change).
     This is why you should document the single tasks sysupgrade does (and why) and fill it with examples, in the end creating an howto which resembles the work done by sysupgrade.
     [sysupgrade usage](http://www.netbsd.org/docs/guide/en/chap-upgrading.html)  
     *Tags*: Documentation research shell howto
   
   * **Task: Howto: Getting in touch with NetBSD**: If you have a problem, there are several ways to get in touch with NetBSD people: BSD user groups, mailing lists, IRC, problem reports... Which one is the best for which issue?
     Document the single methods for contacting others and categorize them by the task they're useful for.  
     *Tags*: Documentation howto
   
   * **Task: Howto: Install additional software in NetBSD**: With NetBSD, you have three major ways to install additional software: pkgsrc, pkg_add and pkgin.
     Which one is to use for which use case, what are their benefits, their merits? Document them, and give a small introduction of the needed tools and their usage (package installation, package deletion, package information).  
     *Tags*: Documentation howto
   
   * **Task: Howto: Dual-boot NetBSD**: Having NetBSD not only as the single operating system, even if only for trying, is a common setup.
     Of course you can dual-boot NetBSD with its internal bootloader as well as with grub and grub2.
     These possibilities should be documented, and a howto how to dual-boot NetBSD should be created, for any scenario (NetBSD installed before main OS, and main OS installed before NetBSD).  
     *Tags*: Documentation howto research
   
   * **Task: Howto: Encrypt the hard disk with NetBSD**: NetBSD has its very nice cryptographic device driver cgd. Apart from being already described in the guide: http://netbsd.org/docs/guide/en/chap-cgd.html
     An explicit howto how to do this (in short) and how to do this during the installation, is the issue of this task.
     Though cgd will be in sysinst for the next version of NetBSD, the current ones are still without, so there should be a special emphasis of how to add cgd during system installation.  
     *Tags*: Documentation howto
   
   * **Task: Howto: Running usermanagement with LDAP and Kerberos**: Having NetBSD being a server is a common setup. Additionally to all the LDAP and Kerberos setup tutorials in the web, an explicit tutorial how to use NetBSD as an LDAP and Kerberos server would be nice.
     This means you shouldn't reproduce all the other tutorials about the gory internals, but rather describe what has to be done which is NetBSD-specific (which packages have to be installed, where their configuration files lie, etc.) and just a short chapter about what is needed for the rest, with a reference to the original OpenLDAP and Heimdal/MIT documentation.  
     *Tags*: Documentation howto
   
   * **Task: Howto: Running a webserver with Apache**: As well as the aforementioned task with OpenLDAP and Kerberos, a howto what to do with Apache in NetBSD would be good.
     This should also include a reference to the already included bozohttpd, which may be suited better in some cases.  
     *Tags*: Documentation howto
   
   * **Task: Howto: Using LVM to manage your disks**: There is already a chapter about the logical volume manager in NetBSD: http://netbsd.org/docs/guide/en/chap-lvm.html
     This task is about not having a whole chapter about it, but rather a small and comprehensive howto how you would manage logical volumes with NetBSD instead of reading through the whole chapter.  
     *Tags*: Documentation howto
   
   * **Task: Document integrated tools in NetBSD**: Apart from the famous web server and ftp server choices, there are smaller ones already integrated to NetBSD, as well as other smaller tools a user should know.
     The goal is to create a comprehensive (!) list of full software packages that are already included in the base distribution.
     In the document src/doc/3RDPARTY there is already a list of imported software, but there are more tools which are NetBSD-inherent themselves or contained in a larger package that is just listed as a whole there.  
     *Tags*: Documentation overview research
   
   * **Task: Into: Disk and partition management with NetBSD**: Additionally to the gpt and mbr confusion, NetBSD has two other systems that add complexity to disk management: Disk wedges (dk(4)) and Unix disklabels (disklabel(5)).
     You should write an article that introduces the reader to these systems, how they interact, and what their use cases are.  
     *Tags*: Documentation
   
   * **Task: Compare init systems with each other**: Additional to the historical ones (SysV and BSD), systemd recently added another init system to the Unix world.
     An objective comparison of these three systems (if there are other major ones, add them, maybe upstart?) would be nice. Not in the sense of showing their features side-by-side, but simply describing how they work and how you do things yourself.
     In the end, you should have created a small article that enables anyone using one of these systems to switch to the other one just by reading this article.  
     *Tags*: Comparison research Unix
   
   * **Task: Rewrite system configuration in the guide**: January this year, we got a new configuration menu for the installer: http://mail-index.netbsd.org/tech-install/2012/01/23/msg000223.html
     The chapter in the guide about system configuration is still the old one: http://netbsd.org/docs/guide/en/chap-exinst.html#exinst-system-configuration
     Your task is to rewrite this paragraph, add a new screenshot such that it fits the new configuration menu.  
     *Tags*: Documentation howto
   
 ## Proposed areas  * **Task: Document different time structures**: We have several time structures like `time_t`, `struct timespec`, `struct timeval`, `struct tm` and so on. Document all of them as a time(5) manpage such that a programmer can see all of them at once, in comparison. As we have time zone sensitive and time zone independent representations, figuring out conversions between local time and UTC from manual pages is hard and should also be documented in that manpage.
 ### Desktop project (QA, UI, Doc)    *Prerequisites*: C coding skills (just reading)
     *Tags*: Documentation C man
   
 #### Generic desktop  
   
 Try out various desktop scenarios: KDE, GNOME, XFCE.  ### Conversion
   
 Install software, configure, document, tune.  * **Task: Convert articles from the website to wiki articles**: There are several articles on the website (like http://netbsd.org/docs/misc/index.html) which should be converted to wiki articles.
     On the way, you could separate obsolete articles from newer ones.
     Though this work could also partially be done by a tool like pandoc, the articles on the website have different format: Sometimes docbook, sometimes html, sometimes a mix of them. And pandoc doesn't result in such good results as hand-conversion might do.  
     *Tags*: Conversion wiki
   
 Make it good-looking, I mean _really_ good-looking.  * **Task: Investigate and document Markdown to PDF and text conversion**: Propose a method for converting NetBSD Guide Markdown pages into PDF and text, so that they can be delivered with releases. Note the information (description, source location, home page, build method) so that a pkgsrc package (or packages) can be built using the proposed tools (the tools chosen must be compilable for NetBSD, and other free Unix-like systems).  
     *Tags*: Markdown, NetBSD, pkgsrc
   
 Describe problems you meet, sort them out (file problem reports as necessary).  * **Task: Convert the NetBSD Guide from DocBook to Markdown**: There are already tools to convert docbook to markdown (e.g. pandoc), so they have to be applied. The results have to be checked whether they are useful, and then every chapter should be a single wiki article, with one overview, such that the user optimally doesn't see the difference between the website and the wiki guide.
     The guide: http://www.netbsd.org/docs/guide/en/index.html
     The sources: http://cvsweb.netbsd.org/bsdweb.cgi/htdocs/docs/guide/  
     *Tags*: Conversion wiki
   
 #### Home theater (QA, Doc)  * **Task: Create a pkgsrc package to get the wiki offline**: The NetBSD wiki can be fetched via cvs or rsync. As it is going to be filled up with information, you might want to have it offline.
     The goal of this task is to create a pkgsrc package which depends on the tools necessary for offline-viewing of the wiki (this could also be just the integrated if you consider Markdown readable enough) and fetches the wiki.
     All in all a simple package with few dependencies if any and one or two wrapper scripts.  
     *Tags*: Conversion wiki
   
 Try simulating music player and/or video player.  * **Task: Convert installation notes to markdown**: Currently, the installation notes as in http://ftp.netbsd.org/pub/NetBSD/NetBSD-5.1.2/i386/INSTALL.html are constructed with mdoc from distrib/notes.
     The task is to research whether it is possible to convert these articles to markdown, and, if possible, do so.
     There might be many inclusions etc. to get the original structure, but even the result of *what* has to be done without the actual conversion would be neat.  
     *Tags*: Conversion wiki research
   
 See also in embedded projects.  
   
 ### Document time and calendar formats and functions and their relations (Doc, QA)  ### Code
   
 We have "time_t", "struct timespec", "struct timeval", "struct tm", and so on.  * **Task: Add an web interface to apropos**: Last year's Google Summer Of Code project was creating a new apropos(1). Though the current version already has a web interface, adding CSS and appropriate HTML to the web interface would be nice to integrate it to other websites.
     Though the source code is written in C, C knowledge is not necessary. You just have to extract the HTML and pseudo-understand what the code around it does, i.e. in which cases the single actions are taken.
     The file which would be modified is apropos-utils.c which can be seen here: https://github.com/abhinav-upadhyay/apropos_replacement/tree/cgi  
     *Tags*: C CSS HTML Web Design
   
 Document all of them as time(5) so that one could have overview of those.  
   
 We have time zone sensitive and time zone independent representations too,  ### Outreach
 figuring out conversions between local time and UTC from manual pages is hard.  
 This is to be addressed too.  
   
 This requires some programming skills, some knowledge of C in particular.  * **Task: Compare NetBSD with other operating systems of its kind**: NetBSD is an operating system which targets people who like the cleanness of a system, and mostly already have Unix or Linux experience.
     As such, there are other operating systems which fall into the same audience as NetBSD does, which are at least Slackware, Arch Linux, Gentoo, OpenBSD, FreeBSD, DragonFly.
     This task is about researching what other distros are out there which are close to NetBSD's principles and use cases (distrowatch.org might be a good starting point), and how they are different.
     After having collected facts, maybe a simple overview of the community (what kind of people are there, what do they want?), you should create an article which lists all those and describes their differences to NetBSD.
     You could also try interviewing some people what their view of the communities and the operating systems is and try to evolve your own opinion about them all.  
     *Tags*: Research comparison distribution Unix Linux
   
   * **Task: Analyze NetBSD's users**: NetBSD is a very universal operating system. Some people run it on their 20 years old VAXen, others on their recent desktop computer or server, or on their tiny ARM box as a router.
     As the aforementioned task (which is rather about the others out there), this task is about doing an in-depth analyzation of NetBSD itself. What kind of users and what kind of developers are out there? Look at the mailing lists to get an impression about the community and the developers and what their goals are.
     This task is also about thinking about some statistical methods you could use. What data is available you could easily analyze, what are the metrics? Do other distributions have the same data available, so you could eventually run these statistics on other operating systems?
     Besides being a gci task, thinking about these statistics, you could also create a nice website analyzing distributions based on statistical methods.  
     *Tags*: Research comparison distribution unix statistics
   
   ### Marketing/User Interface
   
   * **Task: Create NetBSD wallpapers**: Currently, there are nearly no NetBSD wallpapers. The combination of beastie, the flag and the old logo (daemons on old computers), plus the very smooth NetBSD colours (orange, grey, white) should be a resource for nice wallpapers.
     If you're fine with drawing on a computer or graphical programs (like The Gimp or Photoshop), this might be a nice and very creative task for you.  
     *Tags*: Graphics marketing
   
   * **Task: Create an icon set for NetBSD - research**: To provide a nice graphical user interface, as well as prettifying the wiki and the website, having some buttons and icons would be nice.
     This task is about gathering and writing down what sizes are useful, and what kinds of icons are needed (and what they could be used for).  
     Tags: Graphics research
   
   * **Task: Create an icon set for NetBSD - graphics**: In addition to the previous task, creating those icons is still needed. You would have to think about an artwork concept, how these icons should look overall and creating the single icons that are specified.
     This task could be fulfilled multiple times, and if you succeed well, it would be nice if we could stay in touch with you about this in the future (like adding further graphics).  
     *Tags*: Graphics creativity
   
   * **Task: Create smaller NetBSD artwork**: NetBSD does not have much artwork. Except from the aforementioned wallpapers and icons sets, multiple smaller artworks would be nice as well.
     This includes drawing comics, creating a CD label, the image of a flash drive with NetBSD on it or e.g. a Beastie with a NetBSD flash drive, such things.
     If you want to do this task, even if you don't know what to do, just contact us. We can tell you some ideas what to do, and if you already have one, approve it is suited for us.  
     *Tags*: Graphics creativity
   
   ### Quality Assurance
   
   * **Task: Try out various desktop scenarios, report errors**: Modern desktop environments like Xfce, KDE, Gnome or LXDE are mostly written for Linux. As such, it is important to try them on NetBSD and report their errors. Plus, checking the ease of installation via pkgsrc - which packages have to be installed, how intuitive is their name, their installation? Everything should be as easy as possible.
     This task also refers to the task of creating a tutorial - maybe doing this first, and then creating the tutorial would be nice. The tutorial could either be updated on the fly when the reported bugs are corrected, or will be held back until the process is as easy as it should be.
     This also includes bug-checking for light-deskop, the preferred package for a NetBSD desktop.
     *Tags*: desktop quality
   
   * **Task: Make NetBSD a music or video player**: NetBSD could as well serve as a music (mpd) or video player. You have to research which packages are needed for such a use case, and document it in a tutorial.
     Ideally, create a pkgsrc meta package including all the dependencies.
     Report bugs you find on the way.
     If you 
     *Tags*: desktop quality research multimedia
   
   
   
   ## Older tasks
   
   Please try to convert these tasks, if applicable, with a nicer description to 
   the new ones.
   
 ### Embedded project (Doc, Research)  ### Embedded project (Doc, Research)
   
Line 225  Create ATF tests for a section of librar Line 375  Create ATF tests for a section of librar
 * [[!template id=man name="strtod" section="3"]], [[!template id=man name="strtol" section="3"]], [[!template id=man name="strtoul" section="3"]] and [[!template id=man name="strtoull" section="3"]]  * [[!template id=man name="strtod" section="3"]], [[!template id=man name="strtol" section="3"]], [[!template id=man name="strtoul" section="3"]] and [[!template id=man name="strtoull" section="3"]]
 * [[!template id=man name="uuid" section="3"]]  * [[!template id=man name="uuid" section="3"]]
 * (please add..)  * (please add..)
   
 ### PR projects (Code, Research)  
   
 Create a fix for PR#...  
   
 (please list any PRs that you think are easily fixable but just require a bit  
 of time that you don't have)  
   
 ### Documentation projects (Doc, Outreach)  
   
 #### Save all useful information from closed wiki.NetBSD.SE  
   
 Go over NetBSD.SE snapshot, check pages for valid and useful information,  
 move all relevant bits to to-be-official NetBSD wiki.  
   
 #### Check the Guide  
   
 Take a chapter from the NetBSD Guide and check whether it's still correct for NetBSD 6.0  
   

Removed from v.1.27  
changed lines
  Added in v.1.28


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb