Skip to content

Commit 5988765

Browse files
committed
redirect contributing, remove from navbar
1 parent 74df079 commit 5988765

20 files changed

+24
-1225
lines changed

_config.yml

-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ collections:
4242
output: false
4343
events:
4444
output: false
45-
contribute_resources:
46-
output: false
4745
downloads:
4846
output: true
4947
posts:

_contribute_resources/1-documentation.md

-6
This file was deleted.

_contribute_resources/2-bug-fixes.md

-6
This file was deleted.

_contribute_resources/3-code-reviews.md

-8
This file was deleted.

_contribute_resources/4-core-libraries.md

-6
This file was deleted.

_contribute_resources/5-ide-and-build-tools.md

-6
This file was deleted.

_contribute_resources/6-compiler-language.md

-6
This file was deleted.

_data/nav-header.yml

-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
url: /community/
77
- title: Libraries
88
url: https://index.scala-lang.org
9-
- title: Contribute
10-
url: /contribute/
119
- title: Blog
1210
url: /blog/

contribute/bug-reporting-guide.md

+2-84
Original file line numberDiff line numberDiff line change
@@ -1,88 +1,6 @@
11
---
22
title: Bug Reporting
3-
layout: inner-page-no-masthead
43
# permalink: /contribute/bug-reporting-guide/
5-
includeTOC: true
4+
redirect_to:
5+
- https://docs.scala-lang.org/contribute/bug-reporting-guide.html
66
---
7-
8-
The Scala compiler and standard library bug tracker is located at [https://github.com/scala/bug](https://github.com/scala/bug). Before you submit a bug make sure that it is certainly a bug by following instructions in *Is it a Bug?*.
9-
10-
## Is it a Bug?
11-
12-
The first step in identifying a bug is to identify which component of the Scala distribution is affected. First, ensure that your issue falls within any of the following categories:
13-
14-
- **Library** bugs typically manifest themselves as run-time exceptions, or as *unexpected*/*unintuitive* behavior of Scala Standard Library methods.
15-
- **Compiler** errors are manifested as compile time exceptions, unexpected behavior of your code at run time, or invalid behavior of the type system.
16-
- **Reflection** are bugs that appear in the ‘scala.reflect’ package. For the *reflection* bugs , the same rules apply as for the *library* bugs.
17-
- **Scaladoc** bugs are manifested as a logical problems in the information it presents (that is, the displayed information is incorrect, such as an incorrect subclassing relationship), or incorrect behavior of the user interface. If you'd like to suggest a change in the content of the documentation, please submit a pull request (possible to do in the browser using GitHub, which is easier and faster than filing a bug). Please file a bug about the content of documentation only if you cannot provide a suggestion for its fix.
18-
19-
If your issue is related to any of the following external projects, make sure to use its appropriate issue tracker:
20-
21-
- [Akka](https://doc.akka.io/docs/akka/current/project/issue-tracking.html)
22-
- [Play!](https://github.com/playframework/Play20/issues)
23-
- [Slick](https://github.com/slick/slick/issues)
24-
- [Scala IDE](https://scala-ide-portfolio.assembla.com/spaces/scala-ide/support/tickets)
25-
- [sbt](https://github.com/sbt/sbt/issues)
26-
27-
The following are generally considered to be bugs:
28-
29-
- **Scala Compiler Crash** If the Scala compiler is crashing with an internal error (compile time exception) you have certainly found a bug, and can move on to the next section of this document on reporting confirmed bugs.
30-
- **Regressions** If some code snippet worked in a previous Scala release, but now no longer compiles or results in an exception, it is probably a regression.
31-
- **Verify Errors** happen when the compiled Scala program is loaded to the Java Virtual Machine. If you're getting a *Verify Error*, you've usually found a bug. Make sure first that your project is not using stale `.class` files before reporting a new issue.
32-
33-
If you have a code snippet that is resulting in bytecode which you believe is behaving incorrectly, you may or may not have found a bug. Before reporting your issue, please attempt the following:
34-
35-
* Make sure you minimize your problem. To correctly minimize the problem follow the following instructions:
36-
37-
1. Gradually take apart the offensive code snippet until you believe you have the simplest representation of your problem.
38-
39-
2. Ensure that you have decoupled your code snippet from any library that could be introducing the offensive behavior. One way to achieve this is to try to recompile the offensive code snippet in isolation, outside of the context of any complex build environment. If your code depends on some strictly Java library and source code is available for it, make sure that the latter is also minimized.
40-
41-
3. Make sure you are compiling your project from a clean slate. Your problem could be related to separate compilation, which is difficult to detect without a clean build with new `.class` files.
42-
43-
4. If you have encountered a bug while building your code in the IDE, then please reproduce it on the command line. The same rule applies for build tools like `sbt` or `ant`.
44-
45-
5. If you want to file an improvement in the issue tracker please discuss it first on one of the mailing lists. They offer much bigger audience than issue tracker. The latter is not suitable for long discussions.
46-
47-
* Keep in mind that the behavior you are witnessing could be intended. Good formal resources for verifying whether or not the language behavior is intended is either in the [Scala Improvement Proposal Documents](https://docs.scala-lang.org/sips/) or in the [Scala Language Specification](https://www.scala-lang.org/files/archive/spec/2.13/). If in doubt, you may always ask on the [Community Category](https://contributors.scala-lang.org/c/community) or [Stack Overflow](https://stackoverflow.com/questions/tagged/scala).
48-
49-
In general, if you find yourself stuck on any of these steps, asking on [Scala Contributors](https://contributors.scala-lang.org/) can be helpful:
50-
51-
- For unexpected behavior use the [Community Category](https://contributors.scala-lang.org/c/community).
52-
- For compiler bugs use the [Compiler Category](https://contributors.scala-lang.org/c/compiler).
53-
54-
* Examples of exceptions reported by the compiler which usually are not bugs:
55-
1. `StackOverflowError` is typically not a bug unless the stacktrace involves the internal packages of the compiler (like `scala.tools.nsc...`). Try to increase the Java stack size (`-Xss`), in most of the cases it helps.
56-
2. `AbstractMethodError` can occur when you did not recompile all the necessary Scala files (build tools, like `sbt`, can prevent that from happening) or you are mixing external libraries compiled for different Scala versions (for example one uses `2.10.x` and the other `2.11.x`).
57-
58-
## Reporting Confirmed Bugs is a Sin
59-
60-
Before reporting your bug, make sure to check the issue tracker for other similar bugs. The exception name or a compiler phase are the best keywords to search for. If you are experiencing unexpected behavior search for method/class names where it happens. Your issue might already be reported, and a workaround might already be available for you take advantage of. If your issue *is* reported, be sure to add your test case as a comment if it is different from any of the existing ones.
61-
62-
**Note:** reporting a bug that already exists creates an additional overhead for you, the Scala Team, and all people that search the issue database. To avoid this inconvenience make sure that you thoroughly search for an existing issue.
63-
64-
If you cannot find your issue in the issue tracker, create a new bug. The details about creating a bug report are in the following section.
65-
66-
## Creating a Bug Report
67-
68-
Please make sure to fill in as many fields as possible. Make sure you've indicated the following:
69-
70-
1. **Exact Scala version** that you are using. For example, `2.10.1` or `2.11.0-RC`. If the bug happens in multiple versions indicate all of them.
71-
2. **The component** that is affected by the bug. For example, the Standard Library, Scaladoc, etc.
72-
3. **Labels** related to your issue. For example, if you think your issue is related to the typechecker, and if you have successfully minimized your issue, label your bug as "typechecker" and "minimized". Issue tracker will suggest names for existing labels as you type them so try not to create duplicates.
73-
4. **Running environment**. Are you running on Linux? Windows? What JVM version are you using?
74-
75-
In order for us to quickly triage the bug that you've found, it's important that the code snippet which produces the observed issue is as minimized as possible. For advice on minimizing your code snippet, please see the appropriate subsection of the above (Is it a Bug?).
76-
77-
### Description
78-
79-
In the description of your issue, be as detailed as you can. Bug reports which have the following information included are typically understood, triaged, and fixed very quickly:
80-
81-
1. Include a test case (minimized if possible) enabling us to reproduce the problematic behavior. Include your test case (and output) in proper formatting `{code}` blocks:
82-
83-
{code}Here you put your classes{code}
84-
85-
2. The expected output.
86-
3. The actual output, including the stacktrace.
87-
4. Related discussion on the mailing lists, if applicable.
88-
5. If you have already looked into the issue provide interesting insights or proposals for fixing the issue.

contribute/codereviews.md

+2-50
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,6 @@
11
---
22
title: Code Review Contributions
3-
layout: inner-page-no-masthead
43
# permalink: /contribute/codereviews/
5-
includeTOC: true
4+
redirect_to:
5+
- https://docs.scala-lang.org/contribute/codereviews.html
66
---
7-
## Code Review Contributions
8-
9-
In addition to [bug fixing](/contribute/guide.html), you can help us review
10-
[waiting pull requests](#pull-requests-awaiting-comment).
11-
This is also a good (and recommended) way to get to know the feel of
12-
the bug-fixing and submissions process before jumping in with your
13-
own pull requests.
14-
15-
16-
### Review Guidelines
17-
18-
[Code of Conduct reminder]({{ site.baseurl }}/conduct.html)
19-
20-
* Keep comments on-topic, concise and precise.
21-
* Attach comments to particular lines or regions they pertain to whenever possible.
22-
* Short code examples are often more descriptive than prose.
23-
* If you have thoroughly reviewed the PR and thought through all angles, LGTM (Looks Good To Me) is the preferred acceptance response.
24-
* Additional reviews should try to offer additional insights: "I also thought about it from this angle and it still looks good.."
25-
* Above all, remember that the people you are reviewing might be reviewing your PRs one day too.
26-
* If you are receiving the review, consider that the advice is being given to make you, and Scala, better rather than as a negative critique. Assume the best, rather than the worst.
27-
28-
## Pull Requests Awaiting Comment
29-
30-
<div class="container">
31-
<div class="row">
32-
<div class="span4 doc-block">
33-
<h4><a href="https://github.com/scala/scala/pulls">scala/scala</a></h4>
34-
<p>Scala bug fixes and changes in the language, core libs and included tools.</p>
35-
</div>
36-
<div class="span4 doc-block">
37-
<h4><a href="https://github.com/scala/scala.github.com/pulls">scala/scala.github.com</a></h4>
38-
<p>Scala documentation site.</p>
39-
</div>
40-
</div>
41-
42-
<div class="row">
43-
<div class="span4 doc-block">
44-
<h4><a href="https://github.com/scala/scala-lang/pulls">scala/scala-lang</a></h4>
45-
<p>The Scala language web site.</p>
46-
</div>
47-
<div class="span4 doc-block">
48-
<h4><a href="https://github.com/scala">All Scala GitHub Projects</a></h4>
49-
<p>For other PRs, follow the scala project from here.</p>
50-
</div>
51-
</div>
52-
</div>
53-
54-
Also note that the [Tools contributions](/contribute/tools.html) page has more projects that will generate pull requests.

contribute/corelibs.md

+2-15
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
---
22
title: Core Library Contributions
3-
layout: inner-page-no-masthead
43
# permalink: /contribute/corelibs/
5-
includeTOC: true
4+
redirect_to:
5+
- https://docs.scala-lang.org/contribute/corelibs.html
66
---
7-
## Core Library Contributions
8-
9-
There are several options for contributing to Scala's core libraries. You can:
10-
11-
* Help with [Documentation](/contribute/documentation.html).
12-
* [Report Bugs or Issues](/contribute/bug-reporting-guide.html) against the core libraries.
13-
* [Fix Bugs or Issues](/contribute/guide.html) against the
14-
[reported library bugs/issues](https://github.com/scala/bug).
15-
16-
### Significant changes
17-
18-
For significant new functionality or a whole new API to be considered for inclusion in the core Scala distribution,
19-
please take into account [https://github.com/scala/scala-dev/issues/661] before doing so.

contribute/documentation.md

+2-53
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,6 @@
11
---
22
title: Documentation Contributions
3-
layout: inner-page-no-masthead
43
# permalink: /contribute/documentation/
5-
includeTOC: true
4+
redirect_to:
5+
- https://docs.scala-lang.org/contribute/documentation.html
66
---
7-
## Contributing Documentation to the Scala project
8-
9-
There are several ways you can help out with the improvement of Scala documentation. These include:
10-
11-
* API Documentation in Scaladoc
12-
* Guides, Overviews, Tutorials, Cheat Sheets and more on the docs.scala-lang.org site
13-
* Updating scala-lang.org
14-
15-
Please read this page, and the pages linked from this one, fully before contributing documentation. Many of the questions you have will be answered in these resources. If you have a question that isn't answered, feel free to ask on the [Scala Contributors](https://contributors.scala-lang.org/) mailing list and then, please, submit a pull request with updated documentation reflecting that answer.
16-
17-
**General requirements** for documentation submissions include spell-checking all written language, ensuring code samples compile and run correctly, correct grammar, and clean formatting/layout of the documentation.
18-
19-
Thanks
20-
21-
### API Documentation (Scaladoc)
22-
23-
The Scala API documentation lives with the scala project source code. There are many ways you can help with improving Scaladoc, including:
24-
25-
* [Log issues for missing scaladoc documentation](/contribute/scala-standard-library-api-documentation.html#contribute-api-documentation-bug-reports) -
26-
Please *follow the issue submission process closely* to help prevent duplicate issues being created.
27-
* [Claim Scaladoc Issues and Provide Documentation](/contribute/scala-standard-library-api-documentation.html) - please claim issues prior to working on a specific scaladoc task to prevent duplication of effort. If you sit on an issue for too long without submitting a pull request, it will revert back to unassigned and you will need to re-claim it.
28-
* You can also just
29-
[submit new Scaladoc](/contribute/scala-standard-library-api-documentation.html)
30-
without creating an issue, but please look to see if there is an issue already submitted for your task and claim it if there is. If not, please post your intention to work on a specific scaladoc task on [Scala Contributors](https://contributors.scala-lang.org/) so that people know what you are doing.
31-
32-
### The Main Scala Documentation Site
33-
34-
[docs.scala-lang.org](https://docs.scala-lang.org/) houses the primary source of written, non-API documentation for Scala. It's a GitHub project that you can fork and submit pull requests from. It includes:
35-
36-
* Overviews
37-
* Tutorials
38-
* Conversion Guides from Other Languages
39-
* Cheat Sheets
40-
* A Glossary
41-
* The Scala Style Guide
42-
* The Scala Language Specification
43-
* SIP (Scala Improvement Process) Proposals
44-
and more
45-
46-
Please read [contributing to the docs.scala-lang.org site](https://docs.scala-lang.org/contribute.html) through before embarking on changes. The site uses
47-
the [Jekyll](https://jekyllrb.com/) markdown engine so you will need to follow the instructions to get that running as well.
48-
49-
### Updating scala-lang.org
50-
51-
Additional high-level documentation (including documentation on contributing
52-
to Scala and related projects) is provided on the main
53-
[Scala Language site](https://scala-lang.org), and is also kept in the
54-
[scala-lang GitHub project](https://github.com/scala/scala-lang) which may be forked to create pull requests.
55-
56-
Please read both the
57-
[docs.scala-lang.org contribution](https://docs.scala-lang.org/contribute.html) document and the [scala-lang.org GitHub README](https://github.com/scala/scala-lang#scala-langorg) before embarking on any changes to the Scala language site, as it uses the same Jekyll markdown tool and many of the same conventions as the Scala documentation site.

0 commit comments

Comments
 (0)