164 Commits

Author SHA1 Message Date
sophia
57afe56edd
Delete box directory if exists 2022-04-25 12:25:57 -05:00
sophia
b12393ce2c
Ensure metadataurl is set for box 2022-04-25 12:25:57 -05:00
sophia
cec195cecb
Remove boxes from db when deleting 2022-04-25 12:25:56 -05:00
sophia
559b160eb8
Use go getter to extract box files 2022-04-25 12:25:56 -05:00
sophia
d786649e03
Add box if not found in box collection 2022-04-25 12:25:55 -05:00
sophia
a233cbefbb
Add ability to add box
This only works for boxes being added as username/boxname from
vagrant cloud.
2022-04-25 12:25:55 -05:00
sophia
2dfb9b933e
Get boxes from project 2022-04-25 12:25:55 -05:00
sophia
a841ca8552
Ensure box destination path is in box path 2022-04-25 12:25:55 -05:00
sophia
60860386f6
Fix tests 2022-04-25 12:25:55 -05:00
sophia
371895497b
Ensure box collection implements the cor box collection 2022-04-25 12:25:54 -05:00
sophia
e77cb42171
Add tests 2022-04-25 12:25:54 -05:00
sophia
c48afe423d
Implement box collection 2022-04-25 12:25:54 -05:00
sophia
79b1b046a4
Creat box from ref 2022-04-25 12:25:54 -05:00
sophia
2b93a26b50
Inject a box into the machine
This should be updated once the box collection and provider are
implemented in order to select the right box from the box
collection.
2022-04-25 12:25:54 -05:00
sophia
4335d9e7dd
Store box as part of machine object 2022-04-25 12:25:54 -05:00
sophia
1545093be2
Set box id 2022-04-25 12:25:54 -05:00
sophia
ff98ee294a
Create full boxes for tests 2022-04-25 12:25:53 -05:00
sophia
f3b6f615ab
Get box from machine 2022-04-25 12:25:53 -05:00
sophia
a2002f66fb
Implement repackage 2022-04-25 12:25:53 -05:00
sophia
50c37c9b96
Create new box 2022-04-25 12:25:53 -05:00
sophia
a023c88a1f
Save box to db 2022-04-25 12:25:53 -05:00
sophia
4e9e0dbe75
Load box metadata 2022-04-25 12:25:53 -05:00
sophia
8642882a35
Add box tests 2022-04-25 12:25:53 -05:00
sophia
abd2e24e07
Add compare method for comparing box versions 2022-04-25 12:25:52 -05:00
sophia
aeeddd7967
Add comparision functions 2022-04-25 12:25:52 -05:00
sophia
faf1131617
Fill in box module
And add last_update field to box
2022-04-25 12:25:52 -05:00
sophia
639cf1db04
Add empty box module 2022-04-25 12:25:52 -05:00
sophia
62d7324bfc
go generate 2022-04-25 12:25:52 -05:00
sophia
80e18d0b17
Allow querying version on constraints 2022-04-25 12:25:51 -05:00
sophia
e22df5af5c
Use go-version to compare version 2022-04-25 12:25:51 -05:00
sophia
01b63b559a
Filter versions by providers available 2022-04-25 12:25:51 -05:00
sophia
15b4cc25bf
Add tests 2022-04-25 12:25:51 -05:00
sophia
8e005c9ee1
Setup box metadata 2022-04-25 12:25:51 -05:00
sophia
52e9e49e4d
Start defining box metadata 2022-04-25 12:25:51 -05:00
sophia
c4cd5c599b
Add mappers to component at component creation phase 2022-04-25 12:25:51 -05:00
sophia
63c71b0a20
Append mappers to a plugin component 2022-04-25 12:25:51 -05:00
Chris Roberts
7595f1533f
Enable plugin mappers 2022-04-25 12:25:50 -05:00
Chris Roberts
038d4b16c3
Cache host value to prevent multiple lookups during run 2022-04-25 12:25:50 -05:00
sophia
22c75fe979
Raise error for failing to load parent plugin 2022-04-25 12:25:49 -05:00
Chris Roberts
cb869a6597
Fix up logging, singularize name 2022-04-25 12:25:49 -05:00
sophia
cafa1d039d
Load single parent plugin 2022-04-25 12:24:48 -05:00
sophia
fd96279d82
Count number of parents for host plugin 2022-04-25 12:24:48 -05:00
sophia
f1f1b8c79d
Update parents -> parent 2022-04-25 12:24:48 -05:00
sophia
3d0197d0bf
Store plugin parents 2022-04-25 12:24:47 -05:00
Chris Roberts
7cc07642a5
Use project for host capabilities 2022-04-25 12:24:47 -05:00
Chris Roberts
66d2a70291
Seed host and guest plugins 2022-04-25 12:24:45 -05:00
Chris Roberts
99978cf9d6
Set statebag into host plugin 2022-04-25 12:24:45 -05:00
sophia
58ffe630a2
Pass statebag to host detect function 2022-04-25 12:24:41 -05:00
sophia
97baac8772
Check for parents if host detected 2022-04-25 12:24:41 -05:00
sophia
f845222c44
Add statebag to basis 2022-04-25 12:24:40 -05:00