Ettore Di Giacinto
5c84e5b0a7
Tag 0.16.3
2021-05-24 22:23:57 +02:00
Ettore Di Giacinto
0dc78ebe41
Tag 0.16.2
2021-05-22 14:49:58 +02:00
Ettore Di Giacinto
e83f600ed3
Tag 0.16.1
2021-05-21 21:28:33 +02:00
Ettore Di Giacinto
8b1c5558b2
Tag 0.16.0
2021-05-21 16:10:28 +02:00
Ettore Di Giacinto
d8c8c2194f
Tag 0.15.0
2021-05-20 13:53:53 +02:00
Ettore Di Giacinto
1ba987b0f1
cmd/tree: consume Hashtree to display image hashes
2021-05-19 17:43:14 +02:00
Ettore Di Giacinto
356350f724
Tag 0.14.7
2021-05-17 19:11:44 +02:00
Ettore Di Giacinto
9d2ee1b760
Add hashtree and extract hash logic from compiler
...
Add unit tests, consume imagehashtree in compiler and cleanup
Fixes : #203
2021-05-17 15:22:08 +02:00
Ettore Di Giacinto
fd12227d53
plugins: Make execution fail if loaded plugins are erroring, print debug output on emitted responses
...
Now plugins failing to answer make execution fail, adapt tests
2021-05-17 15:17:03 +02:00
Ettore Di Giacinto
77b49d9c4a
Tag 0.14.6 patchfix
2021-05-16 23:32:54 +02:00
Ettore Di Giacinto
f2ec065a89
Tag 0.14.5
2021-05-16 21:12:32 +02:00
Ettore Di Giacinto
0de3177ddd
Tag 0.14.4
2021-05-14 09:48:45 +02:00
Ettore Di Giacinto
186ac33156
Tag 0.14.3
2021-05-11 15:24:26 +02:00
Ettore Di Giacinto
e5d6d21178
Tag 0.14.2
2021-05-07 22:11:45 +02:00
Ettore Di Giacinto
946524f90d
Tag 0.14.1
2021-04-24 21:09:52 +02:00
Ettore Di Giacinto
848215eef0
Tag 0.14.0
2021-04-23 19:46:21 +02:00
Ettore Di Giacinto
0288eedbc3
Always resolve buildhash image, add --rebuild to build
2021-04-23 12:02:41 +02:00
Ettore Di Giacinto
54be45dcff
Tag 0.13.1
2021-04-17 10:20:20 +02:00
Ettore Di Giacinto
a7b355ed2f
Tag 0.13.0
2021-04-16 21:33:32 +02:00
Ettore Di Giacinto
c5587f9dfc
Add simple integration test about remote-repo builds
2021-04-16 14:01:23 +02:00
Ettore Di Giacinto
c27d4d258e
Allow create-repo to source trees from remote repositories
...
This makes possible to create the repositorie from external ones,
It also required to address #26 .
Fixes #26
2021-04-16 14:01:13 +02:00
Ettore Di Giacinto
7ba7add2a8
Allow to pull specfiles from published repositories
...
- Interpolates values from the repositories compilespec if present
- Automatically merge cache images coming from specified repository when
necessary
Fixes #194
2021-04-16 13:58:51 +02:00
Ettore Di Giacinto
57c769b4a5
Refactor compiler and annotate buildoptions into compiler metadata
...
This allows to later pick up values used during build of each package
2021-04-16 13:57:54 +02:00
Ettore Di Giacinto
44cae094e8
Allow multiple build values files
...
Fixes #198
2021-04-16 13:56:51 +02:00
Ettore Di Giacinto
b8961be793
Add accessor to embed custom files to a repository while writing
...
Split up into methods so it's easier to add custom files
2021-04-16 13:56:45 +02:00
Ettore Di Giacinto
182afa315a
Tag 0.12.0
2021-04-08 10:21:22 +02:00
Ettore Di Giacinto
ec19b34ca8
Allow to pull from multiple repositories
...
Adds a new cli flag to luet build `--pull-repository` which allows to
pass-by a list of docker image references which are used to pull the
cache from
Fixes #185
Fixes #184
Closes #161
2021-04-08 09:17:54 +02:00
Daniele Rondina
88307b1912
Restore parsing of gentoo string with condition ( #195 )
...
* cmd/helpers: Permit to parse gentoo package str with condition
* Update vendor pkgs-checker @v0.8.1
2021-03-30 09:17:16 +02:00
Ettore Di Giacinto
a83be204e8
Tag 0.11.8
2021-03-18 13:53:04 +01:00
Ettore Di Giacinto
c736c002af
build: Set privileged to true by default
2021-03-18 10:47:39 +01:00
Ettore Di Giacinto
2c32af2951
Tag 0.11.7
2021-03-16 15:47:37 +01:00
Ettore Di Giacinto
23513f2c75
Include files in search only if we have the artifact
2021-03-15 11:40:34 +01:00
Ettore Di Giacinto
0028dd3a92
Support content trust images and pull with authentication
...
Contact the notary server if ```--verify``` is specified (or `verify:
true` is enabled on the repo config) and verify if the image is signed,
use the returned value to pull the verified image.
2021-03-11 17:57:59 +01:00
Ettore Di Giacinto
caa1cfad5c
Tag 0.11.6
2021-03-09 11:37:41 +01:00
Ettore Di Giacinto
39839edda9
Add util to rootcmd
2021-03-09 11:37:22 +01:00
Ettore Di Giacinto
ecd4be4ad3
Tag 0.11.5
2021-03-09 10:55:34 +01:00
Ettore Di Giacinto
675170939d
Expose DownloadAndExtractDockerImage as a util
...
Create a util sub cmd to add all utils that are handy for development
and already present in the luet codebase. We expose in this case `luet
util unpack` to unpack a docker image without a docker daemon running.
2021-03-09 09:22:37 +01:00
Ettore Di Giacinto
0f1acac89b
Tag 0.11.4
2021-03-07 12:38:37 +01:00
Ettore Di Giacinto
42f5210764
Add DownloadOnly option
...
It allows to download only the packages, without
installing/upgrading/replacing them
Fixes #179
2021-03-07 11:39:59 +01:00
Ettore Di Giacinto
94f692266c
Tag 0.11.3
2021-03-06 20:36:37 +01:00
Ettore Di Giacinto
0bfb33db92
Allow to set db/rootfs from CLI in cleanup
2021-03-06 11:28:39 +01:00
Ettore Di Giacinto
194cfda8a4
Pass by the cli args to the underlying system struct
...
We didn't set previously what we catched from CLI. Note, this is a
temporary solution until we refactor the cli code
Fixes #186
2021-03-06 10:21:49 +01:00
Ettore Di Giacinto
233429bbeb
Allow to search by file
...
Also make possible to retrieve the artifact when searching for matches
between repositories list. This made possible to show the package list
when calling `luet search`.
2021-02-28 18:42:58 +01:00
Ettore Di Giacinto
d84f6b31fd
Add database get command
2021-02-28 18:42:16 +01:00
Ettore Di Giacinto
98b01ce00b
Tag 0.11.2
2021-02-22 14:46:36 +01:00
Ettore Di Giacinto
749a4cb615
Add --backend-args
...
Allow to add arguments to the backend build arguments
Fixes #146
2021-02-22 13:49:29 +01:00
Ettore Di Giacinto
89bd7c2281
Tag 0.11.1
2021-02-17 13:58:21 +01:00
Ettore Di Giacinto
101df40eec
Merge pull request #183 from mudler/docker-debug-output
...
Add realtime output for building phase
2021-02-13 12:02:20 +01:00
Ettore Di Giacinto
b93357e36c
Tag 0.11.0
2021-02-10 09:07:02 +01:00
Daniele Rondina
c1fe3278fa
backend: Add realtime output on building phase
...
The realtime output could be configured through
LUET_GENERAL__SHOW_BUILD_OUTPUT environment
variable or related config option or through
`--live-output` option.
2021-02-02 12:58:34 +01:00
Daniele Rondina
9f73a334b3
cmd/tree/validate: Avoid nil pointer if solution doesn't contain the dependency
2021-01-25 19:13:33 +01:00
Ettore Di Giacinto
4eab1eb738
Tag bugfix release 0.10.2
2021-01-25 14:36:01 +01:00
Ettore Di Giacinto
7d11df3225
Simplify delta generation, and avoid two-pass with img backend
...
This changeset also drops --keep-exported-images, which is quite unused
and can be replaced with a plugin, or either by manually exporting the
resulting images.
2021-01-24 12:27:07 +01:00
Ettore Di Giacinto
0ae8cbb877
Tag 0.10.1
2021-01-23 22:02:18 +01:00
Ettore Di Giacinto
8b4b249211
Tag 0.10.0
2021-01-22 21:21:59 +01:00
Ettore Di Giacinto
c7e5c9b1fd
Enhance create-repo CLI args help
2021-01-22 16:55:51 +01:00
Ettore Di Giacinto
a192d48610
Reword CLI help for --force-push
2021-01-22 16:55:51 +01:00
Ettore Di Giacinto
ad455edafc
Allow to push images in create-repo
...
Add also the --force flag to allow image overwrite
Related to #169
2021-01-22 16:54:19 +01:00
Ettore Di Giacinto
322fe72ef2
Generate repository metadata and packages for docker repository type
...
Drop image-repository on create-repo. In case of a docker repository, --output is the image reference to use.
Also restore default output build dir.
See also: #169
2021-01-22 16:53:52 +01:00
Ettore Di Giacinto
429e9757db
Select cwd as default tree path for commands
2021-01-18 10:40:41 +01:00
Ettore Di Giacinto
48f17dbc7a
Tag 0.9.26
2021-01-12 11:25:05 +01:00
Ettore Di Giacinto
ddd61f769c
Tag 0.9.25
2021-01-04 00:19:14 +01:00
Ettore Di Giacinto
f2ba9e02d7
Tag 0.9.24
2021-01-02 22:53:08 +01:00
Ettore Di Giacinto
45e8553d26
Tag 0.9.23
2020-12-30 02:51:19 +01:00
Ettore Di Giacinto
498edc95c8
Tag 0.9.22
2020-12-27 21:17:22 +01:00
Ettore Di Giacinto
8371d7aa7b
Tag 0.9.21
2020-12-19 18:23:08 +01:00
Ettore Di Giacinto
e52bc4f2b2
Refactor: get systemdb from config, which knows which one to load
2020-12-19 17:23:59 +01:00
Ettore Di Giacinto
96e877fc0b
Allow uninstall to take multiple packages
...
And treat those as a list, instead of each single of them
2020-12-19 17:16:58 +01:00
Ettore Di Giacinto
2b6fe2baa1
Add luet build --wait
...
It allows to wait for intermediate images to be available instead of
building all of them
2020-12-18 23:19:18 +01:00
Ettore Di Giacinto
34bba0319b
Tag 0.9.20
2020-12-18 21:50:10 +01:00
Ettore Di Giacinto
f0fae82ad9
Add experimental zstd support
...
Closes #97
2020-12-18 21:24:01 +01:00
Ettore Di Giacinto
5082749e90
Tag 0.9.19
2020-12-17 21:09:53 +01:00
Ettore Di Giacinto
921869d04c
Tag bugfix release 0.9.18
2020-12-15 17:45:33 +01:00
Ettore Di Giacinto
d5cfadfded
Tag 0.9.17
2020-12-14 20:19:17 +01:00
Ettore Di Giacinto
70f05f41e8
Check only if package image exists
...
We don't need to look after the builder image as its optional. In this
way we can also reduce the compiler options, as we don't require a
--clean flag anymore. --only-target-package is sufficient to determine
what we can skip and how.
2020-12-14 18:41:39 +01:00
Ettore Di Giacinto
ef034d87b0
Detect if images are available if we don't have to generate a Package
...
While building, if we aren't doing a clean build, we scan now to see if
images are available and we skip, in case we don't find a metadata
already.
2020-12-14 18:32:32 +01:00
Ettore Di Giacinto
6a86bf3f04
Tag 0.9.16
2020-12-12 16:05:18 +01:00
Ettore Di Giacinto
fdba8dea71
Tag 0.9.15
2020-12-11 23:04:14 +01:00
Ettore Di Giacinto
f109bab2b4
Enable PreserveSystemEssentialData on Upgrade/Uninstall
2020-12-09 21:07:50 +01:00
Ettore Di Giacinto
d472dee19b
Tag 0.9.14
2020-12-09 19:33:11 +01:00
Ettore Di Giacinto
fa9dc9da53
Tag 0.9.13
2020-12-08 15:49:40 +01:00
Ettore Di Giacinto
9ca5d24856
Tag 0.9.12
2020-12-07 20:18:49 +01:00
Ettore Di Giacinto
876e3659fb
Turn full off by default on upgrade
2020-12-07 00:48:28 +01:00
Ettore Di Giacinto
02edc10c58
Tag 0.9.11
2020-12-06 22:52:15 +01:00
Ettore Di Giacinto
6d19f8d2cc
Tag 0.9.10
2020-12-03 21:02:57 +01:00
Ettore Di Giacinto
c8bcd88f1f
Add command usage in CLI
...
Add Long description for missing commands along with practical examples
2020-12-02 23:15:23 +01:00
Ettore Di Giacinto
43db64c089
Tag 0.9.9
2020-12-02 19:12:43 +01:00
Ettore Di Giacinto
9423b7c1e3
Add image build events, and add luet replace
...
Enhance also some commands descriptions
2020-12-02 18:24:35 +01:00
Ettore Di Giacinto
f3e2e0a184
Add CLI tests
2020-11-29 11:51:27 +01:00
Ettore Di Giacinto
8237506bd3
Accept specific versions in cli input and avoid gentoo parser by default
...
This is a breaking change as changes the way packages can be given as
arguments to luet.
From this change, the following applies:
- If a package string contains @, the right part is parsed as version
(e.g. foo/bar@1.1)
- If a package contains "/" and no "@", cat/name is applied (e.g.
foo/bar)
- If a package doesn't contain either, is implied its just a name
without category
- If a package contains "=" at the beginning, the gentoo parsing default
is being used ( e.g. =foo/bar-1.1 )
Fixes #154
2020-11-29 11:48:49 +01:00
Ettore Di Giacinto
87004c8e78
Tag 0.9.8
2020-11-28 16:29:38 +01:00
Ettore Di Giacinto
0fe30ddcfd
Add ability to interpolate during build
...
Now build takes a --values argument, which is a yaml file that can be
used to interpolate the specs that are going to be compiled.
2020-11-28 15:47:29 +01:00
Ettore Di Giacinto
ca994b07ab
Tag 0.9.7
2020-11-28 00:34:46 +01:00
Ettore Di Giacinto
18d9366bca
Minor fixes
2020-11-24 18:27:49 +01:00
Ettore Di Giacinto
c0206e5849
Tag 0.9.6
2020-11-23 20:18:42 +01:00
Ettore Di Giacinto
9fab46aa9e
Add also description
2020-11-23 19:15:54 +01:00
Ettore Di Giacinto
7a10ff2742
Enhance search output with tables and alias to '.' when no args are specified
2020-11-23 19:13:54 +01:00
Ettore Di Giacinto
db1b190fb5
Minor fixup and cleanups around the new prompt feature
2020-11-23 18:20:30 +01:00
Ettore Di Giacinto
b349665ff2
Add user prompts
...
Fixes #106
2020-11-22 23:43:29 +01:00
Ettore Di Giacinto
3959cfd623
Tag 0.9.5
2020-11-20 19:02:54 +01:00
Ettore Di Giacinto
1f807f369a
Move revdeps computation to db
2020-11-20 17:23:21 +01:00
Ettore Di Giacinto
47f0049efa
Tag 0.9.4
2020-11-19 18:52:22 +01:00
Ettore Di Giacinto
0cc2b72831
Drop converter code, will be in a separate extension
2020-11-19 18:10:16 +01:00
Ettore Di Giacinto
c3559d952c
Tag 0.9.3
2020-11-15 13:38:30 +01:00
Ettore Di Giacinto
cf7df00a65
Add luet tree images command to show images tree
2020-11-14 14:51:11 +01:00
Ettore Di Giacinto
0e46e763d5
Move bus implementation to a separate repo, hook to events in luet
2020-11-13 18:25:44 +01:00
Ettore Di Giacinto
19e6054574
Tag 0.9.2
2020-11-10 20:20:27 +01:00
Ettore Di Giacinto
665261e526
Tag 0.9.1
2020-11-09 19:42:34 +01:00
Ettore Di Giacinto
794c5984a2
Add pack command
2020-11-09 18:16:22 +01:00
Ettore Di Giacinto
088adf6f3a
Tag 0.9
2020-11-08 18:25:59 +01:00
Ettore Di Giacinto
df14fe60fc
Tag 0.8.15
2020-11-08 11:07:33 +01:00
Ettore Di Giacinto
76328176c1
Tag 0.8.14
2020-11-07 12:29:07 +01:00
Ettore Di Giacinto
46ed6423ad
Merge pull request #147 from mudler/fix-protect-uninstall
...
Fix protect uninstall
2020-11-07 12:28:24 +01:00
Daniele Rondina
0f59c207b0
Load config protect files on upgrade/uninstall
2020-11-06 23:30:08 +01:00
Ettore Di Giacinto
dcc5aae3cd
Tag 0.8.13
2020-11-06 22:25:26 +01:00
Ettore Di Giacinto
55ec38ffc7
Tag 0.8.12
2020-11-03 20:02:44 +01:00
Ettore Di Giacinto
9aa352dec8
Add json output to build
2020-11-03 18:06:56 +01:00
Ettore Di Giacinto
2b67b8dd24
Bump version
2020-10-30 19:15:10 +01:00
Ettore Di Giacinto
91dfb8ce3a
Enhance CLI output
2020-10-30 19:15:04 +01:00
Ettore Di Giacinto
529a827c5f
Tag 0.8.10
2020-10-29 16:50:17 +01:00
Ettore Di Giacinto
1956f476cc
Set concurrency when building
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
a216f71d53
Inverted options
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
95e640c9d0
Make solver type switchable
2020-10-29 16:32:13 +01:00
Ettore Di Giacinto
4e9313ed55
Tag 0.8.9
2020-10-22 18:36:37 +02:00
Ettore Di Giacinto
c9952b12a8
Get file list from parsed yaml
2020-10-22 17:33:37 +02:00
Ettore Di Giacinto
abae9c320a
Tag 0.8.8
2020-10-19 18:47:36 +02:00
Daniele Rondina
c0cc9ec703
convert: Now use slot for category name
2020-10-18 19:58:15 +02:00
Ettore Di Giacinto
4028c62367
Tag 0.8.7
2020-10-11 15:17:16 +02:00
Ettore Di Giacinto
3261b2af98
Drop also package file list from db entry
2020-10-10 18:53:43 +02:00
Ettore Di Giacinto
b88a81c7ed
Add database command
...
- Allows to override the system db and create/remove entries as desired.
The input format is the same metadata as the one generated by the
artifacts. It contains the Package and the file list that we need.
- Add integration test
Closes #47
2020-10-10 18:26:40 +02:00
Ettore Di Giacinto
1c1bdca343
Add only-target-package option to luet build
2020-10-06 17:57:57 +02:00
Ettore Di Giacinto
2cb0f3ab5d
Tag 0.8.6
2020-10-04 19:58:13 +02:00
Daniele Rondina
c64660b8d1
Permit to ignore config protect rules
...
* Added command line option --skip-config-protect
* Added config option config_protect_skip
2020-10-02 22:25:21 +02:00
Ettore Di Giacinto
6f623ae016
Tag 0.8.5
2020-09-10 17:40:33 +02:00
Daniele Rondina
bd80f9acd2
cmd/tree/bump: Add --pkg-version/-p to set specific version
2020-08-30 08:54:38 +02:00
Daniele Rondina
908b6d2bd4
cmd/tree/validate: Fix race and drop errs chan
2020-08-23 12:27:51 +02:00
Daniele Rondina
09c7609a7f
cmd/tree/validate: Add error summary
2020-08-20 11:36:56 +02:00
Daniele Rondina
a1acab0e52
cmd/tree/validate: Integrate validation of buildtime deps
...
By default both runtime and buildtime deps are checked.
With the option --only-buildtime is possible analyze only
buildtime deps or instead with the option --only-runtime
only the runtime deps.
Signed-off-by: Daniele Rondina <geaaru@sabayonlinux.org>
2020-08-20 11:09:39 +02:00
Ettore Di Giacinto
f676b50735
Tag 0.8.4
2020-08-05 19:37:32 +02:00
Ettore Di Giacinto
052a551c0c
Add "hidden" field to packages
...
Also drop residual of IsSet which isn't actually used
Related to #26
2020-08-02 11:31:23 +02:00
Ettore Di Giacinto
ffa6fc3829
Tag 0.8.3
2020-07-17 22:42:49 +02:00
Ettore Di Giacinto
07a1058ac1
Add cli option to skip packages if only metadata is present (without checking the image)
2020-07-17 22:42:03 +02:00
Ettore Di Giacinto
3af9109b99
Tag 0.8.2
2020-07-12 15:57:46 +02:00
Ettore Di Giacinto
5dcf77c987
Add package buildtimestamp and luet upgrade --sync
...
Annotate the package build time when compiling, and use that from the
client to force upgrade of packages that changed the artifact, but
didn't changed any version.
The client can trigger this behavior with `luet upgrade --sync`
2020-07-12 15:29:38 +02:00
Daniele Rondina
ee0e70ed3d
tree/pkglist: Now --deps orders for build/installation order
2020-07-05 10:44:47 +02:00
Daniele Rondina
e28a4753f8
tree/validate: Use --deps instead of --rdeps (we support also build deps)
2020-06-27 19:42:03 +02:00
Daniele Rondina
d1d7f5aa74
tree/pkglist: Add --rdeps option for runtime deps
2020-06-27 19:27:45 +02:00
Daniele Rondina
e2260b6956
Add --no-spinner option
2020-06-27 16:45:49 +02:00
Ettore Di Giacinto
764a09ce0c
Tag 0.8.1
2020-06-27 13:02:00 +02:00
Ettore Di Giacinto
16e9d7b20c
Use packageImage as builder image fingerprint
...
This allows to have an unique identifier for the builder image id against
different depgraphs combinations. The package fingerprint is not enough,
as an atom could have a difference deptree depending on the requires
constraints.
TODO: Don't use the full image name, but only the hash as a salt
(currently the salt contains ALSO a reference of the image-repository,
as such it doesn't allow to port a tree in a different docker registry)
2020-06-23 18:59:18 +02:00