Daniele Rondina
51a4037b1b
config: Initialize luet tmp basedir if doesn't exist
2020-05-01 08:18:18 +02:00
Daniele Rondina
11944873ea
Integrate tmpdir_base params and tmpdirs cleanup
2020-04-30 20:29:28 +02:00
Ettore Di Giacinto
ac871cb0a3
Add --output option to search
...
In such way it can be parsed by scripts more easily.
It also disable the spinner based on loglevel
Fixes #92
2020-04-18 23:22:00 +02:00
Ettore Di Giacinto
f987ee9fa0
Handle errors from os/user
...
We use it to generate defaults, if error is found, we imply preserve
permissions
2020-04-11 20:05:56 +02:00
Daniele Rondina
202ed2651a
💥 Refactor and split repository.yaml file
2020-03-24 00:05:16 +01:00
Ettore Di Giacinto
d6f7c47eae
Add compact string notation for SolverOptions
2020-02-12 12:23:37 +01:00
Ettore Di Giacinto
8951203165
Add LuetSolverOptions to tweak solver parameter in Config
2020-02-12 11:21:08 +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
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
aeea0cc5fe
Add Cached option to LuetRepository
2020-01-12 23:33:19 +01:00
Daniele Rondina
d3bd78d618
Repository now support Revision and LastUpdate
2020-01-03 20:09:29 +01:00
Daniele Rondina
6af62b5851
Define default values for loaded repositories
2020-01-03 19:37:51 +01:00
Daniele Rondina
7ec36da059
Add --fatal option
...
Close #8
2020-01-03 15:41:45 +01:00
Daniele Rondina
f28e8deb96
logger: Add support for json format
2020-01-03 15:20:42 +01:00
Daniele Rondina
ce888a2f40
Fix marshal of repository and use of cache repos
2020-01-01 13:44:39 +01:00
Daniele Rondina
a71e1a6f1d
Integrate config.LuetRepository with installer
...
* installer.LuetRepository is now installer.LuetSystemRepository,
a struct that extend config.LuetRepository
* config: system_repositories option is now "repositories".
This resolve viper issue.
* config: cache_repositories option is now "repetitors"
This resolve viper issue.
* cmd/*: Now use new config.LuetRepository
* cmd/search: now create local luet repository if database_engine
is equal to "boltdb"
2020-01-01 13:43:23 +01:00
Daniele Rondina
7f160a7a89
config: Add system section
2020-01-01 13:43:23 +01:00
Daniele Rondina
bbc9574745
Review luet configuration file
2020-01-01 13:43:22 +01:00