Ettore Di Giacinto
86808ad49b
Fixup dockerfile
2020-05-26 21:19:27 +02:00
Ettore Di Giacinto
d59cc42e22
Add target to create smaller binary
2020-05-26 21:07:18 +02:00
Ettore Di Giacinto
cc21e6fa5e
Respect user-defined repository naming
2020-05-24 12:16:02 +02:00
geaaru
8c4f5b2911
Merge pull request #113 from mudler/annotations
...
Add Annotations to package spec
2020-05-23 10:52:32 +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
4197d7af61
Add upgrade by using only the SAT core
...
- Adds upgrade --universe and upgrade --universe --clean. It will
attempt to bring the system as much close as the content available in
the repositories. It differs from a standard upgrade which checks
directly that what is pulled in doesn't conflict with the system. In
this new way, we just query the SAT solver to decide that on our
behalf.
- Add uninstall --full-clean. It uses only the SAT solver to uninstall
the package and it will drop as many packages as required (including
revdeps of packages too.
2020-05-22 21:20:58 +02:00
Ettore Di Giacinto
bfde9afc7f
Add Nodeps and Full options to upgrade
2020-05-22 21:20:57 +02:00
Ettore Di Giacinto
3237423dde
Enhance upgrade output
2020-05-22 21:20:57 +02:00
Ettore Di Giacinto
ab179db96a
Don't drop packages that would be re-installed during upgrade
...
Check for packages that are marked for deletion. If the ones that are
marked for install are depending on it, don't remove them at all
2020-05-22 21:20:52 +02:00
geaaru
916b2a8927
Merge pull request #112 from mudler/package-sanitized
...
Package sanitized
2020-05-20 11:42:47 +02:00
Daniele Rondina
a16bdddeb2
Add spectooling test suite
2020-05-20 10:26:30 +02:00
Daniele Rondina
e38a4b3d9b
Use DefaultPackageSanitized struct for write specs
2020-05-20 09:59:48 +02:00
Ettore Di Giacinto
c52fe9a6b3
Add development version
2020-05-19 23:05:03 +02:00
Ettore Di Giacinto
956e55a1d4
Tag 0.7.9
2020-05-19 23:04:28 +02:00
Ettore Di Giacinto
9971fe9f45
Unique hashes for packages without deps
2020-05-18 19:57:01 +02:00
Daniele Rondina
11759f98e0
package/NewPackage: init Labels on AddLabel
2020-05-18 19:51:47 +02:00
Daniele Rondina
cb2ac15de8
package: Fix typo on labels key
2020-05-17 19:17:14 +02:00
Ettore Di Giacinto
c0b432befa
Add development version
2020-05-16 22:46:29 +02:00
Ettore Di Giacinto
8e029a8ee4
Tag 0.7.8
2020-05-16 22:46:04 +02:00
Ettore Di Giacinto
51711dafba
Add package_dir to pack a spec dir as the main artifact
2020-05-16 21:34:27 +02:00
Ettore Di Giacinto
2803430515
Add solver test scenario
2020-05-16 11:11:17 +02:00
Daniele Rondina
44213894bc
Add commands aliases
2020-05-10 20:24:08 +02:00
Daniele Rondina
a7d1381cb5
cmd/create-repo: Add support for multiple trees
2020-05-10 20:18:10 +02:00
Daniele Rondina
2cb79c0071
cmd/build: Add support for multiple trees
2020-05-10 20:02:12 +02:00
Ettore Di Giacinto
7d17d3babf
Merge pull request #109 from mudler/log-cmdline-opts
...
Log cmdline opts
2020-05-09 11:16:37 +02:00
Daniele Rondina
13df161fc6
logging: permit to disable color and emoji
...
Now it's possible disable color and emoji on standard
output with:
$> luet <cmd> --color=false --emoji=false
Hereinafter, the list of changes:
* Added logging option logging.color (default true)
* Added logging option logging.enable_emoji (default true)
* Added persistent flag --color
* Added persistent flag --emoji
2020-05-09 10:08:21 +02:00
Daniele Rondina
fe5ab9246f
Added option for enable log to file.
...
Now it's possible logging to file is handled by the enable_logfile
option and by the path.
From cli is now possible:
* enable log to file with the option --enable-logfile
* modify the logfile path with the option --logfile/-l <path>
2020-05-09 10:05:34 +02:00
Daniele Rondina
993bcf9adf
tree/validate: Add support for in memory cache with solver check
2020-05-08 20:05:21 +02:00
Ettore Di Giacinto
20cb96e0cc
Simplify ordering check
...
we don't need a map[string]map[string]interface{}, as we don't need to
keep the data around
2020-05-04 17:34:29 +02:00
Daniele Rondina
b68634b58a
solver: skip same packages in the order and avoid loop
2020-05-04 12:21:49 +02:00
Ettore Di Giacinto
1b529ea8c5
Add development version
2020-05-03 13:46:53 +02:00
Ettore Di Giacinto
2c2e6065d9
Tag 0.7.7
2020-05-03 13:46:35 +02:00
Ettore Di Giacinto
46014fb9c1
Enhance install output
2020-05-03 13:22:06 +02:00
Ettore Di Giacinto
ada9d886fa
Enhance uninstall output
2020-05-03 13:22:00 +02:00
Ettore Di Giacinto
584b980644
Adapt integration test which requires full uninstall
2020-05-03 13:12:14 +02:00
Ettore Di Giacinto
a1d8ef1422
Allow to partially uninstall a package graph, make uninstall --full optional
2020-05-03 13:04:34 +02:00
Ettore Di Giacinto
7b6e4a2176
Add to the Solver the capability to check conflicts with revdeps
2020-05-03 10:34:18 +02:00
Ettore Di Giacinto
3befbfa915
Optimize uninstall computation
2020-05-02 15:43:57 +02:00
Ettore Di Giacinto
8dd756ec96
Add development version
2020-05-02 14:51:08 +02:00
Ettore Di Giacinto
1b6ffac7bd
Tag 0.7.6
2020-05-02 14:50:29 +02:00
Ettore Di Giacinto
faef3d093a
Add test fixtures
2020-05-02 14:03:34 +02:00
Ettore Di Giacinto
d4c25d74f5
Remove focus from test
2020-05-02 13:27:15 +02:00
Ettore Di Giacinto
2ed9781c88
Don't try to match against repo already installed packages
2020-05-02 13:24:46 +02:00
Ettore Di Giacinto
9d6d6bc0c8
Add more upgrade and reclaim tests scenarios
2020-05-02 12:18:19 +02:00
Ettore Di Giacinto
f8b2837741
Enhance reclaim output
2020-05-02 12:17:54 +02:00
geaaru
878e6d7b9c
Merge pull request #103 from mudler/tmpdir-cleanup
...
Tmpdir cleanup
2020-05-02 09:20:01 +02:00
Daniele Rondina
c5b41946dc
Add integration test for tmpdir cleanup
2020-05-02 08:43:25 +02:00
Daniele Rondina
a89c0af2f8
config/config_test: Fix typo
2020-05-01 15:34:17 +02:00
Daniele Rondina
60d9017952
CleanupTmpDir() is not Fatal
2020-05-01 15:27:19 +02:00