This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def saveApps(input: Seq[AppInfo]) = { | |
| logger.info(s"Apps to save:" + input.size) | |
| db.run(this.apps ++= input).map(_ => ()) | |
| } | |
| def appInfos(): Future[Seq[AppInfo]] = { | |
| logger.info("Searching") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dockerCommands ++= Seq( | |
| Cmd("ADD", "scm-source.json" + " /"), | |
| Cmd("RUN", "chmod a+x /opt/docker/bin/*"), | |
| Cmd("USER", "root"), | |
| Cmd("RUN", """curl -o /opt/docker/bin/gosu -sSL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture)" """), | |
| Cmd("RUN", """curl -o /opt/docker/bin/gosu.asc -sSL "https://github.com/tianon/gosu/releases/download/1.4/gosu-$(dpkg --print-architecture).asc" """), | |
| Cmd("RUN", "gpg --keyserver pool.sks-keyservers.net --recv-keys B42F6819007F00F88E364FD4036A9C25BF357DD4"), | |
| Cmd("RUN", "gpg --verify /opt/docker/bin/gosu.asc"), | |
| Cmd("RUN", "rm /opt/docker/bin/gosu.asc"), | |
| Cmd("RUN", "apt-get update"), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| case class Author(name: String, email: String, links: List[Link]) | |
| case class Commit(id: String, message: String, parentId: List[String], author: Author, valid: Option[Boolean], links: List[Link]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "net/http" | |
| ) | |
| var INDEX_HTML []byte |
NewerOlder