Skip to content

Commit

Permalink
Merge pull request #658 from mkurz/rename_main
Browse files Browse the repository at this point in the history
Rename master branch to main
  • Loading branch information
mkurz authored Feb 6, 2022
2 parents 16febcd + 61ab10c commit e6c79a7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was originally copied from https://github.com/playframework/playframework/blob/master/.scalafmt.conf
# This file was originally copied from https://github.com/playframework/playframework/blob/main/.scalafmt.conf
version = 3.4.2
runner.dialect = scala213
align.preset = more
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ Before making a contribution, it is important to make sure that the change you w
* Java APIs should go to `framework/play/src/main/java`, package structure is `play.myapipackage.xxxx`
* Scala APIs should go to `framework/play/src/main/scala`, where the package structure is `play.api.myapipackage`
* Features are forever, always think about whether a new feature really belongs to the core framework or if it should be implemented as a module
* Code must conform to standard style guidelines and pass all tests (see [validatePullRequest](https://github.com/playframework/playframework/blob/master/framework/validatePullRequest))
* Code must conform to standard style guidelines and pass all tests (see [validatePullRequest](https://github.com/playframework/playframework/blob/main/framework/validatePullRequest))
6. New files must:
* Have a Typesafe copyright header in the style of ``Copyright (C) 2009-2015 Typesafe Inc. <http://www.typesafe.com>``.
* Not use ``@author`` tags since it does not encourage [Collective Code Ownership](http://www.extremeprogramming.org/rules/collective.html).
3. Ensure that your commits are squashed. See [working with git](https://playframework.com/documentation/latest/WorkingWithGit) for more information.
4. Submit a pull request.

If the pull request does not meet the above requirements then the code should **not** be merged into master, or even reviewed - regardless of how good or important it is. No exceptions.
If the pull request does not meet the above requirements then the code should **not** be merged into main, or even reviewed - regardless of how good or important it is. No exceptions.

The pull request will be reviewed according to the [implementation decision process](https://playframework.com/community-process#Implementation-decisions).
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Play Slick

[![Build Status](https://travis-ci.org/playframework/play-slick.png?branch=master)](https://travis-ci.org/playframework/play-slick) [![codecov.io](https://codecov.io/github/playframework/play-slick/coverage.svg?branch=master)](https://codecov.io/github/playframework/play-slick?branch=master)
[![Build Status](https://travis-ci.org/playframework/play-slick.png?branch=main)](https://travis-ci.org/playframework/play-slick) [![codecov.io](https://codecov.io/github/playframework/play-slick/coverage.svg?branch=main)](https://codecov.io/github/playframework/play-slick?branch=main)

The Play Slick module makes [Slick] a first-class citizen of [Play]. It consists of two features:

Expand Down
6 changes: 3 additions & 3 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Releasing a new version of play-slick is truly simple.
That will start the build. The output should be similar to

```shell
play ▶ [] ~/deploy$ ./release --project play-slick --branch master --tag 5.0.0
This will release play-slick from branch master using JDK8, continue? [y/n] y
play ▶ [] ~/deploy$ ./release --project play-slick --branch main --tag 5.0.0
This will release play-slick from branch main using JDK8, continue? [y/n] y
java version "1.8.0_31"
...
```
Expand All @@ -33,7 +33,7 @@ Once the binaries are successfully deployed, you will be prompted if you wish to
[info] Setting version to '1.0.2-SNAPSHOT'.
[info] Reapplying settings...
[info] Set current project to play-slick-root (in build file:/home/play/deploy/play-slick/)
[info] [master fa73a4f] Setting version to 1.0.2-SNAPSHOT
[info] [main fa73a4f] Setting version to 1.0.2-SNAPSHOT
[info] 1 file changed, 1 insertion(+), 1 deletion(-)
Push changes to the remote repository (y/n)? [y]
```
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/working/scalaGuide/main/sql/slick/PlaySlick.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ slick.dbs.default.db.dataSourceClass = "slick.jdbc.DatabaseUrlDataSource"
slick.dbs.default.db.properties.driver = "org.postgresql.Driver"
```

On some platforms, such as Heroku, you may [substitute](https://github.com/lightbend/config/blob/master/HOCON.md#substitution-fallback-to-environment-variables) the `JDBC_DATABASE_URL` environment variable, which is in the format `jdbc:vendor://host:port/db?args`, if it is available. For example:
On some platforms, such as Heroku, you may [substitute](https://github.com/lightbend/config/blob/main/HOCON.md#substitution-fallback-to-environment-variables) the `JDBC_DATABASE_URL` environment variable, which is in the format `jdbc:vendor://host:port/db?args`, if it is available. For example:

```conf
slick.dbs.default.profile="slick.jdbc.PostgresProfile$"
Expand Down

0 comments on commit e6c79a7

Please sign in to comment.