Jonathon Anderson
fbd5ca9895
Recommended refactors
...
- make sure spec sets new cache dir
- move clean out of api
- capture warewulfconf.Paths.Cachedir+"/warewulf" in once place
- split Clean() into multiple functions
- remove WriteFileAbs
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-10-28 15:20:41 -06:00
Christian Goll
511938ac5c
add Cachedir and point OCIBlobCache to it
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-10-28 15:20:41 -06:00
Christian Goll
9a28b2d7fb
copy.DirCopy is internal and needs Init
...
Signed-off-by: Christian Goll <cgoll@suse.com >
2024-09-21 22:12:57 -06:00
Jonathon Anderson
a1832ad8c1
Complete transfer of Warewulf from HPCng
...
Warewulf is now being maintained in its own GitHub organization at
github.com/warewulf
Signed-off-by: Jonathon Anderson <janderson@ciq.com >
2024-01-26 21:35:04 -07:00
Jonathon Anderson
a10fdb3808
Remove config.DataStore()
...
Comments in the code were already disparaging of config.DataStore(), but
implied that its presence made other code more readable. It was only
used in two places and, imo, how I've refactored it is more explicit and
clear than it was.
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-04-19 14:02:43 -06:00
Jonathon Anderson
c461e65a98
Rename pkg/warewulfconf to pkg/config
...
Signed-off-by: Jonathon Anderson <janderson@ciq.co >
2023-04-19 14:02:43 -06:00
jcsiadal
b515442872
Fix oci dir & some formatting
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-01-11 05:55:24 +00:00
jcsiadal
8e626e9a62
Add config option for shared state dir
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
Changes default share to /srv/warewulf
Update specfile
Some changes to match Golang standards
2022-01-11 05:52:58 +00:00
WestleyR
4edc16953e
Fix linting issues
2021-09-07 20:48:51 -07:00
Gregory Kurtzer
c60be743ba
Update sources to use upstream errors package
2021-09-06 14:50:27 -07:00
Gregory Kurtzer
ad6dec792b
Readding Yong's addition of graphdriver/copy
2021-04-23 21:49:25 -07:00
Gregory Kurtzer
72ae24c5bc
Docker requirement was breaking build.
2021-04-23 19:39:02 -07:00
Yong Qin
0346d98d46
Fixed the bug with importing container/vnfs from a directory.
2021-04-07 11:25:57 -07:00
Gregory Kurtzer
6357e31438
Support container import of chroot directory
2021-02-24 21:01:56 -08:00