Commit graph

43899 commits

Author SHA1 Message Date
nobodyinperson
1d1864ee5e Brainstorm (semi)automatic description updating 2023-10-25 11:27:17 +00:00
v@80d733f66c2e675c27ee39df565ebed8d0ea12de
18f902efa9 Added a comment: Minimum required version 2023-10-24 14:27:25 +00:00
v@80d733f66c2e675c27ee39df565ebed8d0ea12de
57fdb44817 Added a comment: Outdated? 2023-10-24 13:26:44 +00:00
Joey Hess
8bde6101e3
sqlite datbase for importfeed
importfeed: Use caching database to avoid needing to list urls on every
run, and avoid using too much memory.

Benchmarking in my podcasts repo, importfeed got 1.42 seconds faster,
and memory use dropped from 203000k to 59408k.

Database.ImportFeed is Database.ContentIdentifier with the serial number
filed off. There is a bit of code duplication I would like to avoid,
particularly recordAnnexBranchTree, and getAnnexBranchTree. But these use
the persistent sqlite tables, so despite the code being the same, they
cannot be factored out.

Since this database includes the contentidentifier metadata, it will be
slightly redundant if a sqlite database is ever added for metadata. I
did consider making such a generic database and using it for this. But,
that would then need importfeed to update both the url database and the
metadata database, which is twice as much work diffing the git-annex
branch trees. Or would entagle updating two databases in a complex way.
So instead it seems better to optimise the database that
importfeed needs, and if the metadata database is used by another command,
use a little more disk space and do a little bit of redundant work to
update it.

Sponsored-by: unqueued on Patreon
2023-10-23 16:46:22 -04:00
Joey Hess
df4a60e28d
update 2023-10-23 14:18:49 -04:00
Joey Hess
105fb7e47d
update 2023-10-23 14:12:18 -04:00
Joey Hess
ae4ed08fc6
Merge branch 'master' of ssh://git-annex.branchable.com 2023-10-23 13:56:22 -04:00
Joey Hess
12e751bbb6
improve docs 2023-10-23 13:55:53 -04:00
Manager2103
847e9b4a3c Added a comment 2023-10-23 17:50:22 +00:00
Joey Hess
70d11a209d
notabug 2023-10-23 13:46:46 -04:00
matrss
efad352738 2023-10-23 15:16:18 +00:00
branch
079323e846 Added a comment 2023-10-23 09:57:00 +00:00
Manager2103
fe3b85a744 Added a comment 2023-10-21 17:22:53 +00:00
Joey Hess
5d807fcac0
notabug 2023-10-21 12:27:24 -04:00
Joey Hess
434f70f2ce
Merge branch 'master' of ssh://git-annex.branchable.com 2023-10-21 12:25:19 -04:00
Joey Hess
22e3cf03c8
comment 2023-10-20 14:02:37 -04:00
Joey Hess
6a61c7ff45
Fix crash of enableremote when the special remote has embedcreds=yes
The crash occurred because writeCreds got called twice, and writeFileProtected
neglected to close its file handle, so the file was open for write when
written the second time.

It seems unncessary and suboptimal that writeCreds gets called twice.
One call is from getRemoteCredPair and the other from setRemoteCredPair'.
What happens is that in the enableremote case, code that also runs at
initremote does unncessary work. Might be possible to improve that, but
I've gone for the simple fix.

Sponsored-by: k0ld on Patreon
2023-10-20 13:19:12 -04:00
Joey Hess
37c299ae6c
remove vim dev hack
This caused infinite recursion when I just used it, the dev target has
changed to re-run make. Anyway, not needed now.
2023-10-20 12:50:31 -04:00
Manager2103
fbb29e29de 2023-10-20 16:14:24 +00:00
Manager2103
04e76d138f 2023-10-20 16:13:30 +00:00
Manager2103
017dfd2385 2023-10-20 16:12:03 +00:00
Manager2103
7d992dff46 2023-10-20 16:10:54 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
4e06d64158 Added a comment 2023-10-17 10:28:51 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
7967de8fc0 Added a comment 2023-10-17 10:16:24 +00:00
kdm9
3bdca88419 new bug: git annex enableremote locking issue 2023-10-17 10:13:47 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
daebd50ee3 2023-10-17 09:41:12 +00:00
emi@f69ad15b49bfecb4ea3836b6480e5ab8df9a5f7d
591426931b Added a comment: Rclone B2 vs S3 2023-10-15 15:03:18 +00:00
emi@f69ad15b49bfecb4ea3836b6480e5ab8df9a5f7d
14ce02650e removed 2023-10-15 15:02:45 +00:00
emi@f69ad15b49bfecb4ea3836b6480e5ab8df9a5f7d
a73f77bcc8 Added a comment: Rsync vs S3 2023-10-15 15:01:24 +00:00
Joey Hess
892d87efa4
comment 2023-10-14 14:33:38 -04:00
Joey Hess
c268dc5878
only stage regular files from the journal
git-annex only writes regular files there, but other things may drop junk
like empty .DAV directories around the tree. And trying to hash such things
can have weird and hard to understand effects. So it seems best to do a
small amount of work in statting the journal file to make sure it's a
regular file.

Sponsored-by: Jack Hill on Patreon
2023-10-10 13:22:02 -04:00
Joey Hess
35206e32f2
Merge branch 'master' of ssh://git-annex.branchable.com 2023-10-10 12:56:09 -04:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
e2a9263548 Added a comment 2023-10-10 02:36:51 +00:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
b1b269c7c8 Added a comment 2023-10-09 22:30:46 +00:00
Joey Hess
c2aeabc738
comment 2023-10-09 15:00:33 -04:00
Joey Hess
4ec1694f89
comment 2023-10-09 14:47:19 -04:00
Joey Hess
2195280920
comment 2023-10-09 14:38:24 -04:00
Joey Hess
7d20487e43
commnet 2023-10-09 14:29:06 -04:00
Joey Hess
48e805e03b
comment 2023-10-09 14:28:01 -04:00
Joey Hess
08c27c5ea0
don't say a supported version is unsupported
When an automatic upgrade from eg v10 fails, it's still a supported
version, so don't say unsupported.
2023-10-09 14:26:24 -04:00
beryllium@5bc3c32eb8156390f96e363e4ba38976567425ec
7ac22dc834 2023-10-09 07:41:37 +00:00
nobodyinperson
2aa8957807 Added a comment 2023-10-06 03:22:12 +00:00
branch
259f0514c2 Added a comment 2023-10-05 21:40:55 +00:00
kdm9
273751079e Added a comment: Linux 64bit failing? 2023-10-04 14:39:48 +00:00
Atemu
ef31f16abb 2023-10-01 10:06:18 +00:00
Atemu
44a7b4c973 2023-10-01 09:38:29 +00:00
Joey Hess
b3bc2e74de
drop NSF logo
Seems hotlinking is not allowed, and I don't want to copy it to some
other site (can't include it here due to licensing.)
2023-09-27 15:02:11 -04:00
Joey Hess
9ad2d789ce
fix NSF logo 2023-09-27 14:57:18 -04:00
Joey Hess
c2e60dd7a6
enable parallel ghc for building git-annex
Via a build flag this time, that's off by default because hackage
demands it be so, but that gets turned on by the Makefile and by stack.
2023-09-26 13:46:44 -04:00
Joey Hess
4ac2758ba5
Revert "enable parallel ghc for building git-annex"
This reverts commit 3f6aff89b1.

Sadly hackage rejects cabal files using -j unless hidden behind an
option that is disabled by default.
2023-09-26 13:34:28 -04:00