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
c284d3e4bf
Add support for logging to file
2020-01-03 15:22:55 +01:00
Daniele Rondina
f28e8deb96
logger: Add support for json format
2020-01-03 15:20:42 +01:00
Daniele Rondina
4433fc72ac
Add vendor go.uber.org/zap
2020-01-03 15:20:02 +01:00
Daniele Rondina
20654d5dbb
contrib: Update config example
2020-01-03 10:05:38 +01:00
Daniele Rondina
b986c613ab
tests/integration/01_simple.sh: Use system-dbpath/system-target from config
2020-01-02 18:39:14 +01:00
Daniele Rondina
cd0e588fa9
cmd/config: Align print to new tags
2020-01-02 18:38:07 +01:00
Daniele Rondina
5358475069
test/integration/01_simple.sh: Use boltdb engine on config
2020-01-02 18:31:56 +01:00
Daniele Rondina
716d404307
Align logic of cache repositories in all commands
2020-01-02 18:31:25 +01:00
Daniele Rondina
b12410edb7
Errors on create database paths are now fatal
2020-01-01 22:58:53 +01:00
Daniele Rondina
db7301f7bf
Align selector logic for explicit version with PkgSelectorConditionFromInt
2020-01-01 22:58:19 +01:00
Daniele Rondina
ebcf6075d0
database_mem: Add test for specific candidate
2020-01-01 22:55:19 +01:00
Daniele Rondina
98248432d1
Update pkgs-checker vendor/
2020-01-01 22:44:18 +01:00
Ettore Di Giacinto
bbd811a6f2
If version is explict, do not add the selector in it
2020-01-01 14:20:45 +01:00
Daniele Rondina
9af733370a
Update integration-test
2020-01-01 13:44:39 +01:00
Daniele Rondina
ce888a2f40
Fix marshal of repository and use of cache repos
2020-01-01 13:44:39 +01:00
Daniele Rondina
01e66ee0b4
Review install phase
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
3b266fd600
installer: Repositoris now support multiple uris
2020-01-01 13:43:23 +01:00
Daniele Rondina
0d02eccc6c
installer: Fix tests
2020-01-01 13:43:23 +01:00
Daniele Rondina
ee210851f0
contrib: Add luet config stub
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
8b66127016
cmd/install: Now use _gentoo.ParsePackageStr and support pkgs without version
2020-01-01 13:43:22 +01:00
Daniele Rondina
16453bd09f
Concurrency option is now global
...
* concurrency could be configured now from cmdline,
configuration file or LUET_GENERAL__CONCURRENCY env variable
* verbose option is now related to debug option
2020-01-01 13:43:22 +01:00
Daniele Rondina
358b39b5dd
simpledocker: Support show_build_output option
2020-01-01 13:43:22 +01:00
Daniele Rondina
da11a84d23
Rename repository type local to "disk"
...
See reference #4
2020-01-01 13:43:22 +01:00
Daniele Rondina
0cb49a40c0
Support logging level and spinner customization
2020-01-01 13:43:22 +01:00
Daniele Rondina
bbc9574745
Review luet configuration file
2020-01-01 13:43:22 +01:00
Daniele Rondina
6f837c8c26
cmd/uninstall: Support uninstall of multiple pkgs
2020-01-01 13:43:21 +01:00
Daniele Rondina
4dffc658db
database_boltdb: Align review of version comparision logic
2020-01-01 13:43:21 +01:00
Daniele Rondina
a7e262cc48
cmd/build: Now support package without version/selector
2020-01-01 13:43:21 +01:00
Daniele Rondina
91d05b071d
Review version comparision logic
2020-01-01 13:43:21 +01:00
Daniele Rondina
bbeb800611
cmd/build: selector is defined inside version
2020-01-01 13:43:21 +01:00
Daniele Rondina
ffcac1d03e
Update vendor pkgs-checker
2020-01-01 13:43:21 +01:00
Daniele Rondina
4c62f714c4
cmd/build: Now use _gentoo.ParsePackageStr
2020-01-01 13:43:17 +01:00
Ettore Di Giacinto
9db9c1bf19
Add integration test for reinstall warning
2020-01-01 12:04:26 +01:00
Ettore Di Giacinto
5e8a29caf5
Detect already installed packages when calling install
...
We wasn't checking this previously, which was drawing weird errors on the CLI
2020-01-01 11:58:33 +01:00
Ettore Di Giacinto
255f768cc0
Enhance simple integration test
2019-12-31 15:59:46 +01:00
Ettore Di Giacinto
1af235dfdc
Add integration tests to run on travis
2019-12-31 15:44:00 +01:00
Ettore Di Giacinto
62ebe1a82b
Add integration tests
2019-12-31 15:22:11 +01:00
Ettore Di Giacinto
efdfe72568
Treat CompressionType none as default
...
To provide backward compatibility with repos that didn't declares it explictly
2019-12-31 12:29:53 +01:00
Ettore Di Giacinto
c193e4d320
Enhance output
2019-12-30 16:35:38 +01:00
Ettore Di Giacinto
3d5b723668
Add compression tests
...
Refers to #33
2019-12-30 16:35:35 +01:00
Ettore Di Giacinto
58eb483e32
Do not create new artifact on client
...
Otherwise we loose artifact metadata - as checksum and compressiontype
Refers to #33
2019-12-30 16:35:33 +01:00
Ettore Di Giacinto
4f65d46d56
Drop CompressedPath, or we don't have a way to compare checksums
...
Refers to #33
2019-12-30 16:35:30 +01:00
Ettore Di Giacinto
d48f510f14
Propagate Checksum and CompressionType when building ArtifactIndex
...
Refers to #33
2019-12-30 16:35:28 +01:00
Ettore Di Giacinto
ea27ada6c0
Do not return errors after we uncompress successfully
...
Refers to #33
2019-12-30 16:35:25 +01:00
Ettore Di Giacinto
f71c9937c4
Add compression to build CLI
...
Also handle how concurrency is set now.
Adds also an accessor to compiler to set the desired compression type
Refers to #33
2019-12-30 16:35:21 +01:00