From 7dc3910e61ebc15497bc597766b750d1b1b1e349 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 10 Oct 2014 19:29:21 -0700 Subject: reflect move to twbs org --- src/main/resources/application.conf | 2 +- .../rorschach/auditing/BaseAndHeadBranchesAuditor.scala | 4 ++-- .../com/getbootstrap/rorschach/auditing/ModifiedFilesAuditor.scala | 6 +++--- .../getbootstrap/rorschach/github/GitHubPullRequestCommenter.scala | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/main/resources/application.conf b/src/main/resources/application.conf index 26456d3..9427aa5 100644 --- a/src/main/resources/application.conf +++ b/src/main/resources/application.conf @@ -8,7 +8,7 @@ spray.can { } client { - user-agent-header = "TwbsRorschach/0.1 (https://github.com/cvrebert/rorschach)" + user-agent-header = "TwbsRorschach/0.1 (https://github.com/twbs/rorschach)" request-timeout = 20 s idle-timeout = 15 s } diff --git a/src/main/scala/com/getbootstrap/rorschach/auditing/BaseAndHeadBranchesAuditor.scala b/src/main/scala/com/getbootstrap/rorschach/auditing/BaseAndHeadBranchesAuditor.scala index 6480ac6..d575ae7 100644 --- a/src/main/scala/com/getbootstrap/rorschach/auditing/BaseAndHeadBranchesAuditor.scala +++ b/src/main/scala/com/getbootstrap/rorschach/auditing/BaseAndHeadBranchesAuditor.scala @@ -10,14 +10,14 @@ object BaseAndHeadBranchesAuditor { def auditThatNotAgainstGhPages(baseBranch: String): Option[String] = { baseBranch match { - case "gh-pages" => Some("[Normal pull requests should never be against the `gh-pages` branch.](https://github.com/cvrebert/rorschach/blob/master/docs/against-gh-pages.md)") + case "gh-pages" => Some("[Normal pull requests should never be against the `gh-pages` branch.](https://github.com/twbs/rorschach/blob/master/docs/against-gh-pages.md)") case _ => None } } def auditThatNotMergingGhPagesIntoMaster(baseBranch: String, headBranch: String): Option[String] = { (headBranch, baseBranch) match { - case ("gh-pages", "master") => Some("[Normally, the `gh-pages` branch should never be merged into `master` branch.](https://github.com/cvrebert/rorschach/blob/master/docs/gh-pages-into-master.md)") + case ("gh-pages", "master") => Some("[Normally, the `gh-pages` branch should never be merged into `master` branch.](https://github.com/twbs/rorschach/blob/master/docs/gh-pages-into-master.md)") case _ => None } } diff --git a/src/main/scala/com/getbootstrap/rorschach/auditing/ModifiedFilesAuditor.scala b/src/main/scala/com/getbootstrap/rorschach/auditing/ModifiedFilesAuditor.scala index 3a4bbcc..65803c1 100644 --- a/src/main/scala/com/getbootstrap/rorschach/auditing/ModifiedFilesAuditor.scala +++ b/src/main/scala/com/getbootstrap/rorschach/auditing/ModifiedFilesAuditor.scala @@ -22,7 +22,7 @@ object ModifiedFilesAuditor { val cssModified = filepaths.exists{ _.isDistCss } val lessModified = filepaths.exists{ _.isSourceLess } if (cssModified && !lessModified) { - Some("[Changes must be made to the original Less source code file(s), not just the compiled CSS file(s).](https://github.com/cvrebert/rorschach/blob/master/docs/css.md)") + Some("[Changes must be made to the original Less source code file(s), not just the compiled CSS file(s).](https://github.com/twbs/rorschach/blob/master/docs/css.md)") } else { None @@ -36,7 +36,7 @@ object ModifiedFilesAuditor { val distJsModified = filepaths.exists{ _.isDistJs } val sourceJsModified = filepaths.exists{ _.isSourceJs } if (distJsModified && !sourceJsModified) { - Some("[Changes must be made to the original JS source code file(s), not just the generated concatenated JS file(s).](https://github.com/cvrebert/rorschach/blob/master/docs/js.md)") + Some("[Changes must be made to the original JS source code file(s), not just the generated concatenated JS file(s).](https://github.com/twbs/rorschach/blob/master/docs/js.md)") } else { None @@ -45,7 +45,7 @@ object ModifiedFilesAuditor { private def auditCname(filepaths: Set[String]): Option[String] = { if (filepaths.contains("CNAME")) { - Some("[The `CNAME` file should never be modified.](https://github.com/cvrebert/rorschach/blob/master/docs/cname.md)") + Some("[The `CNAME` file should never be modified.](https://github.com/twbs/rorschach/blob/master/docs/cname.md)") } else { None diff --git a/src/main/scala/com/getbootstrap/rorschach/github/GitHubPullRequestCommenter.scala b/src/main/scala/com/getbootstrap/rorschach/github/GitHubPullRequestCommenter.scala index 855d0e0..6ea49f0 100644 --- a/src/main/scala/com/getbootstrap/rorschach/github/GitHubPullRequestCommenter.scala +++ b/src/main/scala/com/getbootstrap/rorschach/github/GitHubPullRequestCommenter.scala @@ -44,7 +44,7 @@ class GitHubPullRequestCommenter extends GitHubActorWithLogging { |You'll need to **fix these mistakes** and revise your pull request before we can proceed further. |Thanks! | - |(*Please note that this is a [fully automated](https://github.com/cvrebert/rorschach) comment.*) + |(*Please note that this is a [fully automated](https://github.com/twbs/rorschach) comment.*) """.stripMargin tryToCommentOn(repo, prNum, commentMarkdown) match { -- cgit v1.2.3