{"id":16683947,"url":"https://github.com/tonystone/vagrant-swift","last_synced_at":"2026-05-05T09:32:34.080Z","repository":{"id":142431435,"uuid":"102534985","full_name":"tonystone/vagrant-swift","owner":"tonystone","description":"A parameterized Vagrant file to create a swift development environment in a Linux VM.","archived":false,"fork":false,"pushed_at":"2018-03-12T16:04:23.000Z","size":23,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T13:05:23.553Z","etag":null,"topics":["linux","swift","swift-3","swift-4","swift-development","ubuntu","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/tonystone.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-05T22:17:44.000Z","updated_at":"2021-08-09T18:37:47.000Z","dependencies_parsed_at":"2023-06-12T08:15:43.538Z","dependency_job_id":null,"html_url":"https://github.com/tonystone/vagrant-swift","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/tonystone/vagrant-swift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonystone%2Fvagrant-swift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonystone%2Fvagrant-swift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonystone%2Fvagrant-swift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonystone%2Fvagrant-swift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tonystone","download_url":"https://codeload.github.com/tonystone/vagrant-swift/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tonystone%2Fvagrant-swift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32643635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["linux","swift","swift-3","swift-4","swift-development","ubuntu","vagrant"],"created_at":"2024-10-12T14:27:27.919Z","updated_at":"2026-05-05T09:32:34.044Z","avatar_url":"https://github.com/tonystone.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant Swift ![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-lightgray.svg?style=flat)\n\nA parameterized Vagrant file to create a Swift development environment on Linux with either a stable release or a dev snapshot of the swift toolchain and libraries.\n\n## Vagrant Setup\n\n\u003e Please see [HashiCorp Vagrant Documentation](https://www.vagrantup.com) for help on getting Vagrant setup on your machine.\n\n## Swift Build Information\n\n\u003e Information about available Swift builds and supported **Ubuntu** versions for each build can be obtained from the swift.org site at [http://swift.org/download](http://swift.org/download).\n\n\nVagrant Swift supports all builds from the `swift.org/download` site including:\n\n- Releases\n- Trunk Development (master)\n- Swift 4.0 Development\n- Swift 3.1 Development\n- Older Release Branches (which include all Swift 2.2 builds)\n\n## Usage\n\nThe vagrant script has been parameterized with 3 **optional** parameters:\n```\n--swift-release\n--platform-version\n--build\n```\nThe `--swift-release` parameter accepts a RELEASE version number in the form of `#.#[.#]`.\n\nThe `--platform-version` accepts the **ubuntu** version of the VM you would like start.  This must match one of the versions supported by the Swift builds on `swift.org/download` site.  The version must be in the form of `##.##` (for example `16.04` or `16.10`.)\n\n\u003e **Note**: All Swift builds are currently built for `ubuntu` so there is currently no option to change the OS.\n\nThe `--build` parameter can be used to create an environment from a build listed on the `swift.org/download` site.  You can specify the entire link to the build or just the last path component or build name.\n\n\nBy default, the vagrant script will use the latest release of Swift (currently 3.1.1.) and Ubuntu 14.04 if no parameters are passed.  If this is your only requirement, simply call `vagrant up` as you normally would.\n\n```\n   \u003e vagrant up\n```\n\nTo use a particular release, use the following syntax.\n\n```\n   \u003e vagrant --swift-release=3.0 up\n```\nAnd to also supply the platform-version.\n\n```\n   \u003e vagrant --platform-version=16.10 --swift-release=3.0 up\n```\n\u003e **Note**: `--platform-version` and `--swift-release` can be specified individulally.\n\nFor a development trunk or branch snapshot, use the following syntax specifying the build information obtained from the `swift.org` website for the build.\n\n```\n   \u003e vagrant --build='swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-07-a-ubuntu16.04' up\n```\nYou may also pass the entire path to the `--build` parameter as in the following example.\n\n```\n   \u003e vagrant --build='https://swift.org/builds/swift-4.0-branch/ubuntu1604/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-07-a/swift-4.0-DEVELOPMENT-SNAPSHOT-2017-09-07-a-ubuntu16.04.tar.gz' up\n```\n\n\u003e **Note**: all vagrant specific parameters should come after the script parameters `--swift-release`, `--platform-version` and `--build`.\n\n## Installation\n\nThe best way to install `vagrant-swift` and be able to get updates as they are made is to use a soft link within your workspace structure. A soft-link created within the root of your project to the Vagrant file in this project will allow you to run `vagrant up` from the root which will map the current project source files within the Linux VM.\n\nFor example, if you place all your projects under a directory named `workspaces` and have a project called `my-swift-project` along with a clone of the `vagrant-swift` project in the same workspace directory:\n```\n~/workspaces/my-swift-project\n~/workspaces/vagrant-swift\n```\nOn macOS create a relative link as follows:\n```\ncd ~/workspaces/my-swift-project\nln -s ../vagrant-swift/Vagrantfile VagrantFile\n```\nNow all you need to do is call `vagrant up` in your projects root directory, and you will have a fully functional development environment for Swift Linux work.\n\n\u003e Note: to avoid checking the symbolic link into your projects git repo, ad `Vagrantfile` to your `.gitignore` for the project.\n\n## License\n\nVagrant Swift is released under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonystone%2Fvagrant-swift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftonystone%2Fvagrant-swift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftonystone%2Fvagrant-swift/lists"}