Skip to content

Commit

Permalink
Merge pull request #1262 from sbt/topic/readme
Browse files Browse the repository at this point in the history
Update CONTRIBUTING.md and README
  • Loading branch information
jsuereth committed Apr 14, 2014
2 parents b665b7e + fcdbfcf commit bc896a6
Show file tree
Hide file tree
Showing 4 changed files with 109 additions and 25 deletions.
96 changes: 80 additions & 16 deletions CONTRIBUTING.md
@@ -1,36 +1,99 @@
[Setup]: http://www.scala-sbt.org/release/docs/Getting-Started/Setup
[sbt-dev]: https://groups.google.com/d/forum/sbt-dev‎
[StackOverflow]: http://stackoverflow.com/tags/sbt
[Setup]: http://www.scala-sbt.org/release/docs/Getting-Started/Setup
[Issues]: https://github.com/sbt/sbt/issues
[sbt-dev]: https://groups.google.com/d/forum/sbt-dev‎
[subscriptions]: http://typesafe.com/how/subscription
[327]: https://github.com/sbt/sbt/issues/327

# Issues and Pull Requests
Issues and Pull Requests
========================

## New issues
When you find a bug in sbt we want to hear about it. Your bug reports play an important part in making sbt more reliable.

Please use the issue tracker to report confirmed bugs.
Do not use it to ask questions.
If you are uncertain whether something is a bug, please ask on StackOverflow or the sbt-dev mailing list first.
Effective bug reports are more likely to be fixed. These guidelines explain how to write such reports and pull requests.

When opening a new issue,
Preliminatries
--------------

* Please state the problem clearly and provide enough context.
+ Code examples and build transcripts are often useful when appropriately edited.
+ Show error messages and stack traces if appropriate.
* Minimize the problem to reduce non-essential factors. For example, dependencies or special environments.
* Include all relevant information needed to reproduce, such as the version of sbt and Scala being used.
- Make sure your sbt version is up to date.
- Search [StackOverflow] and [Issues] to see whether your bug has already been reported.
- Open one case for each problem.
- Proceed to the next steps for details.

Where to get help and/or file a bug report
------------------------------------------

sbt project uses GitHub issue as a publically visible todo list. Please open a GitHub issue only when asked to do so.

- If you need help with sbt, please ask on [StackOverflow] with the tag "sbt" and the name of the sbt plugin if any.
- If you run into an issue, have an enhancement idea, or a general discussion, bring it up to [sbt-dev] Google Group first.
- If you need faster response time, consider one of the [Typesafe subscriptions][subscriptions].

What to report
--------------

The developers need three things from you: **steps**, **problems**, and **expectations**.

### Steps

The most important thing to remember about bug reporting is to clearly distinguish facts and opinions. What we need first is **the exact steps to reproduce your problems on our computers**. This is called *reproduction steps*, which is often shortened to "repro steps" or "steps." Describe your method of running sbt. Provide `build.sbt` that caused the problem and the version of sbt or Scala that was used. Provide sample Scala code if it's to do with incremental compilation. If possible, minimize the problem to reduce non-essential factors.

Repro steps are the most important part of a bug report. If we cannot reproduce the problem in one way or the other, the problem can't be fixed. Telling us the error messages is not enough.

### Problems

Next, describe the problems, or what *you think* is the problem. It might be "obvious" to you that it's a problem, but it could actually be an intentional behavior for some backward compatibility etc. For complication errors, include stack trace. More raw info the better.

### Expectations

Same as the problems. Describe what *you think* should've happened.

### Notes

Add an optional notes section to describe your analysis.

### Subject

The subject of the bug report doesn't matter. A more descriptive subject is certainly better, but a good subject really depends on the analysis of the problem, so don't worry too much about it. "StackOverflowError while name hashing is enabled" is good enough.

### Formatting

If possible, please format code or console outputs.

On Github it's:

```scala
name := "foo"
```

On StackOverflow, it's:

```
<!-- language: lang-scala -->
name := "foo"
```

Here's a simple sample case: [#327][327].
Finally, thank you for taking the time to report a problem.

## Pull Requests
Pull Requests
-------------

Whether implementing a new feature, fixing a bug, or modifying documentation, please work against the latest development branch (currently, 0.13).
Binary compatible changes will be backported to a previous series (currently, 0.12.x) at the time of the next stable release.
See below for instructions on building sbt from source.

## Documentation
Documentation
-------------

Documentation fixes and contributions are welcome.
They are made via pull requests, as described in the previous section.
See below for details on getting sbt sources and modifying the documentation.

# Build from source
Build from source
=================

1. Install the current stable binary release of sbt (see [Setup]), which will be used to build sbt from source.
2. Get the source code.
Expand Down Expand Up @@ -73,7 +136,8 @@ See below for details on getting sbt sources and modifying the documentation.

4. If a project has `project/build.properties` defined, either delete the file or change `sbt.version` to `0.13.2-SNAPSHOT`.

## Building Documentation
Building Documentation
----------------------

The scala-sbt.org site documentation is built using sphinx and requires some external packages to be manually installed first:

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2008, 2009, 2010 Steven Blundy, Josh Cough, Mark Harrah, Stuart Roebuck, Tony Sloane, Vesa Vilhonen, Jason Zaugg
Copyright (c) 2008-2014 Typesafe Inc, Mark Harrah, Grzegorz Kossakowski, Josh Suereth, Indrajit Raychaudhuri, Eugene Yokota, and other contributors.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions NOTICE
@@ -1,5 +1,5 @@
Simple Build Tool
Copyright 2008, 2009, 2010 Mark Harrah, Jason Zaugg
sbt
Copyright (c) 2008-2014 Typesafe Inc, Mark Harrah, Grzegorz Kossakowski, Josh Suereth, Indrajit Raychaudhuri, Eugene Yokota, and other contributors.
Licensed under BSD-style license (see LICENSE)

Portions based on code from the Scala compiler. Portions of the Scala
Expand Down
32 changes: 26 additions & 6 deletions README.md
@@ -1,13 +1,33 @@
[Google Code]: http://code.google.com/p/simple-build-tool
[CONTRIBUTING]: CONTRIBUTING.md
[Setup]: http://www.scala-sbt.org/release/docs/Getting-Started/Setup
[FAQ]: http://www.scala-sbt.org/release/docs/faq
[Google Code]: http://code.google.com/p/simple-build-tool
[CONTRIBUTING]: CONTRIBUTING.md
[Setup]: http://www.scala-sbt.org/release/docs/Getting-Started/Setup
[FAQ]: http://www.scala-sbt.org/release/docs/faq
[sbt-dev]: https://groups.google.com/d/forum/sbt-dev‎
[StackOverflow]: http://stackoverflow.com/tags/sbt
[LICENSE]: LICENSE

# sbt 0.13
sbt
===

sbt is a build tool for Scala, Java, and more.
For general documentation, see http://www.scala-sbt.org/.

Issues and Pull Requests
------------------------

Please read [CONTRIBUTING] carefully before opening a GitHub Issue.
The short version: try [StackOverflow] and [sbt-dev]. Don't open an Issue.

sbt 0.13
--------

This is the 0.13.x series of sbt.

* [Setup]: Describes getting started with the latest binary release.
* See [CONTRIBUTING] for how to build from source, open an issue, fix or add documentation, or submit a pull request.
* [FAQ]: Explains how to get help and more.
* [Google Code]: hosts sbt 0.7.7 and earlier versions

license
-------

See [LICENSE].

0 comments on commit bc896a6

Please sign in to comment.