Skip to content

Commit

Permalink
Migrates from 47deg to 47degrees GH organization (#442)
Browse files Browse the repository at this point in the history
* Migrates from 47deg to 47degrees GH organization

* Adds codeowners

* Overrides org-policies default settings
  • Loading branch information
juanpedromoreno authored Mar 9, 2020
1 parent b6d1e92 commit 4b03d1f
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@47degrees/bespin
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ deploy_key
.DS_Store
secring.gpg
secret_key.asc

# Metals Specific
.bloop/
.metals/
project/.bloop/
project/metals.sbt

# Visual Studio Code Specific
.vscode/
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dist: trusty
jdk:
- oraclejdk8
scala:
- 2.12.9
- 2.12.10

before_install:
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Contributing

Discussion around sbt-microsites happens in the [Gitter channel](https://gitter.im/47deg/sbt-microsites) as well as on
[GitHub issues](https://github.com/47deg/sbt-microsites/issues) and [pull requests](https://github.com/47deg/sbt-microsites/pulls).
[GitHub issues](https://github.com/47degrees/sbt-microsites/issues) and [pull requests](https://github.com/47degrees/sbt-microsites/pulls).

Feel free to open an issue if you notice a bug, have an idea for a feature, or have a question about
the code. Pull requests are also welcome.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[comment]: # (Start Badges)

[![Build Status](https://travis-ci.org/47deg/sbt-microsites.svg?branch=master)](https://travis-ci.org/47deg/sbt-microsites) [![Maven Central](https://img.shields.io/badge/maven%20central-1.1.2-green.svg)](https://repo1.maven.org/maven2/com/47deg/sbt-microsites_2.12_1.0) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47deg/sbt-microsites/master/LICENSE) [![Join the chat at https://gitter.im/47deg/sbt-microsites](https://badges.gitter.im/47deg/sbt-microsites.svg)](https://gitter.im/47deg/sbt-microsites?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![GitHub Issues](https://img.shields.io/github/issues/47deg/sbt-microsites.svg)](https://github.com/47deg/sbt-microsites/issues)
[![Build Status](https://travis-ci.org/47degrees/sbt-microsites.svg?branch=master)](https://travis-ci.org/47degrees/sbt-microsites) [![Maven Central](https://img.shields.io/badge/maven%20central-1.1.2-green.svg)](https://repo1.maven.org/maven2/com/47deg/sbt-microsites_2.12_1.0) [![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/47degrees/sbt-microsites/master/LICENSE) [![Join the chat at https://gitter.im/47deg/sbt-microsites](https://badges.gitter.im/47deg/sbt-microsites.svg)](https://gitter.im/47deg/sbt-microsites?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![GitHub Issues](https://img.shields.io/github/issues/47deg/sbt-microsites.svg)](https://github.com/47deg/sbt-microsites/issues)

[comment]: # (End Badges)

Expand Down Expand Up @@ -34,11 +34,11 @@ Finally, to enable the plugin, add this to your `build.sbt` file:
enablePlugins(MicrositesPlugin)
```

We recommend taking a look at the `Getting Started` section in the [documentation](https://47deg.github.io/sbt-microsites/docs/) since there are some prerequisites that are needed to build your microsite.
We recommend taking a look at the `Getting Started` section in the [documentation](https://47degrees.github.io/sbt-microsites/docs/) since there are some prerequisites that are needed to build your microsite.

# Documentation

Microsites comes with a range of options to customize and configure your project's site. Please visit the [documentation](https://47deg.github.io/sbt-microsites/docs/) section for more information.
Microsites comes with a range of options to customize and configure your project's site. Please visit the [documentation](https://47degrees.github.io/sbt-microsites/docs/) section for more information.

# sbt-microsites in the wild

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/docs/publish-with-travis.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ This is the `.travis.yml` in `sbt-microsite` project:
```yaml
language: scala
scala:
- 2.12.9
- 2.12.10
jdk:
- oraclejdk8
before_install:
Expand Down
13 changes: 11 additions & 2 deletions project/ProjectPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import sbt.Keys._
import sbt.ScriptedPlugin.autoImport._
import sbtorgpolicies.OrgPoliciesPlugin
import sbtorgpolicies.OrgPoliciesPlugin.autoImport._
import sbtorgpolicies.model._
import sbtorgpolicies.runnable.syntax._

object ProjectPlugin extends AutoPlugin {
Expand All @@ -19,7 +20,7 @@ object ProjectPlugin extends AutoPlugin {
val mdoc: String = "2.1.1"
val moultingyaml: String = "0.4.1"
val orgPolicies: String = "0.13.1"
val scala: String = "2.12.9"
val scala: String = "2.12.10"
val scalactic: String = "3.1.1"
val scalatest: String = "3.1.1"
val scalacheck: String = "1.14.3"
Expand Down Expand Up @@ -65,7 +66,7 @@ object ProjectPlugin extends AutoPlugin {
micrositeDescription := "An sbt plugin to create awesome microsites for your project",
micrositeBaseUrl := "sbt-microsites",
micrositeDocumentationUrl := "docs",
micrositeGithubOwner := "47deg",
micrositeGithubOwner := "47degrees",
micrositeGithubRepo := "sbt-microsites",
micrositeGithubToken := sys.env.get(orgGithubTokenSetting.value),
micrositePushSiteWith := GitHub4s,
Expand All @@ -79,6 +80,14 @@ object ProjectPlugin extends AutoPlugin {
override def projectSettings: Seq[Def.Setting[_]] =
Seq(
name := "sbt-microsites",
orgGithubSetting := GitHubSettings(
organization = "47degrees",
project = (name in LocalRootProject).value,
organizationName = "47 Degrees",
groupId = "com.47deg",
organizationHomePage = url("http://47deg.com"),
organizationEmail = "hello@47deg.com"
),
description := "An sbt plugin to create awesome microsites for your project",
homepage := Some(url(orgGithubSetting.value.home)),
startYear := Some(2016),
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/microsites/layouts/Layout.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Layout {
p(
s"Website built with ",
a(
href := s"https://47deg.github.io/sbt-microsites/",
href := s"https://47degrees.github.io/sbt-microsites/",
target := "_blank",
rel := "noopener noreferrer",
s"sbt-microsites"
Expand Down

0 comments on commit 4b03d1f

Please sign in to comment.