785 Commits

Author SHA1 Message Date
Chris Roberts
22de22e199
Update parent counting when loading plugins 2022-04-25 12:25:59 -05:00
sophia
7aaeaf2e46
Update protos 2022-04-25 12:25:57 -05:00
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
a63184ef5f
Test target find and duplicate upserts 2022-04-25 12:25:55 -05:00
sophia
04095d2132
Find targets based on name and project 2022-04-25 12:25:55 -05:00
sophia
eeafbe4954
Search for project and target before upserting 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
a99bfc65f9
AUse version constraints to find boxes 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
9d01b2c60e
Add endpoint for finding boxes 2022-04-25 12:25:54 -05:00
sophia
63eb76bd60
Find boxes by name, provider, version 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
a8ce240049
Add tests for box 2022-04-25 12:25:52 -05:00
sophia
5fc9dd94fe
Implement box crub endpoints 2022-04-25 12:25:52 -05:00
sophia
93e94186ba
Add box endpoints 2022-04-25 12:25:52 -05:00
sophia
3e3ab869d4
Add box to bolt 2022-04-25 12:25:52 -05:00
sophia
d7737effbf
Add id to box 2022-04-25 12:25:52 -05:00
sophia
1c27a57213
Use Box as part of machine proto 2022-04-25 12:25:51 -05:00
sophia
ed76183470
Add Box proto message 2022-04-25 12:25:51 -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