X-Git-Url: https://projects.mako.cc/source/fspm_howto/blobdiff_plain/57bccb28ad9f1356de427fd1156afff43abddce6..8ecfa07384512fddf82fea3f8f15e40226489931:/FreeSoftwareProjectManagementHOWTO.sgml?ds=sidebyside
diff --git a/FreeSoftwareProjectManagementHOWTO.sgml b/FreeSoftwareProjectManagementHOWTO.sgml
index 19375fd..6d4bd70 100644
--- a/FreeSoftwareProjectManagementHOWTO.sgml
+++ b/FreeSoftwareProjectManagementHOWTO.sgml
@@ -17,6 +17,13 @@
+
+
+ v0.2.1
+ 10 April 2001
+ bch
+
+
@@ -43,7 +50,7 @@
and some skills in managing a software project but who are new to
the world of free software. This document is meant to act as a
guide to the non-technical aspects of free software development
- and was written to act as a crash course in the people skills that
+ and was written to be a crash course in the people skills that
aren't taught to commercial coders but that can make or break a
free software project.
@@ -63,8 +70,8 @@
Skimming through freshmeat.net provides mountains of reasons for this
HOWTO's existence--the Internet is littered with excellently
- written and useful programs that have faded away into the Universe
- of Free Software Forgottenness. This dismal scene made me ask
+ written and useful programs that have faded away into the universe
+ of free software forgottenness. This dismal scene made me ask
myself, "Why?"
@@ -186,17 +193,17 @@
- This is the initial release. It is written to be released to
- developers for critique and brainstorming and submitted to
- Hampshire College for academic credit. Please keep in mind that
- this version of the HOWTO is still in an infant stage and will be
- revised extensively before it hits the LDP.
+ This is the second pre-release of this HOWTO. It is written to be
+ released to developers for critique and brainstorming and
+ submitted to Hampshire College for academic credit. Please keep in
+ mind that this version of the HOWTO is still in an infant stage
+ and will be revised extensively before it gets publicized widely.
The latest version number of this document should always be listed
- on my webpage at
- Debian.
+ on the projects
+ homepage hosted by Debian.
@@ -228,7 +235,7 @@
- compressed postscript.
+ Compressed postscript.
@@ -250,6 +257,13 @@
In this version I have the pleasure of acknowledging:
+
+ Josh Crawford, Andy King, and Jaime Davila who all read through
+ this beast and gave me feedback that has helped me make changes
+ and improvements to this document. I can't thank you guys enough
+ for your help.
+
+
Karl Fogel, the author of Open
Source Development with CVS published by the Coriolis
@@ -262,11 +276,11 @@
some of the subjects brought up in this HOWTO and much
more. The book's
website has information on ordering the book and provides
- several translations of the chapters on CVS. I you are seriously
+ several translations of the chapters on CVS. If you are seriously
interested in running a Free Software project, you want this
book. I tried to mention Fogel in sections of this HOWTO where I
knew I was borrowing directly from his ideas. If I missed any, I'm
- sorry, and I'll try and have those fixed in future versions.
+ sorry. I'll try and have those fixed in future versions.
@@ -277,14 +291,14 @@
Also providing support material, and inspiration for this HOWTO is
Eric S. Raymond for his prolific, consistent, and carefully
- crafted arguments, Lawrence Lessig for reminding me of the
+ crafted arguments and Lawrence Lessig for reminding me of the
importance of Free Software. Additionaly, I want to thank every
user and developer involved with the Debian Project. The project
- has provided me with a home, a place to practice Free Software
+ has provided me with a home, a place to practice free software
advocacy, a place to make a difference, a place to learn from
those how have been involved with the movement much longer than I,
- and proof of a Free Software project that definitely, definitely
+ and proof of a free software project that definitely, definitely
works.
@@ -292,7 +306,7 @@
Above all, I want to thank Richard Stallman
for his work at the Free Software Foundation and for never giving
up. Stallman provides and articulates the philosophical basis that
- attracts me to Free Software and that drives me towards writing a
+ attracts me to free software and that drives me towards writing a
document to make sure it succeeds. RMS can always be emailed at
rms (at) gnu (dot) org.
@@ -311,9 +325,10 @@
hesitate to contact me to have me write a chapter, section, or
subsection or to write one yourself. I want this document to be a
product of the Free Software development process that it heralds
- and I believe that its ultimate success will be rooted in this
- fact. Please send your additions, comments and criticisms to the
- following email address : mako@debian. org.
+ and I believe that its ultimate success will be rooted in its
+ ability to do this. Please send your additions, comments, and
+ criticisms to the following email address:
+ mako@debian.org.
@@ -325,7 +340,7 @@
I know that not everyone speaks English. Translations are nice and
I'd love for this HOWTO to gain the kind of international reach
- afforded by a translated version.
+ afforded by translated versions.
@@ -350,19 +365,18 @@
fswd!starting
- With very little argument, the beginning is most difficult part of
- successful free software development. Laying a firm foundation will
- determine whether your project flourishes or withers away and
+ With very little argument, the beginning is the most difficult part
+ of successful free software development. Laying a firm foundation
+ will determine whether your project flourishes or withers away and
dies. It is also the subject that is of most immediate interest to
anyone reading this document as a tutorial.
Starting a project involves a dilemma that you as a developer must
- try and deal with: No potential user for your program is interested
- in a program that doesn't work. Simultaneously, the development
- process that you want to employ holds involvement of users as
- prerequisit to working software.
+ try and deal with: no potential user for your program is interested
+ in a program that doesn't work while the development process that
+ you want to employ holds involvement of users as imperative.
@@ -382,27 +396,27 @@
If you are reading this document, there's a good chance you
- already have an idea for a project in mind. Chances are pretty
- good, it fills in a percieved gap by doing something that no other
- free software process does or by doing something in a way the is
- unique enough to necessitate a separate project.
+ already have an idea for a project in mind. Chances are also
+ pretty good that it fills a percieved gap by doing something that
+ no other free software project does or by doing something in a way
+ that is unique enough to necessitate a brand new piece of
+ software.
Identify and articulate your idea
Eric S. Raymond writes about how free software projects start in
- his paper, The Cathedral and the Bazaar,
which
- comes as required reading for any free software development. It
- is available online
- .
+ his essay, The
+ Cathedral and the Bazaar,
which comes as required
+ reading for any free software developer. It is available online .
In The Cathedral and the Bazaar,
Raymond tells us
- that: Every good work of software starts by scratching
- a developers itch. Raymond's now widely accepted
+ that: every good work of software starts by scratching
+ a developers itch.
Raymond's now widely accepted
hypothesis is that new free software programs are written, first
and foremost, to solve a specific problem facing the developer.
@@ -410,23 +424,24 @@
If you have an idea for a program in mind, chances are good that
it targets a specific problem or itch
you want to
- see scratched. This idea is the project. Articulate it
- clearly. Write it out. Describe the problem you will attack in
- detail. The success of your project in tackling a particular
- problem will be tied to your ability to identify that problem
- early on. Find out exactly what it is that you want your project
- to do.
+ see scratched. This idea is the project.
+ Articulate it clearly. Write it out. Describe the problem you
+ will attack in detail. The success of your project in tackling a
+ particular problem will be tied to your ability to identify that
+ problem clearly early on. Find out exactly what it is that you
+ want your project to do.
- Monty Manley articles the importance of this initial step in an
- essay, Managing
- Projects the Open Source Way. As the next section will
- show, there is a lot of work that needs to
- be done before software is ready for release. Manley says,
- Beginning an OSS project properly means that a developer
- must, first and foremost, avoid writing code too soon!
+ Projects the Open Source Way. As the next section
+ will show, there is a lot of work that needs
+ to be done before software is even ready to be coded. Manley
+ says, Beginning an OSS project properly means that a
+ developer must, first and foremost, avoid writing code too
+ soon!
@@ -435,24 +450,29 @@
In evaluating your idea, you need to first ask yourself a few
- questions. Before you move any further into this HOWTO, you need
- to determine if the free software development model really is the
- right one for your project. Obviously, since the program
- scratches your itch, you are definitely interested in seeing it
- implemented in code. But, because one hacker coding in solitude
- fails to qualify as a free software development effort, you need
- to ask yourself the question: Is anybody else
- interested?
+ questions. This should happen before you move any further
+ through this HOWTO. Ask yourself: Is the free software
+ development model really is the right one for your
+ project?
+
+
+
+ Obviously, since the program scratches your itch, you are
+ definitely interested in seeing it implemented in code. But,
+ because one hacker coding in solitude fails to qualify as a free
+ software development effort, you need to ask yourself a second
+ question: Is anybody else interested?
- Sometimes the answer is a simple no. If you
- want to write a set of scripts to sort your
- MP3 collection on your machine, maybe the free
- software development model is not the best one to
- choose. However, if you want to write a set of scripts to sort
- anyone's MP3s, a free
- software project might fill a useful gap.
+ Sometimes the answer is a simple no.
If you want
+ to write a set of scripts to sort your
+ MP3 collection on your
+ machine, maybe the free software development
+ model is not the best one to choose. However, if you want to
+ write a set of scripts to sort anyone's
+ MP3s, a free software project might fill a
+ useful gap.
@@ -460,7 +480,7 @@
chances are, there is someone, somewhere, who shares your
interests and how feels the same itch.
It is the
fact that there are so many people with so many similar needs and
- desires that introduces the second major question: Has
+ desires that introduces the third major question: Has
somebody already had your idea or a reasonably similar
one?
@@ -471,7 +491,7 @@
There are places you can go on the web to try and answer the
question above. If you have experience with the free software
- community, you are probably already familiar with all of these
+ community, you are probably already familiar with many of these
sites. All of the resources listed bellow offer searching of
their databases:
@@ -479,19 +499,19 @@
- freshmeat.net:
+ freshmeat.net
freshmeat.net
describes itself as, the Web's largest index of Linux
and Open Source software
and its reputation along
these lines is totally unparalleled and unquestioned. If you
can't find it on freshmeat, its doubtful that you (or anyone
- else) will find it anywhere.
+ else) will find it at all.
- Slashdot:
+ Slashdot
Slashdot
provides News for Nerds: Stuff that Matters,
@@ -503,7 +523,7 @@
- SourceForge:
+ SourceForge
SourceForge
houses and facilitates a growing number of open source and
@@ -512,26 +532,26 @@
developers. SourceForge's software
map and new
- releases pages should be necessary stops before
+ release pages should be necessary stops before
embarking on a new free software project. SourceForge also
provides a at Code Snippet
Library which contains useful reusable chunks of code
- in an array of languaqges which can come in useful in any
+ in an array of languages which can come in useful in any
project.
- Google and Google's Linux Search:
+ Google and Google's Linux Search
Google and
Google's Linux
- Search, provide powerful web searches that may
- reveal people working on similar projects. It is not a
- catalog of software or news like freshmeat or Slashdot, but
- it is worth checking before you begin pouring your effort
- into a redundant project.
+ Search, provide powerful web searches that may reveal
+ people working on similar projects. It is not a catalog of
+ software or news like freshmeat or Slashdot, but it is worth
+ checking to make sure you aren't pouring your effort into a
+ redundant project.
@@ -542,16 +562,16 @@
Deciding to Proceed
- Once you have successful charted the terrain and have an idea
- bout what kinds of similar free software projects exist, every
+ Once you have successfully charted the terrain and have an idea
+ about what kinds of similar free software projects exist, every
developer needs to decide whether to proceed with their own
project. It is rare that a new project seeks to accomplish a
- goal that is not similar to or related to the goal of another
- project. Anyone starting a new project needs to ask themselves:
- Will the new project be duplicating work done by another
- project? Will the new project be competing for developers with
- an existing project? Can the goals of the new project be
- accomplished by adding functionality to an existing
+ goal that is not at all similar or related to the goal of
+ another project. Anyone starting a new project needs to ask
+ themselves: Will the new project be duplicating work done
+ by another project? Will the new project be competing for
+ developers with an existing project? Can the goals of the new
+ project be accomplished by adding functionality to an existing
project?
@@ -563,15 +583,16 @@
- This may be the single most difficult aspect of free software
- development for many developers but it is an essential one. It
- is easy to become fired up by an idea and be caught up in the
+ For many developers this may be the single most difficult aspect
+ of free software development but it is an essential one. It is
+ easy to become fired up by an idea and be caught up in the
momentum and excitement of a new project. It is often extremely
difficult to do but, it is important that any free software
developer remember that the best interests of the free software
- community and the quickest way to accomplish ones own project's
- goals and the goals of similar project can often be accomplished
- by not starting a new project.
+ community and the quickest way to accomplish your own project's
+ goals and the goals of similar projects can often be
+ accomplished by not starting a new
+ development effort.
@@ -586,50 +607,52 @@
While there are plenty of projects that fail with descriptive
names and plenty that succeed without them, I think naming your
- project is wroth giving a little bit of thought. Leslie Orchard
- tackles this issue in a n advogato
- article. The article is short and probably worth looking
+ project is worth giving a bit of thought. Leslie Orchard tackles
+ this issue in an Advogato
+ article. His article is short and definately worth looking
over quickly.
- The very short version is that Orchard recommends that you should
- pick a name where, after hearing the name, many users or
- developers will:
+ The synopsis is that Orchard recommends you pick a name where,
+ after hearing the name, many users or developers will both:
- You will know what the project does.
+ Know what the project does.
- You will remember it tomorrow.
+ Remember it tomorrow.
- Humorously, Orchard's project, Iajitsu, does neither (and
- development is effectively frozen since the article was written).
+ Humorously, Orchard's project, Iajitsu,
does
+ neither. It is probably unrelated that development has effectively
+ frozen since the article was written.
- There is a point though. There are companies who only job is to
- make names for pieces of software. They make
- ridiculous amount of money doing it and they
- are supposedly worth it. While you probably can't aford a company
- like this, you can afford to learn from their existance and think
- a little bit about the name you are giving your project.
+ He makes a good point though. There are companies whose only job
+ is to make names for pieces of software. They make
+ ridiculous amount of money doing it and are
+ supposedly worth it. While you probably can't aford a company like
+ this, you can afford to learn from their existance and think a
+ little bit about the name you are giving your project because it
+ does matter.
- If there is a name you really want, go ahead. I though
- gnubile
was one of the best names ever and I still
- talk about it, long after I've stopped using the program. If you
- can flexible on the subject, listen to Orchard's advice. It might
- even help you.
+ If there is a name you really want but it doesn't fit Orchard's
+ criteria, you can still go ahead. I thought gnubile
+ was one of the best I'd heard for a free software project ever and
+ I still talk about it long after I've stopped using the
+ program. However, if you can flexible on the subject, listen to
+ Orchard's advice. It might help you.
@@ -655,7 +678,7 @@
small flame war as there are strong feelings that some free
software licenses are better than others. This discussion also
brings up the question of Open Source Software
and
- the debate around Open Source Software
and
+ the debate over the terms Open Source Software
and
Free Software
. However, because I've written the
Free Software Development HOWTO and not the Open Source
Development HOWTO, my own allegiances in this argument are in the
@@ -664,26 +687,27 @@
In attempting to reach a middle ground through diplomacy without
- sacrificing my own philosophy, I recommend picking any license
- that conforms to the Debian Free Software
Guidelines. Originally compiled by the Debian project
- under Bruce Perens, the DFSG form the first
- version of the Open Source definition. Examples of free licenses
- given by the DFSG are the
- GPL, the BSD, and the
- Artistic License.
+ under Bruce Perens, the DFSG forms the first
+ version of the Open
+ Source Definition. Examples of free licenses given by the
+ DFSG are the GPL, the
+ BSD, and the Artistic License.
- Conforming to the definition of Free Software offered by Richard
+ Conforming to the definition of free software offered by Richard
Stallman in The Free
Software Definition
, any of these licenses will
- uphold, users' freedom to run, copy, distribute, study,
+ uphold, users' freedom to run, copy, distribute, study,
change and improve the software.
There are plenty of
other licenses that also conform to the DFSG
- but sticking with a more common license will offer the advantage
+ but sticking with a more well-known license will offer the advantage
of immediate recognition and understanding.
@@ -702,14 +726,14 @@
GNOME, Emacs, and the vast majority of GNU/Linux software. It's
the obvious choice but I believe it is a good one. Any BSD
fanatic will urge you to remember that there is a viral aspect to
- the GPLthat prevents the mixture of
+ the GPL that prevents the mixture of
GPL'ed code with non-GPL'ed
code. To many people (myself included), this is a benefit, but to
some, it is a major drawback.
- The three major license can be found at the following locations:
+ The three major licenses can be found at the following locations:
@@ -732,8 +756,8 @@
In any case, please read through any license before
- your release your software. As the primary developer, you can't
- afford any license surprises.
+ your release your software under it. As the primary developer,
+ you can't afford any license surprises.
@@ -743,8 +767,9 @@
The text of the GPL offers a good
- description of mechanics of applying a license to a piece
- of software. My quick checklist for applying a license includes:
+ description of the mechanics of applying a license to a
+ piece of software. My quick checklist for applying a license
+ includes:
@@ -752,15 +777,15 @@
If at all possible, attach and distribute a full copy of
- the license with the source and binary in a separate
+ the license with the source and binary by including a separate
file.
At the top of each source file in your program, attach a
- notice of copyright and information on where the full license
- can be found. The GPL recommends that each
- file begin with:
+ notice of copyright and include information on where the full
+ license can be found. The GPL recommends
+ that each file begin with:
one line to give the program's name and an idea of what it does.
@@ -783,8 +808,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The GPL goes on to recommend attaching
- information on contacting you (the author) via email or
- physical mail.
+ information on methods for contacting you (the author) via
+ email or physical mail.
@@ -793,8 +818,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
The GPL continues and suggests that if your
program runs in an interactive mode, you should write the
program to output a notice each time it enters interactive
- mode that includes a message like this one that points to more
- information about the programs licensing:
+ mode that includes a message like this one that points to full
+ information about the programs license:
@@ -808,12 +833,12 @@ for details.
Finally, it might be helpful to include a
- copyright disclaimer
with the program from an
- employer or a school if you work as a programmer or if it seems
- like your employer or school might be able to make an argument
- for ownership of your code later on. Its often needed but there
- are plenty of free software developers who have gotten into
- trouble and wish they had attained one.
+ copyright disclaimer
from an employer or a
+ school if you work as a programmer or if it seems like your
+ employer or school might be able to make an argument for
+ ownership of your code later on. These aren't often needed but
+ there are plenty of free software developers who have gotten
+ into trouble and wish they'd asked for one.
@@ -824,17 +849,17 @@ for details.
Final license warning
- Please, please, please, place your software under some
- license. It may not seem important, and to you, it may not be,
- but licenses are important. For a piece of
- software to be included in the Debian GNU/Linux distribution, it
- must have a license that fits the Debian Free Software
- Guidelines. If you have no license, your program can not
- be distributed as a package in Debian until you re-release it
- under a free license. Please save yourself and others trouble by
- releasing the first version of your software with a clear
- license.
+ Please, please, please, place your software under
+ some license. It may not seem important, and
+ to you it may not be, but licenses are
+ important. For a piece of software to be included in the Debian
+ GNU/Linux distribution, it must have a license that fits the
+ Debian Free
+ Software Guidelines. If your software has no license, it
+ can not be distributed as a package in Debian until you
+ re-release it under a free license. Please save yourself and
+ others trouble by releasing the first version of your software
+ with a clear license.
@@ -865,15 +890,16 @@ for details.
- Beyond this, the most common technique seems to be the
- major level
, minor level
,
+ Follow these two simple rules and you will not go (too)
+ wrong. Beyond this, the most common technique seems to be the
+ major level,
minor level,
patch level
version numbering scheme. Whether you
- are familiar with it or not, you interact with it all the
+ are familiar with the name or not, you interact with it all the
time. The first number is the major number and it signifies major
changes or rewrites. The second number is the minor number and it
represents added or tweaked functionality on top of a largely
coherant structure. The third number is the patch number and it
- usually will only refer to bug fixes.
+ usually will only refer to releases fixing bugs.
@@ -884,17 +910,16 @@ for details.
- You can bend or break these rules, and people do. Beware, if you
- choose to, someone will get annoyed, assume you don't know, and
- try and educate you. I always follow this method and I implore you
- to do so as well.
+ You can bend or break these rules, and people do. But beware, if
+ you choose to, someone will get annoyed, assume you don't know,
+ and try and educate you, probably not nicely. I always follow this
+ method and I implore you to do so as well.
-
+
- Follow these two simple rules and you will not go (too)
- wrong. Still, there are several version numbering systems that are
- well known, useful, and that might be worth looking into before
- you release your first version.
+ There are several version numbering systems that are well known,
+ useful, and that might be worth looking into before you release
+ your first version.
@@ -916,14 +941,15 @@ for details.
released at a time, my experience with several free software
projects and with the Debian project has taught me that use of
Linux's version numbering system is worth taking into
- consideration. In Debian, all minor versions are stable
- distributions (2.0, 2.1, etc). However, many people assume that
- 2.1 is an unstable or development version and continue to use
- an older version until they get so frustrated with the lack of
- progress development that they complain and figure the system
- out. If you never release an odd minor version but only release
- even ones, nobody is hurt, and less people are confused. It's
- worth taking into consideration.
+ consideration. In Debian, all minor
+ versions are stable distributions (2.0, 2.1, etc). However,
+ many people assume that 2.1 is an unstable or development
+ version and continue to use an older version until they get so
+ frustrated with the lack of development progress that they
+ complain and figure the system out. If you never release an odd
+ minor version but only release even ones, nobody is hurt, and
+ less people are confused. It's an idea worth taking into
+ consideration.
@@ -934,11 +960,12 @@ for details.
Because of the unusual nature of wine's development where
the not-emulator is constantly improving but not working towards
any immediately achievable goal, wine is released every three
- weeks. Wine does this by labeling their releases in Year Month
- Day format where each release might be labeled
+ weeks. Wine does this by labeling their releases in Year
+ Month Day
format where each release might be labeled
wine-XXXXXXXX
where the version from January 04,
2000 would be wine-20000104
. For certain
- projects, Year Month Day format can make a lot of sense.
+ projects, Year Month Day
format can make a lot of
+ sense.
@@ -948,8 +975,8 @@ for details.
When one considers Netscape 6 and vendor versions, the
mozilla's project development structure is one of the most
- complex free software model available. Their version numbering
- has reflected the unique situation in which it is
+ complex free software models available. The project's version
+ numbering has reflected the unique situation in which it is
developed.
@@ -960,17 +987,18 @@ for details.
which they were to be achieved were charted out on a series of
road
maps. Major points and achievements along these
- road-maps were marked as milestones. Therefore, mozilla was
- built and distributed nightly as "nightly builds" but on a day
- when the goals of a milestone on the road-map had been reached,
- that particular build was marked as a milestone release.
+ road-maps were marked as milestones. Therefore, although
+ mozilla was built and distributed nightly as nightly
+ builds,
on a day when the goals of a milestone on the
+ road-map had been reached, that particular build was marked as
+ a milestone release.
While I haven't seen this method employed in any other projects
to date, I like the idea and think that it might have value in
- any testing or development branch of a large free application
- under heavy development.
+ any testing or development branch of a large application under
+ heavy development.
@@ -995,13 +1023,12 @@ for details.
- There are lots of different people for whom to document and
- therefore there are lots of ways to document your
- project. The importance of ocumentation in source code
- to help facilitate development by a large community is vital but
- it falls outside the scope of this HOWTO. This being
- the case, this section deals mostly useful tactics for
- user-directed documentation.
+ There are lots of different people you should document for and
+ there are lots of ways to document your project. The
+ importance of documentation in source code to help facilitate
+ development by a large community is vital but it falls
+ outside the scope of this HOWTO. This being the case, this section
+ deals with useful tactics for user-directed documentation.
@@ -1018,17 +1045,17 @@ for details.
Man pages
Your users will want to be able to type man
- projectname
end up with a nicely formatted man page
- highlighting the basic use of yourapplication. Make sure that
+ yourprojectname end up with a nicely formatted man page
+ highlighting the basic use of your application. Make sure that
before you release your program, you've planned for this.
Man pages are not difficult to write. There is excellent
- documentation on the man page writing process available through the
- The Linux Man-Page-HOWTO
available through the
- Linux Documentation project (LDP) written by
- Jens Schweikhardt. It is available The Linux Man-Page-HOWTO which is available
+ through the Linux Documentation project (LDP)
+ and is written by Jens Schweikhardt. It is available from
Schweikhardt's site or from the
@@ -1036,11 +1063,11 @@ for details.
- It is also possible to write man pages using DocBook SGML and
- convert them into man pages. Because man pages are so simple and
- the DocBook method relatively new, I have not been able to follow
- this up but would love help from anyone who can give me more
- information on how exactly this is done.
+ It is also possible to write man pages using DocBook
+ SGML. Because man pages are so simple and the DocBook method
+ relatively new, I have not been able to follow this up but would
+ love help from anyone who can give me more information on how
+ exactly how this is done.
@@ -1053,8 +1080,8 @@ for details.
this type of documentation extend for more than one screen (24 or
25 lines) but it should cover the basic usage, a brief (one or
two sentence) description of the program, a list of the commands
- with explanations, all the major options (also with
- explanations), and a pointer to more in-depth documentation for
+ with explanations, as well as all the major options (also with
+ explanations), plus a pointer to more in-depth documentation for
those who need it. The command line documentation for Debian's
apt-get serves as an excellent example and a useful model:
@@ -1102,8 +1129,8 @@ pages for more information and options.
accessible with the -h
and the
--help
options. Most GNU/Linux users will expect
to be able to retrieve basic documentation these ways so if you
- choose to use different method, be prepared for the flames and
- for the fallout that may result.
+ choose to use different methods, be prepared for the flames and
+ fallout that may result.
@@ -1115,8 +1142,8 @@ pages for more information and options.
package containing source code. In a source distribution, most of
these files can be stored in a the root directory of the source
distribution or in a subdirectory of the root called
- doc
or Documentation
. Common files
- places in these places include:
+ doc
or Documentation.
Common files
+ in these places include:
@@ -1128,9 +1155,9 @@ pages for more information and options.
A document containing all the basic installation,
compilation, and even basic use instructions that make up the
bare minimum information needed to get the program up and
- running. A README is not your chance to be verbose but needs
- to be concise and effective. An ideal README is at least 30
- lines long and more no more than 250.
+ running. A README is not your chance to be verbose but should
+ be concise and effective. An ideal README is at least 30 lines
+ long and more no more than 250.
@@ -1143,30 +1170,27 @@ pages for more information and options.
and install the program. Usually an INSTALL file simply
instructs the user to run ./configure; make; make
install
and touches on any unusual options or actions
- that may be necessary. More advanced users can usually avoid
- INSTALL files but it's good practice to at least glance at one
- to understand what can be expected. For most relatively
- standard install procedures and for most programs, INSTALL
- files are as short as possible are rarely over 100
- lines.
+ that may be necessary. For most relatively standard install
+ procedures and for most programs, INSTALL files are as short
+ as possible are rarely over 100 lines.
- Changelog, ChangeLog, CHANGELOG, or changelog
+ CHANGELOG, Changelog, ChangeLog, or changelog
- A changelog is a simple file that every well-managed
- free software project should include. A changelog is simple
+ A CHANGELOG is a simple file that every well-managed
+ free software project should include. A CHANGELOG is simple
the file that, as its name implies, logs or documents the
- changes to a program. The most simple way to do a changelog is
- to simply keep a file with the source code for your program
- and add a section to the top of the changelog with each
- release describing what has been, changed, fixed, or added to
- the program. It's a good idea to post the changelog onto the
- website as well because it can help people decide whether they
- want or need to upgrade to a newer version or wait for a more
- significant upgrade.
+ changes you make to your program. The most simple way to
+ maintain a CHANGELOG is to simply keep a file with the source
+ code for your program and add a section to the top of the
+ CHANGELOG with each release describing what has been, changed,
+ fixed, or added to the program. It's a good idea to post the
+ CHANGELOG onto the website as well because it can help people
+ decide whether they want or need to upgrade to a newer version
+ or wait for a more significant improvement.
@@ -1174,13 +1198,14 @@ pages for more information and options.
NEWS
- A NEWS file and a ChangeLog are similar. A news file is
- not typically sorted by version but just whenever new features
- are added, the developer responisble will make a note in the
- NEWS file. NEWS files should not have to changed before a
- release (they should be kept up to date all along) but it's
- usually a good idea to check first anyway because often people
- just forget to keep them as current as they should.
+ A NEWS file and a ChangeLog are similar. Unlike a
+ CHANGELOG, a NEWS file is not typically updated with new
+ versions. Whenever new features are added, the developer
+ responisble will make a note in the NEWS file. NEWS files
+ should not have to be changed before a release (they should be
+ kept up to date all along) but it's usually a good idea to
+ check first anyway because often developers just forget to
+ keep them as current as they should.
@@ -1188,15 +1213,15 @@ pages for more information and options.
FAQ
- For those of you that don't already
- know. FAQ stands for Frequently Asked
- Questions and a FAQ is a collection of exactly that. FAQs
- are not difficult to make. Simply make a policy that if you
- are asked a question or see a question on a mailing list two
- or more times, add it the question (and its answer) to your
- FAQ. FAQs are more optional than the files listed above but
- they can save your time, increase usability, and decrease
- headaches on all sides.
+ For those of you that don't already know,
+ FAQ stands for Frequently Asked Questions
+ and a FAQ is a collection of exactly that. FAQs are not
+ difficult to make. Simply make a policy that if you are asked
+ a question or see a question on a mailing list two or more
+ times, add the question (and its answer) to your FAQ. FAQs are
+ more optional than the files listed above but they can save
+ your time, increase usability, and decrease headaches on all
+ sides.
@@ -1207,32 +1232,21 @@ pages for more information and options.
Website
- It's only idirectly an issue of documentation but a good website
+ It's only indirectly an issue of documentation but a good website
is quickly becoming an essential part of any free software
- project's documentation. Your website should provide access to
- documentation (in HTML if possible). It should
- also include a section for news and events around your program
- and a section that details the process of getting involved with
- development or testing and creates an open invitation. It should
- also supply links to any mailing lists, similar websites, and
- provide a direct link to all the available ways of downloading
- your software.
+ project. Your website should provide access to your documentation
+ (in HTML if possible). It should also include
+ a section for news and events around your program and a section
+ that details the process of getting involved with development or
+ testing and make an open invitation. It should also supply links
+ to any mailing lists, similar websites, and provide a direct link
+ to all the available ways of downloading your software.
Other documentation hints
-
- It doesn't hurt to distribute any documentation for your program
- from your website or anywhere else (FAQs etc) with the
- program. Make a FAQ by cutting and posting common questions and
- answers from a mailing list or your own email. Then, don't
- hesitate through this in the programs tarball. If people don't
- need it, they will delete it. I can repeat it over and over:
- Too much documentation is not a sin.
-
-
All your documentation should be in plaintext, or, in cases where
it is on your website primarily, in HTML. Everyone can cat a
@@ -1242,6 +1256,14 @@ pages for more information and options.
this information must also be available in plaintext or HTML or
people will be very angry at you.
+
+
+ It doesn't hurt to distribute any documentation for your program
+ from your website (FAQs etc) with your program. Don't hesitate
+ throw any of this in the program's tarball. If people don't need
+ it, they will delete it. I can repeat it over and over:
+ Too much documentation is not a sin.
+
@@ -1252,9 +1274,10 @@ pages for more information and options.
Many of the remaining issues surrounding the creation of a new
free software program fall under what most people describe as
- common sense issues. Still, they are worth noting briefly in
- hopes that they may remind a developer of something they may have
- forgotten.
+ common sense issues. Its often said that software engineering is
+ 90 percent common sense combined with 10 percent specialized
+ knowledge. Still, they are worth noting briefly in hopes that they
+ may remind a developer of something they may have forgotten.
@@ -1267,28 +1290,58 @@ pages for more information and options.
source code is always available in tar'ed and gzip'ed format
(.tar.gz). UNIX compress (.Z) has gone out of style and
usefulness and faster computers have brought bzip2 (.bz2) into
- the spot-lit as a more effective compression medium. I now make
- all my releases available in both gzip'ed and bzip2'ed formats.
+ the spot-light as a more effective compression medium. I now make
+ all my releases available in both gzip'ed and bzip2'ed tarballs.
- Binary packages are largely distribution specific. You can build
- binary packages against a current version of a major
+ Binary packages should always be distribution specific. If you
+ can build binary packages against a current version of a major
distribution, you will only make your users happy. Try to foster
- relationships with users or developers of large distribution to
- develop a system for consistent binary packages. It's often a
- good idea to provide RedHat RPM's (.rpm),
- Debian deb's (.deb) and source RPM's
- SRPM's. Binary packages can also be compiled
- against a specified system with specified libraries and
- distributed in tar.gz format as well. Remember: While
- these binaries packages are nice, getting the source packaged and
- released should always be your priority. Your users or fellow
- developers can and will do the the binary packages for
- you.
+ relationships with users or developers of large distributiosn to
+ develop a system for the consistent creation of binary
+ packages. It's often a good idea to provide RedHat
+ RPM's (.rpm), Debian deb's (.deb) and source
+ RPM's SRPM's if
+ possible. Remember: While these binaries packages are
+ nice, getting the source packaged and released should always be
+ your priority. Your users or fellow developers can and will do
+ the the binary packages for you.
+
+ Version control systems
+
+
+ A version control system can make a lot of these problems of
+ packaging (and a lot of other problems mentioned in this HOWTO)
+ less problematic. If you are using *NIX, CVS is your best bet. I
+ recommend Karl Fogel's book on the subject (and the posted HTML version)
+ wholeheartedly.
+
+
+
+ CVS or not, you should probably invest some time into learning
+ about a version control system because it provides an automated
+ way of solving many of the problems described by this HOWTO. I
+ am not aware of any free version control systems for Windows or
+ MacOS but I know that CVS clients exist for both
+ platforms. Websites like SourceForge do a great job
+ as well with a nice, easy-to-use web interface to CVS.
+
+
+
+ I'd love to devote more space in this HOWTO to CVS because I love
+ it (I even use CVS to keep versions straight on this HOWTO!) but
+ I think it falls outside the scope of this document and should
+ (already has) its own HOWTO.
+
+
+
+
Useful tidbits and presentation hints
@@ -1303,15 +1356,14 @@ pages for more information and options.
Make sure that your program can always be found in a
single location. Often this means that you have a
- single directory accessible via FTP or
- HTTP where the newest version will be
- quickly recognized. One effective technique is a provide a
- symlink called projectname-latest
that is
- always pointing to the most recent released or development
- version of your free software project. Keep in mind that this
- location will recieve many requests for downloads around
- releases so make sure that the server you choose for this
- purpose has adequate bandwidth.
+ single directory accessible via FTP or the
+ web where the newest version can be quickly recognized. One
+ effective technique is a provide a symlink called
+ yourprojectname-latest
that is always pointing
+ to the most recent released or development version of your
+ free software application. Keep in mind that this location
+ will recieve many requests for downloads around releases so
+ make sure that the server you choose has adequate bandwidth.
@@ -1320,44 +1372,17 @@ pages for more information and options.
Make sure that there is a consistent email address
for bug reports. It's usually a good idea to make
this something that is NOT your primary email address like
- projectname@host or projectname-bugs@host. This way if you
- ever decide to hand over maintainership or if your email
- address changes, you simply need to change where this email
- address forwards. It also will allow for more than one person
- to deal with the influx of mail that is created if your
+ yourprojectname@host or yourprojectname-bugs@host. This way,
+ if you ever decide to hand over maintainership or if your
+ email address changes, you simply need to change where this
+ email address forwards. It also will allow for more than one
+ person to deal with the influx of mail that is created if your
project becomes as huge as you hope it will.
-
-
- A version control system can make a lot of these problems of
- packaging (and a lot of other problems mentioned in this HOWTO)
- much easier. If you are using *NIX, CVS is your best bet. I
- recommend Karl Fogel's book on the subject (and the posted HTML version)
- wholeheartedly.
-
-
-
- CVS or not, you should probably invest some time into learning
- about a version control system because it provides an automated
- way of solving many of the problems introduced into this HOWTO.
- I am not aware of any free version control systems for windows or
- mac but I know that CVS clients exist for both
- platforms. Websites like SourceForge do a great job
- as well with a nice, easy to use interface to CVS.
-
-
-
- I'd love to devote more space in this HOWTO to CVS because I love
- it (I even use CVS to keep version straight on this HOWTO!) but I
- think it falls outside the scope of this document and should/has
- already have its own HOWTO written about it.
-
@@ -1376,10 +1401,11 @@ pages for more information and options.
Once you have gotten your project started, you have overcome the
most difficult hurdles in the development process of your
program. Laying a firm foundation is essential, but the development
- process itself is equally important and provides quite a few
- opportunities for failure. In the next two sections, I will cover
- running a project by discussing how to maintain a project through
- interactions with developers and with users.
+ process itself is equally important and provides just as many
+ opportunities for failure. In the next two sections, I will
+ describe running a project by discussing how to maintain a
+ development effort through interactions with developers and with
+ users.
@@ -1413,7 +1439,7 @@ pages for more information and options.
By now, you've hypothetically followed me through the early
programming of a piece of software, the creation of a website and
- system of documentation and and we've gone ahead and (as will be
+ system of documentation, and we've gone ahead and (as will be
discussed in ) released it to the rest
of the world. Times passes, and if things go well, people become
interested and want to help. The patches begin flowing in.
@@ -1421,48 +1447,48 @@ pages for more information and options.
Like the parent of any child who grows up, it's now time
- to wince and smile and do most difficult thing in any parents
+ to wince, smile and do most difficult thing in any parents
life: It's time to let go.
Delegation is the political way of describing this process of
letting go.
It is the process of handing some of
- the responsibility and power over your project to other responsible
- and involved developers. It is difficult for anyone who has
- invested a large deal of time and energy into a project but it
- essential for the growth of any free software project. One person
- can only do so much. A free software project is nothing
- without the involvement of a group of developers. A group of
- developers can only be maintained through respectful and
- responsible leadership and delegation.
+ the responsibility and power over your project to other
+ responsible and involved developers. It is difficult for anyone
+ who has invested a large deal of time and energy into a project
+ but it essential for the growth of any free software project. One
+ person can only do so much. A free software project is nothing
+ without the involvement of a group of
+ developers. A group of developers can only be maintained through
+ respectful and responsible leadership and delegation.
As your project progresses, you will notice people who are putting
significant amounts of time and effort into your project. These
will be the people submitting the most patches, posting most on
- the mailing lists, engaging in long email discussions. It is your
- responsibility to contact these people and to try and shift some of
- the power and responsibility of your position as the project's
- maintainer onto them (if they want it). There are several easy
- ways you can do this:
+ the mailing lists, and engaging in long email discussions. It is
+ your responsibility to contact these people and to try and shift
+ some of the power and responsibility of your position as the
+ project's maintainer onto them (if they want it). There are
+ several easy ways you can do this:
In a bit of a disclaimer, delegation need not mean rule by
comittee. In many cases it does and this has been proven to
- work. In other cases this has been the death of a project. Managing
Projects the Open Source Way argues that OSS
projects do best when one person is the clear leader of a team and
makes the big decisions (design changes, release dates, and so
on).
I think this often true but would urge developers to
consider the ideas that the project leader need not be the
- projects founder and that these important powers need not all rest
- in one person but that a release manager may be different than a
- lead developer. These situations are tricky politically though so
- be careful and make sure this is necessary before you go around
+ project's founder and that these important powers need not all rest
+ with one person but that a release manager may be different than a
+ lead developer. These situations are tricky politically so
+ be careful and make sure it's necessary before you go around
empowering people.
@@ -1472,8 +1498,8 @@ pages for more information and options.
You may find that other developers seem even more experienced or
knowledgeable than you. Your job as a maintainer does not mean
- you have to have to be the best or the brightest. It means you
- need are responsible for showing good judgment and for
+ you have to be the best or the brightest. It means you
+ are responsible for showing good judgment and for
recognizing which solutions are maintainable and which are not.
@@ -1486,7 +1512,7 @@ pages for more information and options.
- Allow a larger group of people write access to your CVS
+ Allow a larger group of people to have write access to your CVS
repository and make real efforts towards rule by a
committee
@@ -1502,9 +1528,9 @@ pages for more information and options.
The Debian Project
is an extreme example of rule by committee. At current count,
- more than 700 developers have full responsibility for certain
- aspects of the projects. All these developers can upload into
- the main FTP servers, and vote on major issues. Direction for
+ more than 700 developers have full responsibility for
+ aspects of the project. All these developers can upload into
+ the main FTP server, and vote on major issues. Direction for
the project is determined by the project's social
contract and a Appoint Delegates or delegate decisions to the
+ is to, appoint delegates or delegate decisions to the
Technical Committee.
@@ -1529,7 +1555,7 @@ pages for more information and options.
Publicly appoint someone as the release manager for a
- specific release.
+ specific release
A release manager is usually responsible for coordinating
@@ -1541,7 +1567,7 @@ pages for more information and options.
This use of the release manager is a good way to give yourself a
break and to shift the responsibility for accepting and
- rejecting patches to someone else. It is a good way of very
+ rejecting patches onto someone else. It is a good way of very
clearly defining a chunk of work on the project as belonging to
a certain person and its a great way of giving yourself room to
breath.
@@ -1549,7 +1575,7 @@ pages for more information and options.
- Delegate control of an entire branch.
+ Delegate control of an entire branch
If your project chooses to have branches (as described in ), it might be a good idea to appoint someone
@@ -1577,7 +1603,7 @@ pages for more information and options.
Accepting and Rejecting Patches
This HOWTO has already touched on the fact that as the maintainer
- of a free software project, one of primary and most important
+ of a free software project, one of your primary and most important
responsibilities will be accepting and rejecting patches submitted
to you by other developers.
@@ -1622,7 +1648,7 @@ pages for more information and options.
- Fogel elaborates on this again and states the the
+ Fogel elaborates on this and states the the
questions to ask yourself when considering whether to implement
(or approve) a change are:
@@ -1646,11 +1672,11 @@ pages for more information and options.
The answers to these questions are never straightforward and its
very possible (and even likely) that the person who submitted the
- patch may feel differently about the answer to those questions
+ patch may feel differently about the answer to these questions
than you do. However, if you feel that that the answer to either
of those questions is no,
it is your responsibility
to reject the change. If you fail to do this, the project will
- become unwieldy and unmaintainable and will ultimately fail.
+ become unwieldy and unmaintainable and many ultimately fail.
@@ -1658,17 +1684,16 @@ pages for more information and options.
Rejecting patches
- Rejecting patches is probably the most difficult and the most
- sensitive job that the maintainer of any free software project
- has to face. But sometimes it has to be done. I mentioned earlier
- (in and in ) that any developer needs to try and
- balance your responsibility and power to make what you think are
- the best technical decisions with the fact that you will lose
- support from other developers if you seem like you are on a power
- trip or being overly bossy or possessive of a community-based
- project. I recommend that you keep three major facts in mind when
- rejecting patches (or other changes):
+ Rejecting patches is probably the most difficult and sensitive
+ job that the maintainer of any free software project has to
+ face. But sometimes it has to be done. I mentioned earlier (in
+ and in )
+ that you need to try and balance your responsibility and power to
+ make what you think are the best technical decisions with the
+ fact that you will lose support from other developers if you seem
+ like you are on a power trip or being overly bossy or possessive
+ of the community's project. I recommend that you keep these three
+ major concepts in mind when rejecting patches (or other changes):
@@ -1679,11 +1704,12 @@ pages for more information and options.
project is by not making the decision alone at all. It might
make sense to turn over larger proposed changes or more
difficult decisions to a development mailing list where they can
- be discussed. There will be some patches (bug fixes, etc.) which
- will definitely be accepted and some that you feel are so off
- base that they do not even merit further discussion. It is those
- that fall into the grey area between these two groups that might
- merit a quick forward to a mailing list.
+ be discussed and debated. There will be some patches (bug fixes,
+ etc.) which will definitely be accepted and some that you feel
+ are so offbase that they do not even merit further
+ discussion. It is those that fall into the grey area between
+ these two groups that might merit a quick forward to a mailing
+ list.
@@ -1700,20 +1726,20 @@ pages for more information and options.
Technical issues are not always good justification
- Especially towards the beginning, you will find that many
- changes are difficult to implement, introduce new bugs, or have
- other technical problems. Try to see past these. Especially with
- added functionality, good ideas do not always come from good
- coders. Technical merit is a valid reason to postpone an
- application of a patch but it is not always a good reason to
- reject a change outright. Even small changes are worth the
- effort of working with the developer submitting the patch to
- iron out bugs and incorporate the change if you thing you think
- it seems like a good addition to your project. The effort on
- your part will work to make your project a community project and
- it will pull a new or less experienced developer onto your
- project and even teach them something that might help them in
- making their next patch.
+ Especially towards the beginning of your project's life, you
+ will find that many changes are difficult to implement,
+ introduce new bugs, or have other technical problems. Try to see
+ past these. Especially with added functionality, good ideas do
+ not always come from good programmers. Technical merit is a
+ valid reason to postpone an application of a patch but it is not
+ always a good reason to reject a change outright. Even small
+ changes are worth the effort of working with the developer
+ submitting the patch to iron out bugs and incorporate the change
+ if you think it seems like a good addition to your project. The
+ effort on your part will work to make your project a community
+ project and it will pull a new or less experienced developer
+ into your project and even teach them something that might help
+ them in making their next patch.
@@ -1736,9 +1762,9 @@ pages for more information and options.
horrible that you can't incorporate their change. Let them know
that you look forward to their staying involved and you hope
that the next patch or idea meshes better with your project
- because you appreciate their work and want to see it in the
- project. If you have ever had a patch rejected after putting a
- large deal of time, thought, and energy into it, you remember
+ because you appreciate their work and want to see it in your
+ application. If you have ever had a patch rejected after putting
+ a large deal of time, thought, and energy into it, you remember
how it feels and it feels bad. Keep this in mind when you have
to let someone down. It's never easy but you need to do
everything you can to make it as not-unpleasant as possible.
@@ -1767,21 +1793,22 @@ pages for more information and options.
The most common way of branching your project is to have one
branch that is stable and one that is for development. This is the
model followed by the Linux kernel that is described in . In this model, there is always one
- branch that is stable and always one that is in
- development. Before any new release, the development branch goes
- into a feature freeze
as described in where major changes and added features are
- rejected or put on hold under the development kernel is released
- as the new stable branch and major development resumes on the
- development branch. Bug fixes and small changes that are unlikely
- to have any large negative repercussions are incorporated into the
- stable branch as well as the development branch.
-
-
-
- Linux's model is an extreme one. On many projects, there is no
- need to have two versions always available. It may make sense to
+ linkend="chooseversioning">. In this model, there is
+ always one branch that is stable and always
+ one that is in development. Before any new release, the
+ development branch goes into a feature freeze
as
+ described in where major changes and
+ added features are rejected or put on hold under the development
+ kernel is released as the new stable branch and major development
+ resumes on the development branch. Bug fixes and small changes
+ that are unlikely to have any large negative repercussions are
+ incorporated into the stable branch as well as the development
+ branch.
+
+
+
+ Linux's model provides an extreme example. On many projects, there is no
+ need to have two versions constantly available. It may make sense to
have two versions only near a release. The Debian project has
historically made both a stable and an unstable distribution
available but has expanded to this to include: stable, unstable,
@@ -1807,8 +1834,8 @@ pages for more information and options.
Debian may be able to make good use of four or five
branches but it contains gigabytes of software in over 5000
- packages compiled for a 5-6 different architectures. For you,
- two is probably a good number. Too many branches will confuse
+ packages compiled for 5-6 different architectures. For you,
+ two is probably a good ceiling. Too many branches will confuse
your users (I can't count how many times I had to describe
Debian's system when it only had 2 and sometimes 3 branches!),
potential developers and even yourself. Branches can help but
@@ -1823,8 +1850,8 @@ pages for more information and options.
branches will confuse your users. Do
everything you can to avoid this by clearly explaining the
different branches in a prominent page on your website and in a
- Readme file in the FTP or
- HTTP directory.
+ README file in the FTP or
+ web directory.
I might also recommend against a mistake that I think Debian
@@ -1854,12 +1881,12 @@ pages for more information and options.
Like a lot of this document, this should probably should
go without saying but experience has taught me that it's not
always obvious to people. It's a good idea to physically split
- up different branches in different directories or directory
- trees on your FTP or HTTP
- site. Linux accomplishes this by having kernels in a v2.2 and a
- v2.3 subdirectory where it is immediately obvious (after you
- know their version numbering scheme) which directory is for the
- most recent stable and the current development releases. Debian
+ up different branches into different directories or directory
+ trees on your FTP or web site. Linux
+ accomplishes this by having kernels in a v2.2 and a v2.3
+ subdirectory where it is immediately obvious (after you know
+ their version numbering scheme) which directory is for the most
+ recent stable and the current development releases. Debian
accomplishes this by naming all their distribution with names
(i.e. woody, potato, etc.) and then changing symlinks named
stable,
unstable
and
@@ -1868,8 +1895,8 @@ pages for more information and options.
others. In any case, it is important that different branches
are always available, are accessible from consistent locations,
and that different branches are clearly distinguished from each
- other so your users know exactly what they want to be
- downloading and where to get it.
+ other so your users know exactly what they want and where to
+ get it.
@@ -1885,7 +1912,7 @@ pages for more information and options.
There are more issues surrounding interaction with developers in a
free software project that I can not touch on in great detail in a
- HOWTO of this size. Please don't hesitate to contact me if you see
+ HOWTO of this size and scope. Please don't hesitate to contact me if you see
any major omissions.
@@ -1917,43 +1944,44 @@ pages for more information and options.
The second type of freeze is a code freeze
which
is much more like a released piece of software. Once a piece of
- software has entered a code freeze, all changes to the code are
- frowned upon and only changes that fix known bugs are
- permitted. This type of freeze usually follows a feature
- freeze
and directly precedes a release. Most released
- software is in what could be interpreted as a sort of high
- levelcode freeze.
+ software has entered a code freeze,
all changes to
+ the code are discouraged and only changes that fix known bugs
+ are permitted. This type of freeze usually follows a
+ feature freeze
and directly precedes a
+ release. Most released software is in what could be interpreted
+ as a sort of high level code freeze.
Even if you never choose to appoint a release manager (), you will have an easier time
justifying the rejection or postponement of patches ( before a release with a publicly stated
+ linkend="patching">) before a release with a publicly stated
freeze in effect.
+
-
- Forking
+
+ Forks
- Forks are the most extreme version of a branch. A fork is
- when a group of developers takes code from a free software
- project and actually starts a brand new free software
- project. The most famous example of a fork is Emacs and
- XEmacs. Both emacsen are based on an almost identical code-base
- but for technical, political, and philosophical reasons,
- development was split into two projects which now compete with
- each other.
+ I wasn't sure about how I would deal with forking in this
+ document (or if I would deal with forking at all). A fork is when
+ a group of developers takes code from a free software project and
+ actually starts a brand new free software project with it. The
+ most famous example of a fork was between Emacs and XEmacs. Both
+ emacsen are based on an identical code-base but for technical,
+ political, and philosophical reasons, development was split into
+ two projects which now compete with each other.
The short version of the fork section is, don't do
them. Forks force developers to choose one project to
- work with, cause nasty political divisions and redundancy of
+ work with, cause nasty political divisions, and redundancy of
work. Luckily, usually the threat of the fork is enough to scare
the maintainer or maintainers of a project into changing the way
- they run their project to avoid it.
+ they run their project.
@@ -1964,7 +1992,6 @@ pages for more information and options.
absolutely unresolvable, I recommend Fogel's book as a good place
to start.
-
@@ -2009,7 +2036,7 @@ pages for more information and options.
- In the free software world, you are often your users only
+ In the free software world, you are often your users' only
choice. Because there is such an emphasis on not replicating the
work of others in the free software community and because the
element of competition present in the propriety software model is
@@ -2024,12 +2051,12 @@ pages for more information and options.
In an almost paradoxical situation, free software projects
have less immediate or dire consequences for ignoring their users
- altogether--it is also often easier to do. Because you don't
- usually need to compete with another product in the free software
- model, chances are good that you will not be scrambling to gain
- the features of the competitor's newest program. This means that
- your development process will have to be directed either
- internally, by a commitment to your users or by both.
+ altogether. It is also often easier to do. Because you don't
+ usually need to compete with another product, chances are good
+ that you will not be scrambling to gain the features of your
+ competitor's newest program. This means that your development
+ process will have to be directed either internally, by a
+ commitment to your users, or through both.
@@ -2054,27 +2081,27 @@ pages for more information and options.
In addition to your users being your developers, they are also
(and perhaps more commonly) your testers. Before I get flamed, I
- should rephrase my sentence: some of your
- users are your testers.
+ should rephrase my sentence: some of your
+ users (those who explicityly volunteer) are your
+ testers.
It is important that this distinction be made early on because not
all of your users want to be testers. Many users want to use
- stable software and don't care if they don't have the newest
- greatest software with the latest and greatest features. These
- users except a stable, tested piece of software with major or
- obvious bugs worked out or openly declared and will be angry if
- they find themselves in a testing position. This is yet another
- way in which a split development model (as mentioned in ) might come in handy.
+ stable software and don't care if they don't have the newest,
+ greatest software with the latest, greatest features. These users
+ except a stable, tested piece of software without major or obvious
+ bugs and will be angry if they find themselves testing. This is
+ yet another way in which a split development model (as mentioned
+ in ) might come in handy.
- Managing
- Projects the Open Source Way describes what a good test
- should look for in each module:
+ Projects the Open Source Way describes what a
+ good test should look for:
@@ -2082,10 +2109,8 @@ pages for more information and options.
Boundary conditions
-
- Maximum buffer lengths, data conversions, upper/lower boundary
- limits, and so on.
-
+ Maximum buffer lengths, data conversions, upper/lower
+ boundary limits, and so on.
@@ -2093,14 +2118,12 @@ pages for more information and options.
Inappropriate behavior
-
- Its a good idea to find out what a program will do if a user
- hands it a value it isn't expecting, hits the wrong button,
- etc. Ask yourself a bunch of what if questions and think of
- anything that might fail or
- might go wrong and find out what program
- would do in that case.
-
+ Its a good idea to find out what a program will do if a
+ user hands it a value it isn't expecting, hits the wrong button,
+ etc. Ask yourself a bunch of what if
questions
+ and think of anything that might fail or
+ might go wrong and find out what your
+ program would do in those cases.
@@ -2108,14 +2131,12 @@ pages for more information and options.
Graceful failure
-
- The answer to a number of the what if
questions
- above is probably failure
which is often the
- only answer. Now make sure that it happens nicely. Make sure
- that when it crashes, there is some indication of why it
- crashed or failed so that the user or developer understands
- whats going on.
-
+ The answer to a number of the what if
+ questions above is probably failure
which is
+ often the only answer. Now make sure that it happens
+ nicely. Make sure that when it crashes, there is some indication
+ of why it crashed or failed so that the user or developer
+ understands whats going on.
@@ -2124,13 +2145,11 @@ pages for more information and options.
Standards conformance
-
- If possible, make sure your programs conforms to
- standards. Don't be too creative with interfaces. If it is
- non-interactive, make sure it communicates over appropriate and
- established channels with other programs and with the rest of
- the system.
-
+ If possible, make sure your programs conforms to
+ standards. If it's interactive, don't be too creative with
+ interfaces. If it is non-interactive, make sure it communicates
+ over appropriate and established channels with other programs
+ and with the rest of the system.
@@ -2142,22 +2161,22 @@ pages for more information and options.
For many programs, many common mistakes can be caught by
automated means. Automated tests tend to be pretty good at
catching errors that you've run into several times before or
- something you just forget. They are not very good at finding
- errors, even major ones, that were totally unforeseen.
+ the things you just forget. They are not very good at finding
+ errors, even major ones, that are totally unforeseen.
CVS comes with a bourne shell script called sanity.sh that is
worth looking at. Debian uses a program called lintian that
checks Debian packages for all of the most common errors. While
- use of these scripts may not be possible, there is a host of
- other sanity checking software on the net that may be applicable
- (feel free to email any recommendations). None of these will
- create a bug-free release but they will avoid at least some major
+ use of these scripts may not be helpful, there is a host of other
+ sanity checking software on the net that may be applicable (feel
+ free to email me any recommendations). None of these will create
+ a bug-free release but they will avoid at least some major
oversights. Finally, if your programs become a long term
endeavor, you will find that there are certain errors that you
tend to make over and over. Start a collection of scripts that
- check for these errors to help prevent them in the future.
+ check for these errors to help keep them out of future releases.
@@ -2167,22 +2186,22 @@ pages for more information and options.
For any program that depends on user interactivity, many bugs
will only be uncovered through testing by users actually clicking
the keys and pressing the mouse buttons. For this you need
- testers and as many testers as possible.
+ testers and as many as possible.
The most difficult part of testing is finding testers. It's
usually a good tactic to post a message to a relevant mailing
list or news group announcing a specific proposed release date
- and outline the functionality of the program. If you put some
- time into the announcement, you are sure to get a few bites.
+ and outlining the functionality of your program. If you put some
+ time into the announcement, you are sure to get a few responses.
- The second most difficult part of testing is keeping your testers
- and keeping them actively involved in the testing
- process. Fortunately, there are some tried and true tactics that
- can applied towards this end:
+ The second most difficult part of testing is
+ keeping your testers and keeping them
+ actively involved in the testing process. Fortunately, there are
+ some tried and true tactics that can applied towards this end:
@@ -2198,7 +2217,7 @@ pages for more information and options.
what you are looking for to each tester and make the means for
reporting bugs simple and well established. The key is to
provide as much structure as possible to make your testers'
- jobs easy and maintain as much flexibility as possible for
+ jobs easy and to maintain as much flexibility as possible for
those that want to do things a little differently.
@@ -2221,7 +2240,7 @@ pages for more information and options.
patch. Thank them publicly in the documentation and the about
section of your program. You appreciate your testers and your
program would not be possible without their help. Make sure
- they know it. Pat them on the back to make sure the rest of
+ they know it. Publicly, pat them on the back to make sure the rest of
the world knows it too. It will be appreciated more than you
expected.
@@ -2281,7 +2300,7 @@ pages for more information and options.
- This system provides that no one person is stuck doing all of
+ This system provides so that no one person is stuck doing all of
the support work and works so that users learn more about the
program, they can help newer users with their questions.
@@ -2303,18 +2322,19 @@ pages for more information and options.
and GNU Mailman. A
long time advocate of majordomo, I would now recommend any
project choose GNU Mailman. It fulfills the criteria listed
- above and makes it easier to do so. It provides a good mailing
+ above and makes it easier. It provides a good mailing
list program for a free software project maintainer as opposed
to a good mailing list application for a mailing list
administrator.
- There are other things you want to take in setting up your
- list. If it is possible to gate your mailing lists to USENET and
- provide them in digest form as well as making them accessible on
- the web, you will please some users and work to make the support
- infrastructure slightly more accessible.
+ There are other things you want to take into consideration in
+ setting up your list. If it is possible to gate your mailing
+ lists to USENET and provide it in digest form as well as
+ making them accessible on the web, you will please some users
+ and work to make the support infrastructure slightly more
+ accessible.
@@ -2325,18 +2345,18 @@ pages for more information and options.
A mailing list and accessible documentation are far from all you
can do to set up good user support infrastructure. Be
- creative. If you stumble across something works well, email me
- and I'll include it here in the HOWTO.
+ creative. If you stumble across something that works well, email me
+ and I'll include it here.
Make your self accessible
- You can not put to few methods to access you. If you hang out in
- an IRC channel, don't hesitate to list in
- your projects documentation. List email and snail mail
- addresses, or ways to reach you via ICQ,
- AIM, or Jabber.
+ You can not list too few methods to reach you. If you hang out
+ in an IRC channel, don't hesitate to list it
+ in your projects documentation. List email and snailmail
+ addresses, and ways to reach you via ICQ,
+ AIM, or Jabber if they apply.
@@ -2350,12 +2370,11 @@ pages for more information and options.
url="http://bugs.debian.org">Debian Bug Tracking System
(BTS) although it may not be best choice for
every project (it seems to currently be buckling under its own
- weight. As well as a damn good web browser, the mozilla project
+ weight) As well as a damn good web browser, the mozilla project
has spawned a sub-project resulting in a bug tracking system
called bugzilla
- which has become extremely possible and which I like quite a
- bit.
+ which has become extremely possible and which I like a lot.
@@ -2363,7 +2382,7 @@ pages for more information and options.
developers should be careful to not spend more time on the bug
tracking system than on the bugs or the projects themselves. If
a project continues to grow, use of a bug tracking system can
- provide an easy standard way for users and testers to report
+ provide an easy standard avenue for users and testers to report
bugs and for developers and maintainers to fix them and track
them in an orderly fashion.
@@ -2380,7 +2399,7 @@ pages for more information and options.
As mentioned earlier in the HOWTO, the first rule of releasing is,
release something useful. Non-working or
not-useful software will not attract anyone to your
- project. People will be turned off of your project and be likely
+ project. People will be turned off of your project and will be likely
to simply gloss over it next time they see a new version
announced. Half-working software, if useful, will intrigue people,
whet their appetites for versions to come, and encourage them to
@@ -2393,7 +2412,7 @@ pages for more information and options.
Making the decision to release your software for the first time
is an incredibly important and incredibly stressful decision. But
- it needs to be done. My advice is to try and make something that
+ it needs to done. My advice is to try and make something that
is complete enough to be usable and incomplete enough to allow
for flexibility and room for imagination by your future
developers. It's not an easy decision. Ask for help on a local
@@ -2409,7 +2428,7 @@ pages for more information and options.
- When you feel in your gut it is time and you feel
+ When you feel in your gut that it is time and you feel
you've weighed the situation well several times, cross your
fingers and take the plunge.
@@ -2460,8 +2479,8 @@ pages for more information and options.
distribution locations and the other infrastructure described in
the preceding sections, releasing should be as simple as building
the package, checking it once over, and uploading it into the
- appropriate place and then reflecting the release on your
- website.
+ appropriate place and then making your website reflect the
+ change.
@@ -2472,15 +2491,15 @@ pages for more information and options.
When contemplating releases, it worth considering the fact that
not every release needs to be a full numbered release. Software
users are accustomed to pre-releases but you must be careful to
- label these releases accurately or they cause more problems then
+ label these releases accurately or they will cause more problems then
they are worth.
The observation is often made that many free software developers
- seem to be confused about the release cycle. Managing
- Projects the Open Source Way suggests that you memorize
+ Projects the Open Source Way suggests that you memorize
the phrase, Alpha is not Beta. Beta is not Release
and I'd agree that tis is a probably a good idea.
@@ -2495,14 +2514,13 @@ pages for more information and options.
partially functional.
Alpha releases are expected to be unstable, perhaps a
- little unsafe, but definitely usable. Alpha versions should
- have full functionality and limited testing. They can have
- known bugs and kinks that have yet to be worked out. Before
- releasing an alpha, be sure to keep in mind that
- alpha releases are still releases and
- people are not going to be expecting a nightly build from the
- CVS source. An alpha should work and have minimal testing and
- bug fixing already finished.
+ little unsafe, but definitely usable. They
+ can have known bugs and kinks that have
+ yet to be worked out. Before releasing an alpha, be sure to
+ keep in mind that alpha releases are still
+ releases and people are not going to be expecting a
+ nightly build from the CVS source. An alpha should work and
+ have minimal testing and bug fixing already finished.
@@ -2510,7 +2528,8 @@ pages for more information and options.
beta releases
Beta software is feature-complete and functional, but is
- in the testing cycle and still has a few bugs in it.
+ in the testing cycle and still has a few bugs left to be
+ ironed out.
Beta releases are general expected to be usable and
slightly unstable, although definitely not
@@ -2520,8 +2539,8 @@ pages for more information and options.
implemented although the exact mechanics can still be worked
out. Beta releases are great tool to whet the appetites of
potential users by giving them a very realistic view of where
- your project is going in the very near future and can help
- keep interest by giving people
+ your project is going to be in the very near future and can
+ help keep interest by giving people
something.
@@ -2529,7 +2548,7 @@ pages for more information and options.
development releases
- Development release
is much more vague
+ Development release
is much a more vague
term than alpha
or beta
. I
usually choose to reserve the term for discussion of a
development branch although there are other ways to use the
@@ -2538,10 +2557,10 @@ pages for more information and options.
url="http://www.enlightenment.org">Enlightenment has
released nothing but development
releases. Most often, the term is used to describe releases
- that are not even to alpha or beta stages though and if I were
- to release a pre-alpha version of a piece of software in order
- to keep interest in my project live, this is probably how I
- would have to label it.
+ that are not even alpha or beta and if I were to release a
+ pre-alpha version of a piece of software in order to keep
+ interest in my project alive, this is probably how I would
+ have to label it.
@@ -2563,7 +2582,7 @@ pages for more information and options.
know to come and try it out and hopefully jump on board with
development. If everything is in order as described above, this
will be a quick and painless process. A quick announcement is all
- that it takes to put yourself on the free software communities
+ that it takes to put yourself on the free software community's
radar screen.
@@ -2611,7 +2630,7 @@ pages for more information and options.
page to post your project onto their site and into their
database. In addition to a large website, freshmeat provides a
daily newsletter that highlights all the days releases and
- reaches a huge audience (I skim it every night for any
+ reaches a huge audience (I personally skim it every night for any
interesting new releases).
@@ -2641,17 +2660,17 @@ pages for more information and options.
- Fogel's Guide to using CVS in the free software
- world
is much more than its subitle. In the publishers
+ Fogel's guide to using CVS in the free software
+ world
is much more than its subitle. In the publisher's
own words: Open Source Development with
CVS is one of the first books available that teaches
you development and implementation of Open Source
- software.
It includes the best reference and tutorial
- to CVS I have ever seen. It is the book that was so
- good that it prompted me to write this HOWTO because
- I thought the information it helped distribute was so important
- and useful. Please check it or by if you can and are seriously
- interested in running a free software project.
+ software. It also includes the best reference and
+ tutorial to CVS I have ever seen. It is the book that was
+ so good that it prompted me to write this
+ HOWTO because I thought the role it tried to serve was so
+ important and useful. Please check it or buy it if you can and
+ are seriously interested in running a free software project.
@@ -2677,14 +2696,15 @@ pages for more information and options.
While it only briefly talks about free software (and does it by
tiptoeing around the free software/open source issue with the
- term open code
), Lessig book is
- brilliant. Written by a lawyer, it talks about how regulation
- on the Internet is not done with law, but with the code itself
- and how the nature of the code will determine future
- freedoms. In addition to being a quick and enjoyable read, it
- gives some cool history describes how we
- need free software in a way more
- powerfully than anything I've read (outside of open code that only a
+ laywer could coin), Lessig's book is brilliant. Written by a
+ lawyer, it talks about how regulation on the Internet is not
+ done with law, but with the code itself and how the nature of
+ the code will determine the nature of future freedoms. In
+ addition to being a quick and enjoyable read, it gives some
+ cool history and describes how we need
+ free software in a way more powerfully than anything I've read
+ outside of RMS's
Right to Read.
@@ -2713,12 +2733,13 @@ pages for more information and options.
Although I have to honestly say that I am not the ESR fan that
I used to be, this book proved invaluable in getting me where I
am today. The essay that gives the book its title does a good
- job sketching the free software process and does an an amazing
- of job of making an argument for free software/open source
- development as making better software. The rest of the book has
- other articles, for the most part posted on his website, but
- it's nice thing to own in hard copy and something every free
- software/open source hacker should read.
+ job of sketching the free software process and does an an
+ amazing job of making an argument for free software/open source
+ development as a road to better software. The rest of the book
+ has other of ESR's articles, which for the most part are posted
+ on his website. Still, it's nice thing to own in hard copy and
+ something that every free software/open source hacker should
+ read.
@@ -2729,16 +2750,16 @@ pages for more information and options.
Web-Accessable Resources
- This is a list of the resources pertaining to this HOWTO that I've
- found most helpful in compiling this information. If you have
- more, please don't hesitate to email me at
+ This is a list of the web resources pertaining to this HOWTO that
+ I've found most helpful in compiling this information. If you know
+ of others that would help, please don't hesitate to email me at
mako@debian.org and we can look into getting it
- added on the list.
+ added to the list and represented in the HOWTO.
I'd recommend that any free software developer (or potential one)
- skim through these sites becaue they have a lot to say.
+ skim through these sites becaue they have each have a lot to say.
@@ -2763,14 +2784,17 @@ pages for more information and options.
In one of the better articles on the subject that I've read,
Monty sums up some of the major points I touch on including:
- starting a project, testing, documenation, orgazing a team and
+ starting a project, testing, documenation, organizing a team and
leadership, and several other topics. While more opiniated that
I try to be, I think its an important article that I found very
- helpful in writing this HOWTO and that I've tried to cite it in
- the places where I borrowed from it most. I have problems with
- much of the things written in the piece and I recommend you
- read at the same time you read Monty's
- article.
+ helpful in writing this HOWTO. I've tried to cite him in
+ the places where I borrowed from him most.
+
+
+
+ I have problems much of this piece and I recommend you read
+ at the same time you read Monty's
+ article for a good critique.
@@ -2790,9 +2814,9 @@ pages for more information and options.
A well written article although I think the title may have
- confused as many people as it helped. It offers a good
- description of how to design programs that will succeed and
- stay maintainable as they grow.
+ confused as many people as the rest of the essay helped. It
+ offers a good description of how to design programs that will
+ succeed and stay maintainable as they grow.
@@ -2804,26 +2828,26 @@ pages for more information and options.
I've found that one of the best resources that any free software
- developer has at his or her disposal is the advogato. If you
- haven't yet had a chance to visit the website, do.
+ developer has at his or her disposal is Advogato.org. If you haven't
+ yet had a chance to visit the
+ website, do.
- I have spent a lot of time on advogato and I've gone through and
- provided links to the articles that I think are of particular
- interest to anyone reading this HOWTO. I think that looking
- through these is important. I promise that you'll learn a lot. You
- will learn that my idea of how a free software project should be
- run is not the only idea about how such a
- project can be done. I think that's great.
+ I have spent a huge amount of time on advogato and I've gone
+ through and provided links to the articles that I think might be
+ of particular interest to anyone reading this HOWTO. I think that
+ skimming through these links can be helfpul and I promise that if
+ you do, you'll learn a lot. You will learn that my idea of how a
+ free software project should be run is not the
+ only idea. I think that's important.
If nothing else, there is way more
information on that website than I could ever fit into, or
reference from this HOWTO. I have listed what I think are the most
- relavant articles here with short descriptions.
+ relavant articles here with short descriptions that I've written.
@@ -2871,8 +2895,9 @@ pages for more information and options.
This article touches upon the "writing maintainable code"
- discussion that I try hard to avoid in my discussion. It's one
- of the better articles on the subject that I've found.
+ discussion that I try hard to avoid in my HOWTO. It's one of
+ the better (and most diplomatic) articles on the subject that
+ I've found.
@@ -2897,11 +2922,12 @@ pages for more information and options.
This article made me happy because it challenged many of the
problems that I had with Monty's article on LinuxProgramming. The
- author argues that Monty argues simply for the application of
- old project management techniques to free software projects
- instead of working with something new. I found his article to
- be extremely well thought out and I think its an essential read
- for any project manager.
+ author argues that Monty calls simply for the application of
+ old (proprietary software) project management techniques in
+ free software projects instead of working to come up with
+ something new. I found his article to be extremely well thought
+ out and I think it's an essential read for any free software
+ project manager.
@@ -2926,10 +2952,11 @@ pages for more information and options.
While the article is little more than a question, reading the
- answer to this question can help. In a lot of ways, this HOWTO
- acts as my answer to the question posed in this article but
- there are others, many of which might take issue with whats in
- this HOWTO. It's worth checking out.
+ answers to this question offered by advogato's readers can
+ help. In a lot of ways, this HOWTO acts as my answer to the
+ questions posed in this article but there are others, many of
+ which might take issue with whats is in this HOWTO. It's worth
+ checking out.
@@ -2957,11 +2984,12 @@ pages for more information and options.
url="http://www.advogato.org/article/72.html">another advogato
article. Although not about running a project, this
describes some of the ways that you can get started with free
- software development. I think this is an important article. If
- you are interested to become involved with free software, this
- article showcases some of the ways that you can do this without
- actually starting a project (something that I hope this HOWTO
- has demonstrated is not to be taken lightly).
+ software development without starting a project. I think this
+ is an important article. If you are interested in becoming
+ involved with free software, this article showcases some of the
+ ways that you can do this without actually starting a project
+ (something that I hope this HOWTO has demonstrated is not to be
+ taken lightly).
@@ -3010,9 +3038,9 @@ pages for more information and options.
- I didn't even have a section on naming in this HOWTO (See ) until Leslie Orchard's article reminded me
- of it. Thanks to Leslie for writing this article!
+ I didn't even have a section on project naming in this HOWTO
+ (See ) until Leslie Orchard's article
+ reminded me of it. Thanks to Leslie for writing this article!
@@ -3035,10 +3063,11 @@ pages for more information and options.
In this article, David Allen challengs the whole
- Major.Minor.Patch
versioning scheme. Its good to
- read this as you read . I
- liked the article and it describes some of the projects that I
- bring up in my discussion of verion numbering.
+ Major.Minor.Patch
version numbering scheme. Its
+ good to read this as you read . I liked the article and it
+ describes some of the projects that I bring up in my discussion
+ of verion numbering.