Daniele Rondina
0917c2703e
helpers/archive: Refactor and add support for config protect when sameOwner is false
2020-06-06 12:34:44 +02:00
Daniele Rondina
d946e39a15
pkg/helpers/archive_test: Fix test
2020-06-05 23:53:33 +02:00
Daniele Rondina
415b1dab9a
Add test of modifier
2020-06-05 23:12:35 +02:00
Daniele Rondina
a2231749ab
Begin implementation for catch config protect files
2020-06-02 09:04:40 +02:00
Daniele Rondina
9e7c7e69f8
Review configuration file parsing logic
...
Luet support now these priorities on read configuration file:
- command line option (if available)
- $PWD/.luet.yaml
- $HOME/.luet.yaml
- /etc/luet/luet.yaml
2020-05-30 16:46:29 +02:00
Daniele Rondina
44d68a9583
Add annotations option to package spec
2020-05-23 09:27:38 +02:00
Daniele Rondina
dba6c361c2
Move helpers/cli to cmd/helpers
2020-05-23 08:51:33 +02:00
Ettore Di Giacinto
64bac0823c
Consume our moby fork
...
It handles #91
2020-04-18 11:41:34 +02:00
Ettore Di Giacinto
eb56956c65
Add Touch file helper
2020-04-13 19:32:50 +02:00
Ettore Di Giacinto
5a5e7f1dfa
Move version logic inside versioner
...
WIP, it needs yet to be under the interface implementation
2020-04-05 11:16:14 +02:00
Ettore Di Giacinto
2ad16fa875
Add ListDir helper
2020-03-28 16:55:16 +01:00
Daniele Rondina
bc5c0fa0cf
cmd/tree/pkglist: Cleanup code
2020-03-14 11:14:14 +01:00
Daniele Rondina
a04dadf100
Add support for parsing version with build
2020-02-21 21:56:32 +01:00
Ettore Di Giacinto
647ea35983
Add a way to extend the CLI with external binaries
...
This lets luet to be extended like git does (just by having luet-subcommand binaries under $PATH)
following the UNIX filosophy. It has the downside that we silence the errors from cobra and we handle
them by ourselves.
Also the Exec syscall is not portable, and it should have implementation for each platform (hence why in helpers)
2020-02-18 23:08:14 +01:00
Ettore Di Giacinto
dfb6dab9dc
Move repository helpers under config
...
They are generated after the system config, let the structure provide such information
2020-02-12 10:20:07 +01:00
Ettore Di Giacinto
54b0dce54b
Respect argument passed to Untar in helpers
2020-02-11 16:55:00 +01:00
Ettore Di Giacinto
c8f4ba0a47
Add Factorial helper
2020-02-11 15:00:28 +01:00
Daniele Rondina
40687c3072
Use dynamic pkgs cache dir for test suite
2020-02-01 20:05:19 +01:00
Daniele Rondina
78b5963a4f
Add support for local packages cache
2020-02-01 19:35:30 +01:00
Daniele Rondina
524bbf990e
Add support for same-owner config option
2020-02-01 19:01:15 +01:00
Daniele Rondina
c9b684523f
installer: Add support for cached repository
2020-01-12 23:35:58 +01:00
Daniele Rondina
b12410edb7
Errors on create database paths are now fatal
2020-01-01 22:58:53 +01:00
Daniele Rondina
01e66ee0b4
Review install phase
2020-01-01 13:44:39 +01:00
Daniele Rondina
0cb49a40c0
Support logging level and spinner customization
2020-01-01 13:43:22 +01:00
Ettore Di Giacinto
a0d2f9cc12
Use a smarter copy
2019-11-23 19:13:32 +01:00
Ettore Di Giacinto
8de090c15c
Ensure destination folder exists when copying packages data
...
This currently breaks permission, but the whole method should be
re-worked also to keep more bits around
2019-11-13 17:07:09 +01:00
Ettore Di Giacinto
ebd4cfc318
Make Compile work in parallel
...
Also make the spinner thread-safe
2019-11-11 10:22:55 +01:00
Ettore Di Giacinto
ea2a51ce66
Implement compilation with images
...
A compilespec with an image defined (and no seed) can now be compiled,
and an artifact delta is provided at the end of the process.
2019-11-10 10:48:07 +01:00
Ettore Di Giacinto
ff88ff67c2
Add Separate tree for build dependency
...
Reuse the Recipe and extend it to read a separate tree for build
dependencies.
Also add accessors to compilespec to produce dockerfile image format.
2019-11-05 17:36:22 +01:00
Ettore Di Giacinto
573fe0332a
Add tests for helpers
2019-11-04 17:25:09 +01:00
Ettore Di Giacinto
add0021cfd
Add compiler interfaces and build definition skeleton
...
Create compiler interface with switchable backends. For now it can resolve and
parse a `build.yaml` which is in the same folder as in `definition.yaml`
Add also tests to cover this and new fixtures
2019-11-04 17:21:19 +01:00