Skip to content

Commit

Permalink
#698 - Use https protocol insteed of basic git protocol
Browse files Browse the repository at this point in the history
- When there is no need to push it's a better solution to be compilent
with enterprise firewall.
  • Loading branch information
Etienne Couritas committed Nov 13, 2018
1 parent 93aeaef commit 37913e8
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
url = https://github.com/scalacenter/kube.git
[submodule "website/static/docson"]
path = website/static/docson
url = git://github.com/scalacenter/docson.git
url = https://github.com/scalacenter/docson.git
2 changes: 1 addition & 1 deletion build-integrations/sbt-0.13-2/project/Integrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import sbt.{RootProject, uri}
object Integrations {

val Lichess = RootProject(
uri("git://github.com/scalacenter/lila.git#34fbc815d49db5d24c5a5ba6e3538168a2cb5b17"))
uri("https://github.com/scalacenter/lila.git#34fbc815d49db5d24c5a5ba6e3538168a2cb5b17"))

}
4 changes: 2 additions & 2 deletions build-integrations/sbt-0.13-3/project/Integrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import sbt.{RootProject, uri}
object Integrations {

val Scalding = RootProject(
uri("git://github.com/jvican/scalding.git#501a787103ee5ae3371fc51d007145fe00342017"))
uri("https://github.com/jvican/scalding.git#501a787103ee5ae3371fc51d007145fe00342017"))
val SummingBird = RootProject(
uri("git://github.com/twitter/summingbird.git#d5322b3f73a2ceaffe6b06edf18142bb20815763"))
uri("https://github.com/twitter/summingbird.git#d5322b3f73a2ceaffe6b06edf18142bb20815763"))

}
8 changes: 4 additions & 4 deletions build-integrations/sbt-0.13/project/Integrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import sbt.{RootProject, uri}
object Integrations {

val ApacheSpark = RootProject(
uri("git://github.com/scalacenter/spark.git#e626d416451534d9a817cc6a8efa4b898efc97ea"))
uri("https://github.com/scalacenter/spark.git#e626d416451534d9a817cc6a8efa4b898efc97ea"))
val LihaoyiUtest = RootProject(
uri("git://github.com/lihaoyi/utest.git#b5440d588d5b32c85f6e9392c63edd3d3fed3106"))
uri("https://github.com/lihaoyi/utest.git#b5440d588d5b32c85f6e9392c63edd3d3fed3106"))
val ScalaScala = RootProject(
uri("git://github.com/scalacenter/scala.git#dc36e73a10ca2835489c878b5068c6cc64c7d6b6"))
uri("https://github.com/scalacenter/scala.git#dc36e73a10ca2835489c878b5068c6cc64c7d6b6"))
val ScalaCenterVersions = RootProject(
uri("git://github.com/scalacenter/versions.git#c296028a33b06ba3a41d399d77c21f6b7100c001"))
uri("https://github.com/scalacenter/versions.git#c296028a33b06ba3a41d399d77c21f6b7100c001"))

}
4 changes: 2 additions & 2 deletions build-integrations/sbt-1.0-2/project/Integrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sbt.{RootProject, uri}

object Integrations {
val Scalajs1 = RootProject(
uri("git://github.com/jvican/cross-platform-scalajs.git#0e776ae4b8ef5b9fae7f2374db01b227dc1ad9fc"))
uri("https://github.com/jvican/cross-platform-scalajs.git#0e776ae4b8ef5b9fae7f2374db01b227dc1ad9fc"))
val Atlas = RootProject(
uri("git://github.com/scalacenter/atlas.git#ab4251e17a2a02f2d5fe9c7ee83ebcde132c354c"))
uri("https://github.com/scalacenter/atlas.git#ab4251e17a2a02f2d5fe9c7ee83ebcde132c354c"))
}
2 changes: 1 addition & 1 deletion build-integrations/sbt-1.0-3/project/Integrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import sbt.{RootProject, uri}

object Integrations {
val GuardianGrid = RootProject(
uri("git://github.com/jvican/grid.git#a6b7d12d51092f99f6d33969172f5a1f67507c87"))
uri("https://github.com/jvican/grid.git#a6b7d12d51092f99f6d33969172f5a1f67507c87"))
}
22 changes: 11 additions & 11 deletions build-integrations/sbt-1.0/project/Integrations.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ import sbt.{RootProject, uri}
object Integrations {

val SbtSbt = RootProject(
uri("git://github.com/scalacenter/sbt.git#9d60c11e6bbd09f4b7e3976a7bc4a5888f96ca37"))
uri("https://github.com/scalacenter/sbt.git#9d60c11e6bbd09f4b7e3976a7bc4a5888f96ca37"))
val GuardianFrontend = RootProject(
uri("git://github.com/scalacenter/frontend.git#fd8da1929d8a3bd39ca6027ffba6c0850e036ce3"))
uri("https://github.com/scalacenter/frontend.git#fd8da1929d8a3bd39ca6027ffba6c0850e036ce3"))
val GuardianGrid = RootProject(
uri("git://github.com/guardian/grid.git#b27abb5f060c599b20fa058361ef9574f9f22285"))
uri("https://github.com/guardian/grid.git#b27abb5f060c599b20fa058361ef9574f9f22285"))
val MiniBetterFiles = RootProject(uri(
"git://github.com/scalacenter/mini-better-files.git#0ed848993a2fd5a36e4366b5efb9c68dce958fc2"))
"https://github.com/scalacenter/mini-better-files.git#0ed848993a2fd5a36e4366b5efb9c68dce958fc2"))
val WithResources = RootProject(
uri("git://github.com/scalacenter/with-resources.git#f0a46830cae7ef6282d9bba64b6da34bae18f339"))
uri("https://github.com/scalacenter/with-resources.git#f0a46830cae7ef6282d9bba64b6da34bae18f339"))
val WithTests = RootProject(
uri("git://github.com/scalacenter/with-tests.git#3be26f4f21427c5bc0b83deb96d6e66973102eb2"))
uri("https://github.com/scalacenter/with-tests.git#3be26f4f21427c5bc0b83deb96d6e66973102eb2"))
val AkkaAkka = RootProject(
uri("git://github.com/scalacenter/akka.git#d02446828a98b0b8da087545e4b5c270f7ef90cc"))
uri("https://github.com/scalacenter/akka.git#d02446828a98b0b8da087545e4b5c270f7ef90cc"))
val CrossPlatform = RootProject(
uri("git://github.com/scalacenter/cross-platform.git#6a29444158ec6b3de5384f0d49a3d9cded32b818"))
uri("https://github.com/scalacenter/cross-platform.git#6a29444158ec6b3de5384f0d49a3d9cded32b818"))
val Finagle = RootProject(
uri("git://github.com/jvican/finagle.git#aa67a73baf34c4ae4c7843442b707b2bd67c2705"))
uri("https://github.com/jvican/finagle.git#aa67a73baf34c4ae4c7843442b707b2bd67c2705"))
val Scalatra = RootProject(
uri("git://github.com/scalatra/scalatra.git#575d51ae93bbb6add7f546373fe78766c03b40af"))
uri("https://github.com/scalatra/scalatra.git#575d51ae93bbb6add7f546373fe78766c03b40af"))
val Algebird = RootProject(
uri("git://github.com/jvican/algebird.git#33a9540790a992222156f83b984759360e196a9b"))
uri("https://github.com/jvican/algebird.git#33a9540790a992222156f83b984759360e196a9b"))
}
6 changes: 3 additions & 3 deletions project/BuildPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object BuildKeys {
else {
val headSha = new com.typesafe.sbt.git.DefaultReadableGit(f).withGit(_.headCommitSha)
headSha match {
case Some(commit) => RootProject(uri(s"git://github.com/scalacenter/${name}.git#$commit"))
case Some(commit) => RootProject(uri(s"https://github.com/scalacenter/${name}.git#$commit"))
case None => sys.error(s"The 'HEAD' sha of '${f}' could not be retrieved.")
}
}
Expand Down Expand Up @@ -264,7 +264,7 @@ object BuildImplementation {
BuildKeys.schemaVersion := "3.2",
Keys.testOptions in Test += sbt.Tests.Argument("-oD"),
Keys.onLoadMessage := Header.intro,
Keys.onLoad := BuildDefaults.bloopOnLoad.value,
//Keys.onLoad := BuildDefaults.bloopOnLoad.value,
Keys.publishArtifact in Test := false,
Pgp.pgpPublicRing := {
if (Keys.insideCI.value) file("/drone/.gnupg/pubring.asc")
Expand Down Expand Up @@ -361,7 +361,7 @@ object BuildImplementation {

object BuildDefaults {
private final val kafka =
uri("git://github.com/apache/kafka.git#57320981bb98086a0b9f836a29df248b1c0378c3")
uri("https://github.com/apache/kafka.git#57320981bb98086a0b9f836a29df248b1c0378c3")

/** This onLoad hook will clone any repository required for the build tool integration tests.
* In this case, we clone kafka so that the gradle plugin unit tests can access to its directory. */
Expand Down

0 comments on commit 37913e8

Please sign in to comment.