{"id":16879001,"url":"https://github.com/jonas/sbt-dcos","last_synced_at":"2025-03-19T21:40:20.964Z","repository":{"id":57733728,"uuid":"84026188","full_name":"jonas/sbt-dcos","owner":"jonas","description":"DC/OS command line wrapper for sbt","archived":false,"fork":false,"pushed_at":"2017-06-28T01:34:35.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-25T04:43:57.881Z","etag":null,"topics":["cli","dcos","sbt-plugin"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-06T03:33:35.000Z","updated_at":"2023-02-14T20:14:32.000Z","dependencies_parsed_at":"2022-08-24T11:20:18.159Z","dependency_job_id":null,"html_url":"https://github.com/jonas/sbt-dcos","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonas%2Fsbt-dcos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonas%2Fsbt-dcos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonas%2Fsbt-dcos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonas%2Fsbt-dcos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonas","download_url":"https://codeload.github.com/jonas/sbt-dcos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244511761,"owners_count":20464386,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","dcos","sbt-plugin"],"created_at":"2024-10-13T15:52:27.203Z","updated_at":"2025-03-19T21:40:20.945Z","avatar_url":"https://github.com/jonas.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-dcos\n\n[![Travis CI Status]][Travis CI]\n[![Bintray Latest Version Badge]][Bintray Latest Version]\n\nProvides a managed [DC/OS CLI] binary.\n\n## Usage\n\nTo use this library in your sbt project add the following line to `project/plugins.sbt`:\n```sbt\naddSbtPlugin(\"io.github.jonas\" % \"sbt-dcos\" % \"0.1.2\")\n```\n\nThen use to deploy, for example to Marathon:\n```sbt\nval deploy = taskKey[Unit](\"Deploy app\")\n\ndeploy := {\n  val appId = name.value\n  val json = baseDirectory.value / \"marathon.json\"\n\n  def marathon(args: String*) =\n    Process(dcosCli.value.getAbsolutePath :: \"marathon\" :: args.toList)\n\n  if (marathon(\"task\", \"list\", appId).!!.contains(appId))\n    marathon(\"app\", \"update\", \"--force\", appId) #\u003c json ! streams.value.log\n  else\n    marathon(\"app\", \"add\") #\u003c json ! streams.value.log\n  ()\n}\n```\n\n## Releasing\n\nTo release version `x.y.z` run:\n\n    \u003e sbt release -Dproject.version=x.y.z\n\n## License\n\nsbt-dcos is licensed under the [Apache License, Version 2.0][apache] (the\n\"License\"); you may not use this software except in compliance with the License.\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n [apache]: http://www.apache.org/licenses/LICENSE-2.0\n [DC/OS CLI]: https://github.com/dcos/dcos-cli\n [Travis CI]: https://travis-ci.org/jonas/sbt-dcos\n [Travis CI Status]: https://travis-ci.org/jonas/sbt-dcos.svg?branch=master\n [Bintray Latest Version Badge]: https://api.bintray.com/packages/fonseca/maven/sbt-dcos/images/download.svg\n [Bintray Latest Version]: https://bintray.com/fonseca/maven/sbt-dcos/_latestVersion\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonas%2Fsbt-dcos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonas%2Fsbt-dcos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonas%2Fsbt-dcos/lists"}