18 Commits

Author SHA1 Message Date
hashicorp-copywrite[bot]
36a312ee26
add missing license headers and update copyright file headers to BUS-1.1 2023-08-10 21:53:25 +01:00
Chris Roberts
0c21086bc2 Test cleanups and adjustments to get everything working 2023-06-07 17:46:04 -07:00
sophia
5df47c8856 Check for existence of metatdata.json to determine if a box is v1 2022-07-25 13:05:48 -05:00
sophia
7678c28f65 Add warning about v1 boxes 2022-07-25 12:29:59 -05:00
sophia
0af2ff5709 Automatically update v1 boxes 2022-07-25 12:29:32 -05:00
sophia
25dfcd039f Update paths to use Path type instead of string 2022-04-25 14:12:28 -05:00
sophia
211da5be23
Remove box count check when trying to recover boxes
The get box + stat operations are not that slow. No need to also
go through listing out all the boxes in the vagrant box dir.
2022-04-25 12:26:49 -05:00
sophia
c23e617fce
Check for metadata.json 2022-04-25 12:26:49 -05:00
sophia
385bcbf81b
Remove box from db if it is no longer available on disk 2022-04-25 12:26:48 -05:00
sophia
82fa38f5e0
Check for consistency between db/boxes dir when creating box collection 2022-04-25 12:26:48 -05:00
sophia
aa9a03b9de
Ensure consistency between box db and dir 2022-04-25 12:26:48 -05:00
sophia
b12393ce2c
Ensure metadataurl is set for box 2022-04-25 12:25:57 -05:00
sophia
559b160eb8
Use go getter to extract box files 2022-04-25 12:25:56 -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