Maintaining a Programmer Wiki [closed]

佐手、 提交于 2019-12-02 15:58:16
  • Introduction to the source base for new programmers
  • General documentation (not the API documentation per-se, but more tutorial like things)
  • Lists of staff / who's doing what and how to reach them
  • Notes / resources / articles that explain concepts used in the software
  • Documentation of the build process and the filesystem layout of the codebase

Other things I usually put up there are

  • Planning / todo lists
  • Information that is interesting for others to read
  • Everything else that I feel should be shared

We had a development wiki and it was a great tool. We used it for everything!

  • When brainstorming new ideas, we'd capture them on the wiki. The low friction nature of the wiki made it easy for anyone in the organization (we were a small startup) to add ideas as they thought of them. We had a high level "brainstorming" page which linked to detailed pages containing a thorough description of each idea.
  • For each iteration, we'd "move" feature idea items from the "brainstorming" list to the feature list for that iteration. The details of the feature were flushed out to include design and implementation details.
  • As features were completed, the iteration page became our release notes page - which also included the release tag from our version control system.
  • We had a bug page that worked very similar to the feature pages. Bug fixes were added to the iteration/release pages as they were worked on/complete.
  • We also created our user documentation on the wiki and exported those pages it with the release.

As time went on. This tool was viewed more and more valuable. We wound up creating new wikis for different the products the company was working on.

I hope you find your development wiki as useful as we did!

Wikipatterns is a website dedicated to documenting best wiki practices. They also describe anti-patterns and talk about ways to deal with them. I read their book and it was a great asset for me to get a wiki off the ground in a 150+ person organization.

One thing that we stress on our dev wiki is that it is updated when things change. We don't want our wiki that is intended to provide information and be a central source of collected knowledge to become so out of date that it is useless. As the code is updated, developers are requested to update any related information on the wiki.

Other than Coding Standards, we keep tips and tricks for working with our code base, setup information for new hires, and general environment information.

  • Burndown charts
  • common setup information for development environments (nice for when new people start)
  • Specs
  • Known issues and workarounds with development tools

Come up with some kind of style guide, and teach others how to style stuff. When I was in charge of a corporate wiki, all of the other developers would just write crummy prose that was barely formatted, and looked terrible.

Keep away from things that require discussion. I tried shoehorn in a book review section, but it was too difficult to have others comment on things.

Examples of in house libraries are good. And/or "storyboards" walking a user through a process when MethodX is called.

What are some best practices your dev team uses for its internal wiki?

Make it look nice. I know it doesn't sound important, but if you spend a little time branding it pays off in terms of people actually using it. And uptake is key, or it will just wither and die.

What information is important to have on a dev wiki?

  • General information about a Project, milestones, delivery dates etc.
  • Summaries of design decisions/meetings. Important so that you don't re-visit the same areas time and time again.
  • HowTo guides for general development of current projects (for example, how to develop a new Plugin)

If you were to go to the wiki for your dev team what information would you expect to see?

Project information, who is working on what etc. Design decisions. Also best practices and links to useful sites.

Is there some information that shouldn't go on the wiki even though it seems like a good idea?

Low-level task lists tend to fluctuate and not be kept up-to-date, and can be misleading. Also, critical communications between departments are better suited to e-mail, THEN the conversation can be copied to the wiki. It's too easy to ignore it otherwise!

Remember that a wiki is interactive. If you're thinking about publishing, as in publishing burndown charts, then you're not thinking far enough. Distributing that information is only part of it.

For instance, rather than having a "Current Burndown Chart" page, create a page for "Burndown Chart for Week of 10-27-2008" and then encourage people to comment on the chart, and what it means, and why you did so poorly that week.

The hardest part is getting developers to use your wiki. I have some long standing suggestions here: http://possibility.com/wiki/index.php?title=GettingYourWikiAdopted

Getting a Wiki Adopted is Tough

Have a Champion

Remove Objections

Create Content

Enmesh the Wiki In Company Processes

Evangelize

Don't Give Up

Consider Not Using Wiki For Conversations

Just Do It! Don't Wait For a Budget

Have a Transition Plan

Promoting Your Wiki

One good practice is to have the entire documentation and source code for each build available through your wiki. Then developers will go to wiki to access build info and that makes it invaluable.

Wikis can be a valuable resource for software development teams but they are not a silver bullet. It is all too easy to create a Wiki that would rapidly fall into disuse or become grossly outdated.

In my opinion, the key to a successful Wiki is getting the entire team on board. That means getting people away from other resources (and in particular email archives) as knowledge repositories, and offering some incentive for people to contribute.

However, it's also important to not be a format czar: If you have a lot of documents that you generate in, say, MS WORD, it may be ideal to do them all in Wiki format but that takes time and may be annoying if you have diagrams, documents, etc. In those cases, it's better to compromise and let people keep it in word format, as long as the only way to access the newest version is through the Wiki.

If you're not a manager, you need to get a manager on board because it would require some "enforcement".

There has been accumulating research and experience on Wikis and their use in software engineering. You can search the ACM digital library, for example. I am a coorganizer of an annual workshop on wikis for SE and we had several interesting experience reports and there are additional materials in the international symposium on Wikis.

We house and inhouse team wiki. And there we put all the necessary information for each project we are developing:

  • repositories
  • addresses for virtual machines
  • passwords
  • project documentations
  • project overview
  • project status

and anything else we fill needs to be written on a project. And it is the most useful web application we are running (besides Mantis) . On more general pages we put a definition of every taxonomy we are using, general project guidelines, polices, coding and developing practices we use. It is there, it is simple and effective and I think every team should have one of those.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!