vagrant-orbstack-provider 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ebbc48117f78adcd54b020a841b23bdda723bfa485513e5fa1af66880225a8a8
4
+ data.tar.gz: 998991ad59d641af7dff372789f9f735012f86762ec2f4d4a452e5cc35d59103
5
+ SHA512:
6
+ metadata.gz: feaff197b55586c775172bce685af730209cbd3532ae3957de12b660880f1e858768e27ff44e104cde5aa86692d8a573e696daef296198d66396ddf4f87c90fd
7
+ data.tar.gz: 7fe475a002b0dccfc5dde2c4f145f6e35b1442c6f089c4d85e463f4776b63a0d6658449b183b52e4f78e3d86d69aa4a8e51ef7f53fe162e4235bb4b39b0930e7
data/CHANGELOG.md ADDED
@@ -0,0 +1,175 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.2.1](https://github.com/spiralhouse/vagrant-orbstack-provider/compare/v0.2.0...v0.2.1) (2026-01-03)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * resolve RuboCop linting issues in E2E SSH tests ([#43](https://github.com/spiralhouse/vagrant-orbstack-provider/issues/43)) ([be1667a](https://github.com/spiralhouse/vagrant-orbstack-provider/commit/be1667a899570e9b2c48153a9f765379d94fb1fa))
14
+
15
+ ## [0.2.0](https://github.com/spiralhouse/vagrant-orbstack-provider/compare/v0.1.0...v0.2.0) (2026-01-03)
16
+
17
+
18
+ ### Features
19
+
20
+ * add automated release workflow with RubyGems Trusted Publishing ([#38](https://github.com/spiralhouse/vagrant-orbstack-provider/issues/38)) ([eb4aef0](https://github.com/spiralhouse/vagrant-orbstack-provider/commit/eb4aef070b656d5ec8fa4adaefb31aa991e39332))
21
+ * implement automated release versioning with Release-Please [SPI-1294] ([#39](https://github.com/spiralhouse/vagrant-orbstack-provider/issues/39)) ([bfc560a](https://github.com/spiralhouse/vagrant-orbstack-provider/commit/bfc560a15f3a50dec498bd7f9233a57efe4557c1))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * resolve E2E SSH test failures [SPI-1301] ([#41](https://github.com/spiralhouse/vagrant-orbstack-provider/issues/41)) ([19fbdf3](https://github.com/spiralhouse/vagrant-orbstack-provider/commit/19fbdf3d89b322c1bd9a52ba865523312b08a30e))
27
+
28
+ ## [Unreleased]
29
+
30
+ ### Added
31
+
32
+ ### Changed
33
+
34
+ ### Fixed
35
+
36
+ ## [0.1.0] - 2026-01-01
37
+
38
+ ### Added
39
+
40
+ - **SSH Connectivity** ([SPI-1225](https://linear.app/spiral-house/issue/SPI-1225))
41
+ - Implemented Provider#ssh_info method for SSH connection parameters
42
+ - Added OrbStack SSH proxy architecture support (localhost:32222 with ProxyCommand)
43
+ - Enabled SSH agent forwarding via `forward_agent` configuration attribute
44
+ - Configured automatic SSH key path resolution (~/.orbstack/ssh/id_ed25519)
45
+ - `vagrant ssh-config` command generates correct SSH configuration
46
+ - Direct SSH access works using Vagrant-generated configuration
47
+ - SSH readiness waiting after machine boot ([SPI-1226](https://linear.app/spiral-house/issue/SPI-1226))
48
+ - SSH verification tests ([SPI-1227](https://linear.app/spiral-house/issue/SPI-1227))
49
+ - SSH run action for `vagrant ssh -c` ([SPI-1240](https://linear.app/spiral-house/issue/SPI-1240))
50
+ - SSH error handling ([SPI-1224](https://linear.app/spiral-house/issue/SPI-1224))
51
+ - `ssh_username` configuration attribute ([SPI-1222](https://linear.app/spiral-house/issue/SPI-1222))
52
+
53
+ - **Machine Lifecycle Management**
54
+ - `vagrant up --provider=orbstack` creates and starts OrbStack machines ([SPI-1200](https://linear.app/spiral-house/issue/SPI-1200))
55
+ - `vagrant halt` stops running machines ([SPI-1201](https://linear.app/spiral-house/issue/SPI-1201))
56
+ - `vagrant destroy` removes machines and cleans up metadata ([SPI-1203](https://linear.app/spiral-house/issue/SPI-1203))
57
+ - `vagrant reload` restarts machines with fresh configuration ([SPI-1202](https://linear.app/spiral-house/issue/SPI-1202))
58
+ - Automatic machine naming with format `vagrant-<name>-<short-id>`
59
+ - Idempotent operations (safe to run commands multiple times)
60
+ - Multi-machine support with unique name collision avoidance
61
+ - State-aware operations (checks machine state before acting)
62
+
63
+ - **Machine State Query** ([SPI-1199](https://linear.app/spiral-house/issue/SPI-1199))
64
+ - Provider#state method returns accurate Vagrant::MachineState
65
+ - StateCache utility class with 5-second TTL for performance optimization
66
+ - State mapping: OrbStack states (running, stopped) → Vagrant states (:running, :stopped, :not_created)
67
+ - `vagrant status` command works correctly
68
+ - Cache invalidation support for fresh state queries
69
+
70
+ - **OrbStack CLI Integration** ([SPI-1198](https://linear.app/spiral-house/issue/SPI-1198))
71
+ - `list_machines` - retrieve all OrbStack machines
72
+ - `machine_info(name)` - query specific machine details
73
+ - `create_machine(name, distribution:)` - create new machines
74
+ - `start_machine(name)` - start stopped machines
75
+ - `stop_machine(name)` - stop running machines
76
+ - `delete_machine(name)` - remove machines
77
+ - Command execution with timeout support (default 30 seconds)
78
+ - Error handling (CommandTimeoutError, CommandExecutionError)
79
+ - OrbStack detection and availability checking
80
+
81
+ - **Configuration**
82
+ - `distro` - Linux distribution selection (default: "ubuntu")
83
+ - `version` - Distribution version specification
84
+ - `machine_name` - Custom machine naming
85
+ - `ssh_username` - SSH username configuration
86
+ - `forward_agent` - SSH agent forwarding control
87
+
88
+ - **Error Handling**
89
+ - I18n error messages and localization
90
+ - OrbStackNotInstalled error
91
+ - OrbStackNotRunning error
92
+ - CommandExecutionError for CLI failures
93
+ - CommandTimeoutError for CLI timeouts
94
+ - SSHNotReady error for SSH connectivity issues
95
+ - SSHConnectionFailed error
96
+
97
+ - **Development Infrastructure**
98
+ - Comprehensive test suite (617 passing tests)
99
+ - RuboCop configuration and compliance
100
+ - Git pre-push hooks for quality gates
101
+ - CI/CD pipeline with GitHub Actions
102
+ - YARD documentation
103
+ - Test coverage reporting
104
+
105
+ ### Fixed
106
+
107
+ - I18n parameter passing in error classes ([SPI-1272](https://linear.app/spiral-house/issue/SPI-1272))
108
+ - Plugin loading errors ([SPI-1220](https://linear.app/spiral-house/issue/SPI-1220))
109
+ - E2E test exclusion from default rake task ([SPI-1278](https://linear.app/spiral-house/issue/SPI-1278))
110
+
111
+ ### Changed
112
+
113
+ - Gemspec metadata updated for RubyGems publication ([SPI-1289](https://linear.app/spiral-house/issue/SPI-1289))
114
+ - Real author, email, homepage (Spiral House organization)
115
+ - Complete metadata hash with 6 required URIs
116
+ - `allowed_push_host` restriction to rubygems.org
117
+
118
+ ### Known Limitations
119
+
120
+ - Box support not yet implemented (must use distribution-based creation)
121
+ - Synced folders not yet supported
122
+ - Networking configuration limited to OrbStack defaults
123
+ - Provisioners tested but not all scenarios covered
124
+ - macOS-only (OrbStack platform requirement)
125
+
126
+ ## [0.0.1] - 2025-11-17
127
+
128
+ ### Added
129
+ - Plugin registration with Vagrant v2 API (SPI-1130)
130
+ - Configuration class with provider-specific options:
131
+ - `distro` - Linux distribution selection (default: "ubuntu")
132
+ - `version` - Distribution version specification
133
+ - `machine_name` - Custom machine naming
134
+ - Provider class with Vagrant interface implementation (stubs)
135
+ - Version constant (`VERSION = "0.1.0"`)
136
+ - Comprehensive test suite:
137
+ - 39 passing RSpec tests
138
+ - 100% coverage of implemented features
139
+ - Plugin registration verification
140
+ - Configuration validation tests
141
+ - Provider interface tests
142
+ - Development infrastructure:
143
+ - RuboCop configuration for code quality
144
+ - RSpec configuration for testing
145
+ - Bundler setup for dependency management
146
+ - Gemspec for gem packaging
147
+ - YARD documentation for all public APIs
148
+ - Complete documentation set:
149
+ - README.md - User-facing documentation
150
+ - DEVELOPMENT.md - Contributor guide
151
+ - docs/PRD.md - Product requirements document
152
+ - docs/DESIGN.md - Technical design document
153
+ - docs/TDD.md - Test-driven development workflow
154
+ - Project conventions and standards:
155
+ - Trunk-based development workflow
156
+ - Conventional commits format
157
+ - Ruby style guide compliance
158
+ - Test-driven development process
159
+
160
+ ### Technical Details
161
+ - Ruby 2.6+ compatibility
162
+ - Vagrant 2.2.0+ plugin API v2
163
+ - Zero RuboCop offenses
164
+ - MIT License
165
+ - macOS-only (OrbStack platform requirement)
166
+
167
+ ### Notes
168
+ - This is an alpha release with foundational structure only
169
+ - Most provider features are stubs awaiting implementation
170
+ - Plugin can be installed but does not yet manage machines
171
+ - Focus of this release: establishing solid development foundation
172
+
173
+ [Unreleased]: https://github.com/spiralhouse/vagrant-orbstack-provider/compare/v0.1.0...HEAD
174
+ [0.1.0]: https://github.com/spiralhouse/vagrant-orbstack-provider/releases/tag/v0.1.0
175
+ [0.0.1]: https://github.com/spiralhouse/vagrant-orbstack-provider/releases/tag/v0.0.1
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 John Burbridge
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.