Apache Commons Etiquette

This page describes and attempts to explain some of the peculiarities of Apache Commons. This is etiquette defined by the community rather than the formal rules (for those see http//commons.apache.org/commons/charter.html). This page was created (after several requests for information) to satisfy developers and committers rather than users. (But if anyone wants to add user etiquette, that'd be cool (smile)

The wiki seemed like a good place where this could be informally developed by the community. It might become a web page later (and then again, it might not).

The information contained in this page is unoffical advice rather than rules that have been officially adopted by the Commons team. It was founded by observations of the goings on in the commons from the subproject's creation till the present.


Mailing Lists

The commons components share just two lists. Questions about components are best asked on user@commons. Development is organized on dev@commons. Before posting questions to the list, users are requested to search the archives to see if the question has been answered before.

When sending mail, please add a prefix containing the name of the component. For example, if the mail concerns *commons-foo*, the subject should be prefixed with *\[foo\]*. The volumes on the development list are high. This can be difficult to manage without using filters to sort the mail. Most email clients allow filtering on subject and this convention allow developers to pick out the components they are interested in more quicky.  


The Sandbox

The sandbox is a space provided for the development of experimental code by existing committers. It is divided into components.

Any ASF committer (not just Apache Commons committers) has the right ask for karma (commit access) and have it granted. The right place to ask is on the dev mailing list.

Components cannot be released from the sandbox. This means no binaries posted anywere on the apache site as "0.x" releases, as this implies that Apache supports the released code. Users of sandbox code are expected to extract the latest source from the source code repository and build the code themselves.

Commit access to the sandbox is unfortunately not available to people who are not existing ASF committers, no matter how good their idea. Such projects are generally encouraged to start somewhere like sourceforge.net. Once a solid community has been established and existing projects are using the component, it may be possible to integrate the project direct into commons if the project developers feel that is appropriate, and the commons community feels the component is a good fit with commons goals.

Sandbox Etiquette

Committers have karma for the whole sandbox. This means that a committer could alter any component. But we're all grown ups (right?) and so we'll play nicely together (right?). The right thing to do is to ask on the list or talk to the owners of the component (see the STATUS file) before diving in. The owners may not be still subscribed to the dev mailing list and so you might need to contact them directly.

A little patience and discussion in this will avoid flames later (smile)

Sandbox Oversight

Oversight for the sandbox is provided by the Commons team. Oversight means responsibility for ensuring that everything in the sandbox complies with Apache Software Foundation policies. Though (it is to be hoped that) committers should be able to be trusted, in the last resort the Commons team reserves the right to remove offending material from the source code repository.

If questionable material is found, the right way to proceed is to first raise the matter on the dev mailing list. The community will form a judgement about the material and the committers will be able to respond. It's a good idea to inform the committers directly (in case they are not on the list). It's also a good idea to copy the Commons PMC.


The Commons Proper

The Commons Proper consists of small, reusable components each developed independently.

Commons Committers

The commons proper is governed by the same membership rules as any other jakarta subproject. That means committers are elected. Unlike the sandbox, there are no automatic rights for existing Apache committers.

On the other hand, the barrier to entry for existing Apache committers has traditionally been pretty low. If you express an interest, show willing by creating a few patches and you're known to existing committers, there's usually no problem. VOTEs proposed by commons committers for existing Apache committers listing their achievements have (in the past) been passed very quickly.

Commons Etiquette

Every commons committer has karma to every component. But a point of etiquette (enforced by the charter) is that each committer who commits to a component must add their name to the STATUS file for that component. It's also good form to post a message saying 'hi, i'd like to get involved with component foo' before you dive in. Traditionally, adding your name to the STATUS file is a committers first commit on a component.

For components that use Maven as their build tool (and that is most of them now), you should add your name to the developers list in the project.xml file rather than the STATUS file if you intend to work on a component.

VOTEs and POLLS

A VOTE is an official decision thread. Anyone can express a preference (by indicating +1, +0, -0 or -1 in the traditional manner) but only some votes are binding. All are encouraged to VOTE but traditionally (to ease the work required to tally the vote) (non-binding) is added by those who know their votes are non-binding. Only votes from Commons PMC members are binding.

The dev mailing list is a busy place. Very much a bazaar rather than a Cathedral. This means that VOTE threads have a habit of petering out. It a good idea to post a {{\[RESULT\]\[VOTE\]}} which counts the binding VOTEs and tells people the result. The tally should separate binding from non-binding VOTES.  It is also good to place a time limit on \[VOTE\] threads.  Finally, VOTE threads often digress into interesting discussions not directly related to the VOTE iteslf.  In these cases, it is better to start new threads with appropriate subject headers for the side discussions.  This makes it easier to navigate the list archives and also keeps the VOTE thread on track (or leads to it being stopped, where appropriate).

A POLL is an unofficial decision thread. These are useful for gauging the general feeling of the broader user community. Again, preferences should be expressed in the usual fashion. In this case, there is no need to indicate non-binding (since none are!).


Promotion

Promotion is the process by which components move from the sandbox into the commons proper.

Promotion to the commons proper is not the only route out of the sandbox. The commons proper isn't always the best place for all components from the sandbox. There isn't any reason why a component couldn't move directly from the sandbox to become a project or a subproject. At least one component has moved from the sandbox to sourceforge and then finally back to the incubator.

Promotion is basically a beauty contest. If the component can win enough votes and few enough people vote against it, then the component is promoted. But there is one thing that is most definitely required:

There some points of etiqutte and a few criteria that (though they are not rules) often seem to influence the voting.

Ettiquette - Proposing A Promotion VOTE