Sascha L. Teichmann
7a8cdb6d19
Lift distribution from v2 to v3. ( #467 )
...
* v2 -> v3
* Increase version within Makefile
---------
Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
2023-09-27 15:46:57 +02:00
JanHoefelmeyer
a569b573a4
Merge pull request #460 from csaf-poc/unit_tests
...
Unit tests of internal packages
2023-09-27 12:15:44 +02:00
Sascha L. Teichmann
7cd076d4f8
Downloader: Remove verbose flag ( #464 )
...
* Remove verbose flag from downloader.
* Do structured http logging in forwarder, too.
* Use structured logging to separate http traffic of downloader from forwarder.
2023-09-27 11:30:24 +02:00
Sascha L. Teichmann
6b07885848
Fix copyright headers. Make staticcheck happy.
2023-09-25 21:19:41 +02:00
Sascha L. Teichmann
52476f8560
use defer to restore original args.
2023-09-25 20:12:17 +02:00
Sascha L. Teichmann
1854cc4c58
Add test to trigger help output in second pass in command line parsing.
2023-09-25 18:15:09 +02:00
Sascha L. Teichmann
abce4e7f78
Add test for second pass command line passing.
2023-09-25 17:54:35 +02:00
JanHoefelmeyer
62290215ec
Test os.exit and log.Fatalf in options_test.go
2023-09-25 14:17:22 +02:00
Sascha L. Teichmann
21fbd401b7
Cosmetics
2023-09-25 13:05:53 +02:00
JanHoefelmeyer
b06c316ee0
Add minimum documentation to some functions
2023-09-25 11:15:01 +02:00
JanHoefelmeyer
a217f88ea1
Many unittests for internal folder
2023-09-08 09:40:41 +02:00
Sascha L. Teichmann
1bdaf5854a
Fallback to default config files if no config file was given.
2023-07-25 10:53:18 +02:00
Sascha L. Teichmann
9697e99d86
Improve comment
2023-07-25 00:17:44 +02:00
Sascha L. Teichmann
95bd705036
Factor command line parsing into an internal package for reuse.
2023-07-24 23:25:16 +02:00