Commit Graph

50 Commits

Author SHA1 Message Date
a95e295772
Replace invlaid type (list) by dict in detector.py
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-09 20:34:09 +02:00
9ac4a31e19
detector: use [] instead of false
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-09 19:31:58 +02:00
2557cd9a6e
Fixed bug in calling repo_fingerprint() like property
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-09 14:02:06 +02:00
27057beed4
Update: dockerize externally, update --colored flag
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-09 06:41:41 +02:00
be404eb5e3
Fixed bux for debian, setup.py: pipx install
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-08 14:12:19 +02:00
188543a624
Semi-functional prepare-git-tree + process_repository_dir uses which now
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-08 11:54:57 +02:00
94275014c5
Fix bug in RepoTool.repo_fingerprint
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-08 09:33:45 +02:00
9b055ef356
Add color support + switch for logging
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-08 09:27:52 +02:00
48427a967c
New commands, renamed old commands
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-08 08:00:58 +02:00
05328547e1
Wizzatrd: create .enabled, fix some typos
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-07 21:47:58 +02:00
1fef7bc404
New behavior, new tests, added wizzard and processor
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-07 21:44:31 +02:00
f4ac509665
Fix typo
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-06 02:12:34 +02:00
92bf69f4f3
Minor progress in wizzard
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-06 02:11:44 +02:00
ebc5b68ddd
Default cloner depth = 0 (unlimited)
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-06 02:11:10 +02:00
b3b9fbf0c8
Cred helper: load token, token support. RepoTool: timeout
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-05 23:05:33 +02:00
de67130fd5
Added support for project-name
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 16:52:43 +02:00
0e1d535ba0
cloner: timer: grace interval
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 14:52:45 +02:00
cb0d8681ae
Fix some bugs
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 14:44:58 +02:00
f75702439c
Detector: perist executed actions
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 14:04:36 +02:00
12c59f9b23
cloner.detector_run
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 13:03:01 +02:00
02f092bfc3
Detector: fingerprint store methods
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 11:09:26 +02:00
d74c67d4f6
Cloner: sync - check fingerprint before costy discovery
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-04 09:50:42 +02:00
5ca24960c3
Detector: almost complete
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-03 16:42:29 +02:00
52c3d03e2f
cloner.detector_enabled
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-03 07:02:49 +02:00
d57d6c4f8b
Debug info about found submodules
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-03 00:03:15 +02:00
a2bf978fde
Return commits in chronological order
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-02 20:53:29 +02:00
8bc6a7b578
New tests, Cloner.sync() without tests, but recursive
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-08-02 15:55:22 +02:00
4cf4c3ff80
DiskStoredList
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-31 15:33:35 +02:00
d41ead74db
Cloner: clone() recursion support, TODO: recursion tests
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-31 02:08:27 +02:00
ae34a5e95f
New tests for cloner.clone_recursive
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-30 20:29:59 +02:00
6463a6bb95
Update, repo tool cloner: recursive clones
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-29 17:03:15 +02:00
8a150c63c5
Repo cloner: list submodules
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-29 04:22:05 +02:00
b1b0554e60
Cloner begining
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-28 21:03:20 +02:00
c3e431bab5
Test fetch behavior
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-27 12:52:47 +02:00
54ed1ded30
git fetch + tests
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-27 00:18:13 +02:00
7689572edb
Optional ->Union[None]
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-26 22:16:07 +02:00
de15f3d02d
Fix typehints?
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-26 22:13:37 +02:00
c196e33b4b
Repo clone test
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-26 22:04:51 +02:00
9eece76ad9
Checksum lib added
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-26 02:51:41 +02:00
872b6bad3f
Fix default cloner interval
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-24 22:47:13 +02:00
21d449a0a9
Improve runner script: exit codes
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-24 22:24:42 +02:00
b7e9056b81
Nicer code
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-24 21:29:11 +02:00
8e92bc70a7
Add config parser functionality
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-07-24 21:14:05 +02:00
cb5e934c4a
ClonerConfig + tests
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-06-26 05:22:19 +02:00
9feca35311
DefaultClonerConfig added, removed obsolette bash file
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-06-26 02:16:51 +02:00
525c27795c
add has_config
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-06-26 01:24:40 +02:00
7293289a1a
Extend ConfigFileNotFoundError
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-06-26 01:15:44 +02:00
97054b4fcc
ConfigFileNotFound exception + run-test script
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-06-26 00:46:56 +02:00
69151619f7
Add test condition for every dir possible
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-06-26 00:05:36 +02:00
155597aeff
Python: basic, package install, error handler for begining
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
2022-05-04 15:02:55 +02:00