[PATCH] debuginfod-doc: PR27950 - Remove redanduncies in man page.

2021-07-28 Thread Alice Zhang via Elfutils-devel
Create a new file, debuginfod-client-config.7, that holds all environment variables and cache control files related info. Get rid of repetitive definitions in three other files, instead, those files will include the content of new file. Any future modification related to environment variables and c

[PATCH] PR27531: retry within default retry_limit will be supported. In debuginfod-client.c (debuginfod_query_server), insert a goto statement for jumping back to the beginning of curl handles set up

2021-07-06 Thread Alice Zhang via Elfutils-devel
Also introduced DEBUGINFOD_RETRY_LIMIT_ENV_VAR and default DEBUGINFOD_RETRY_LIMIT(which is 2). Correponding test has been added to tests/run-debuginfod-find.sh Signed-off-by: Alice Zhang --- config/ChangeLog | 4 config/debuginfod.sysconfig| 1 + debuginfod/ChangeLog

[PATCH] debuginfod: debuginfod client would cache negative results.

2021-05-04 Thread Alice Zhang via Elfutils-devel
add debuginfod_config_cache for reading and writing to cache configuration files, make use of the function within debuginfod_clean_cache and debuginfod_query_server. in debuginfod_query_server, create 000-permission file on failed queries. Before querying each BUILDID, if corresponding 000 file de

[PATCH] PR25628: Debuginfod client should cache negative results.

2021-04-28 Thread Alice Zhang via Elfutils-devel
* debuginfod/debuginfod-client.c: - add debuginfod_config_cache for reading and writing to cache configuration files, make use of the function within debuginfod_clean_cache and debuginfod_query_server. - in debuginfod_query_server, create 000-permission file on failed queries. Befor

[PATCH] debuginfod: DEBUGINFOD_URLS should accept scheme-free urls

2020-07-03 Thread Alice Zhang via Elfutils-devel
Check scheme instead of effective url so that user may abbreviate DEBUGINFOD_URL. Add one test for scheme free http url. Notice that libcurl does not provide an almighty scheme free url support, /path/to/something without FILE:// can not be recognized in most circumstances, therefore for the neatn

[PATCH] Complete PR25797 by modifying * debuginfod-client.c : check scheme instead of effective url so that user may abbreviate DEBUGINFOD_URL * tests/run-debuginfod-find.sh : add one test for scheme

2020-06-29 Thread Alice Zhang via Elfutils-devel
Signed-off-by: Alice Zhang --- debuginfod/debuginfod-client.c | 17 - tests/run-debuginfod-find.sh | 6 ++ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/debuginfod/debuginfod-client.c b/debuginfod/debuginfod-client.c index c2aa4e10..3764b5f2 100644 --- a/d