]> _ Git - alire.git/commit
Auto-update index periodically (#1447)
authorAlejandro R Mosteo <amosteo@unizar.es>
Wed, 4 Oct 2023 09:01:52 +0000 (11:01 +0200)
committerGitHub <noreply@github.com>
Wed, 4 Oct 2023 09:01:52 +0000 (11:01 +0200)
commitaab567a4f317521f6a2a9ac0450447ad4a23d6aa
tree546dc270f37d1aeaf9b4ed29be2ba35bdfbd69dd
parentffc5659ce864740b62fc1ab89b4ea7e93b6f23d1
Auto-update index periodically (#1447)

* Auto-refresh indexes after some time (default 24h)

* ask user on first autoupdate

* User changes

* Test behavior on network failure
27 files changed:
doc/user-changes.md
src/alire/alire-config-builtins.ads
src/alire/alire-config.adb
src/alire/alire-config.ads
src/alire/alire-index_on_disk-loading.adb
src/alire/alire-index_on_disk-loading.ads
src/alire/alire-index_on_disk-updates.adb [new file with mode: 0644]
src/alire/alire-index_on_disk-updates.ads [new file with mode: 0644]
src/alr/alr-commands-get.adb
src/alr/alr-commands-index.adb
src/alr/alr-commands-install.adb
src/alr/alr-commands-publish.adb
src/alr/alr-commands-search.adb
src/alr/alr-commands-show.adb
src/alr/alr-commands-toolchain.adb
src/alr/alr-commands-update.adb
src/alr/alr-commands-withing.adb
src/alr/alr-commands.adb
src/alr/alr-commands.ads
testsuite/Dockerfile
testsuite/drivers/alr.py
testsuite/drivers/driver/docker_wrapper.py
testsuite/tests/dockerized/misc/failed-auto-update/test.py [new file with mode: 0644]
testsuite/tests/dockerized/misc/failed-auto-update/test.yaml [new file with mode: 0644]
testsuite/tests/index/auto-update/test.py [new file with mode: 0644]
testsuite/tests/index/auto-update/test.yaml [new file with mode: 0644]
testsuite/tests/monorepo/get-dirname/test.py