Skip to content

Commit

Permalink
Migrate main content to asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinesd committed Jan 31, 2015
1 parent f539f0f commit f56269e
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 71 deletions.
File renamed without changes.
70 changes: 70 additions & 0 deletions contribute.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
---
layout: default
---

= Guidelines for contributing to CDI via the Expert Group (EG)

== EG Membership

We develop CDI using an open mailing list. You don’t have to be an official member of the expert group to be part of the CDI community. We take into account all input from any member of the list

* Primary mailing list: https://lists.jboss.org/mailman/listinfo/cdi-dev[https://lists.jboss.org/mailman/listinfo/cdi-dev]
* CDI 1.1 JCP page: http://jcp.org/en/jsr/summary?id=346[http://jcp.org/en/jsr/summary?id=346]
* IRC: irc://freenode.net/#cdi-dev[irc://freenode.net/#cdi-dev]
* Twitter: https://twitter.com/#!/cdispec[https://twitter.com/#!/cdispec]

You should note that by using any of the communication mechanisms associated with CDI (including the mailing list, the JIRA issue tracker and the github repository) you agree that:

*

for all code provided, you are licensing the code under the http://www.apache.org/licenses/LICENSE-2.0.html[Apache License, Version 2].

*

for all other ideas provided, the provider waives all patent and other intellectual property rights inherent in such information.

== Resources

In addition to the mailing lists, we use JIRA to track issues https://issues.jboss.org/browse/CDI[https://issues.jboss.org/browse/CDI]. If you want to register an error in the specification (JIRA calls this a _Bug_), request a clarification (JIRA calls this a _Clarification_) or request a new feature (JIRA calls this a _Feature Request_), please create an issue.

When you create an issue please set the Affects Version to 1.2 and do not set a Fix Version. The CDI specification lead (Pete Muir or Antoine Sabot-Durand) will check the issue, and either request clarification if the report is not clear, or raise it with the EG to discuss whether it should be fixed for 2.0.

The current draft of the specification is available on github at http://github.com/cdi-spec/cdi[http://github.com/cdi-spec/cdi] - you are welcome to clone this repository, and create patches and submit pull requests if you wish. It is the duty of the specification lead to ensure that the specification is consistent and well written, so expect some backwards and forwards before your patch is accepted!

Having crafted your changes, please push them to your fork on github, and then create a pull request. This creates an easy forum in which the EG can review your changes.

== Guidelines for interacting with the EG

We hope the EG can be a friendly and informal place to work, and as such we have laid out a few guidelines which it will help if you follow.

.

Consider whether you want to send an email, or add a comment in JIRA. If you wish to discuss the merits of a change or request more explanation of a proposed change, then send an email. If you want to make a technical proposal or propose an API design, add a comment to an issue. There are no hard and fast rules about when to send an email vs add a comment, but remember that comments are there for posterity, and can help people understand why certain design decision was made.

.

Try to make every post or comment say something meaningful. Endless "I agree" or "+1" emails aren't that useful and distract from the real discussion about API improvements. Of course, if you strongly disagree with a proposal, please speak up, but in general silence is taken as approval! IRC is probably a better place if you want an informal exchange.

.

Please try keep the EG a pleasant place - there is no need for rants, swearing or personal comments - these cannot help the specification in anyway. If you want to make an argument, back it up with concrete statements and examples.

We try to reach a consensus decision on all issues. If we can't reach a consensus, we use polls to see what the wider community thinks. For issues on which a consensus still cannot be reached, and require a vote, we take the EG list from the JCP as the voting group. So far, whilst developing CDI 1.1, we only had to vote on one issue.

== Issue Resolution Rules

For minor issues where there is obvious fix and no one from the EG has commented, a pull request will be created and once reviewed by the spec lead, merged into master.

For minor issues where there is discussion about how to fix, and for all major issues, a pull requests created when it appears that a consensus has been reached in the EG. Normally, the pull request will not be merged for at least 2 weeks, giving the EG time to review. If issues are raised by the EG then these will be addressed and the 2 week period restarted.

If the EG cannot reach consensus, then a simple majority will decide the outcome (as determined by the spec lead). A similar 2 week period applies.

Close to submission deadlines, the 2 week period may be truncated.

== Community Sponsored Issues

There are a number of issues which have merit (i.e. are addressing a valid problem/use case for CDI) but which have not been identified as a priority by the spec lead. If an EG member wishes to see this issue resolved in the spec, then they can sponsor the issue. Practically this means that the sponsor:

* is responsible for the spec changes (with help/review from spec lead)
* is responsible for TCK tests (help from TCK lead, review from spec lead)
* is not responsible for implementing the feature in the RI
68 changes: 0 additions & 68 deletions contribute.md

This file was deleted.

6 changes: 3 additions & 3 deletions index.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,16 @@ layout: base
= partial('cdi2.adoc')
.tab-pane.fade#overview
h2 What is CDI?
= partial('cdi_1_0.md')
= partial('cdi_1_0.adoc')
markdown:
Latest Release
--------------

The latest release of CDI is 1.1. You can [download](http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html) the spec or [browse the javadoc](http://docs.jboss.org/cdi/api/1.1/).
The latest release of CDI is 1.2. You can [download](http://docs.jboss.org/cdi/spec/1.2/cdi-spec.html) the spec or [browse the javadoc](http://docs.jboss.org/cdi/api/1.2/).

.tab-pane.fade#cdi1_0
h2 CDI 1.0
= partial('cdi_1_0.md')
= partial('cdi_1_0.adoc')
.tab-pane.fade#servers
p
|Below is the current list of servers supporting CDI, also listed is the implementation used.
Expand Down

0 comments on commit f56269e

Please sign in to comment.