annotations.git
2 years agoannotations: avoid generating a KeyError exception
Andrea Righi [Tue, 15 Nov 2022 11:02:56 +0000 (12:02 +0100)]
annotations: avoid generating a KeyError exception

Always try to return None when a config is not defined in annotations
rather then throwing an exception.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: allow to import/resync single config option
Andrea Righi [Tue, 15 Nov 2022 09:47:08 +0000 (10:47 +0100)]
annotations: allow to import/resync single config option

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agodoc: update TODO list
Andrea Righi [Tue, 15 Nov 2022 07:58:43 +0000 (08:58 +0100)]
doc: update TODO list

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: properly handle dropped configs during import
Andrea Righi [Tue, 15 Nov 2022 07:58:30 +0000 (08:58 +0100)]
annotations: properly handle dropped configs during import

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: check: catch options that are removed from the .config
Andrea Righi [Mon, 14 Nov 2022 22:09:07 +0000 (23:09 +0100)]
annotations: check: catch options that are removed from the .config

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: make action argument mandatory
Andrea Righi [Mon, 14 Nov 2022 20:51:52 +0000 (21:51 +0100)]
annotations: make action argument mandatory

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: avoid converting null results to kconfig format
Andrea Righi [Mon, 14 Nov 2022 20:49:36 +0000 (21:49 +0100)]
annotations: avoid converting null results to kconfig format

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: try to compact annotations before saving it
Andrea Righi [Mon, 14 Nov 2022 19:01:43 +0000 (20:01 +0100)]
annotations: try to compact annotations before saving it

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoannotations: automatically detect annotations file location
Andrea Righi [Mon, 14 Nov 2022 18:00:54 +0000 (19:00 +0100)]
annotations: automatically detect annotations file location

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agodoc: add a basic README.md
Andrea Righi [Mon, 14 Nov 2022 10:25:27 +0000 (11:25 +0100)]
doc: add a basic README.md

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoadd a .gitignore
Andrea Righi [Mon, 14 Nov 2022 10:25:20 +0000 (11:25 +0100)]
add a .gitignore

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2 years agoinitial version
Andrea Righi [Mon, 14 Nov 2022 10:25:14 +0000 (11:25 +0100)]
initial version

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>