Feature #724
closedCache control interface for ldv-git
0%
Description
As Alexey mentioned at the scrum today, compile-cache in ldv-git is a powerful optimization, but sometimes the user needs to clean it (for example, after bugs like #718 are fixed). An interface like ldv-git drop-cache
would be nice.
Another nice feature would be ldv-git drop-older-caches
, which is intended to dropping caches of commits that are older than the current one. Useful if the user knows that he's not going to re-check them anymore.
Updated by Pavel Shved almost 14 years ago
- Status changed from Open to Resolved
Updated by Alexey Khoroshilov almost 14 years ago
Всё бы хорошо, только prefix=/opt make install почему-то не обновляет ldv-git.
Updated by Alexey Khoroshilov almost 14 years ago
- Status changed from Resolved to Open
After installation the new version using make install-ldv-git, ldv-git drop-cache and running ldv-git --force --no-update-meta --keep-work --rule=08_1 --filter=isdn/capi/capidrv check, I have got the following error:
ldv-kmanager: NORMAL: Description name = "1". ldv-kmanager: NORMAL: Kernel successfully prepared. ldv-git: NORMAL: Generating list of changed files... Died at /home/tester/ldv/opt/bin/../ldv-git/metadiff line 8. ldv-git: NORMAL: Reading list of changed files... ldv-git: NORMAL: Filtering changed files... ldv-git: NORMAL: Generating sets of C files that form drivers... Died at /home/tester/ldv/opt/bin/../ldv-git/metadeps line 39. ldv-git: NORMAL: List of drivers that would be verified: ldv-git: NORMAL: ---------------------------------------------- ldv-git: NORMAL: Total: 0 drivers ldv-git: NORMAL: Generating build commands for all drivers... Can't open metadata file '/home/tester/ldv/workdir/envs/1/metadata/commands-4162cf64973df51fc885825bc9ca4d055891c49f': No such file or directory at /home/tester/ldv/opt/bin/../shared/perl/MetaUtils.pm line 76. metadriver for /home/tester/ldv/workdir/envs/1/metadata/meta-4162cf64973df51fc885825bc9ca4d055891c49f at /home/tester/ldv/opt/bin/ldv-git line 719, <GEN6> line 1.
Updated by Pavel Shved almost 14 years ago
The metadata file in /home/tester/ldv/workdir/envs/1/metadata/meta-4162cf64973df51fc885825bc9ca4d055891c49f
doesn't exist.
LDV-Git's cache cleanup procedure has nothing to do with it. It doesn't touch such files.
However, I compared the path with the path I saw in bug #718, and noticed that they differ...
/home/tester/.ldv/ldv/envs/1/work/work-4162cf6 /home/tester/ldv/workdir/envs/1/metadata/meta-4162cf6
Did you fiddle with LDVGIT_BASE
environment variable?
Updated by Alexey Khoroshilov almost 14 years ago
ldv-git drop-cache and ldv-git drop-older-caches works, the only open issue is some old caches are not removed by ldv-git --rule=all drop-older-caches.
Updated by Pavel Shved almost 14 years ago
- Status changed from Open to Resolved
They now do. See revision 87223b3.
Updated by Alexey Khoroshilov almost 14 years ago
- Status changed from Resolved to Closed
I already have no environment to check the fix, so I suggest to call it fixed and open a new bug if any issues arose.