This commit is contained in:
Joey Hess 2021-12-30 12:45:00 -04:00
parent 283ef4aae6
commit ff4486b91c
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="joey"
subject="""comment 10"""
date="2021-12-30T16:43:10Z"
content="""
@yoh I'm also planning to extend git-annex's test suite with checks that
some of the basic queries work in readonly repos.
"""]]

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 9"""
date="2021-12-30T16:34:03Z"
content="""
@jkniiv that may somehow be windows-specific, if opening a sqlite database
on windows in order to only query it needs write access.
I did try this on linux with an unlocked file and it did not crash, but the
file was already present in the database. I also tried with the keysdb
deleted, and it still worked. I'm sure that there are situations though
where the database is not updated where it will try to populate it before
querying it, which will fail when it cannot write.
It would be worth filing new bug reports for such issues. Although
when write access is unavoidable, I might just have to close them.
"""]]