4
0
forked from pool/git-annex

28 Commits

Author SHA256 Message Date
978a62a7a1 Merge pull request 'Fix Leap 16.0 build' (#1) from mlin7442/git-annex:leap-16.0 into leap-16.0
Reviewed-on: pool/git-annex#1
Reviewed-by: Nathan Cutler <smithfarm@noreply.src.opensuse.org>
2025-09-25 11:05:21 +02:00
bc8b2c2233 Accepting request 1302182 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1302182
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=52
2025-09-01 15:18:40 +00:00
dca43bedd1 osc copypac from project:devel:languages:haskell:ghc-9.12.x package:git-annex revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=117
2025-09-01 10:02:17 +00:00
d80224b6fa Accepting request 1295253 from devel:languages:haskell
Update git-annex to version 10.20250721.

OBS-URL: https://build.opensuse.org/request/show/1295253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=51
2025-07-23 14:35:52 +00:00
fa66917127 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:22, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=115
2025-07-23 09:13:53 +00:00
92b9178da3 Accepting request 1289397 from devel:languages:haskell
Update git-annex to version 10.20250630.

OBS-URL: https://build.opensuse.org/request/show/1289397
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=50
2025-07-02 10:08:24 +00:00
a05ad7655f osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:20, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=113
2025-07-01 07:15:20 +00:00
c83e605290 Accepting request 1284555 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1284555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=49
2025-06-11 14:26:55 +00:00
cba696a193 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:16, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=111
2025-06-10 13:34:23 +00:00
838fda3c50 Accepting request 1279255 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1279255
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=48
2025-05-22 14:57:16 +00:00
6fe2d6d3fa osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:14, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=109
2025-05-22 10:58:59 +00:00
b0b7e3fc5b Accepting request 1272326 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1272326
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=47
2025-04-24 15:26:23 +00:00
9371559805 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:12, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=107
2025-04-17 07:31:16 +00:00
05fd1f1f72 Accepting request 1255902 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1255902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=46
2025-03-25 21:12:14 +00:00
fd69796235 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=105
2025-03-25 09:35:07 +00:00
ea7000001c Accepting request 1239834 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1239834
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=45
2025-01-27 19:52:01 +00:00
1b1c4795b5 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:9, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=103
2025-01-17 22:01:43 +00:00
5bc909bdbb Accepting request 1231495 from devel:languages:haskell
version update for ghc-9.10.1

OBS-URL: https://build.opensuse.org/request/show/1231495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=44
2024-12-20 22:11:19 +00:00
8fc09ff835 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:6, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=101
2024-12-16 07:50:42 +00:00
8ea9ca32d3 osc copypac from project:devel:languages:haskell:ghc-9.10.x package:git-annex revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=100
2024-12-10 11:26:01 +00:00
f7e63ee05a Accepting request 1222962 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1222962
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=43
2024-11-12 18:20:18 +00:00
914e538425 osc copypac from project:devel:languages:haskell:ghc-9.8.x package:git-annex revision:20, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=98
2024-11-02 22:00:50 +00:00
55f3833b71 Accepting request 1218581 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1218581
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=42
2024-10-28 14:19:50 +00:00
ec2a42852e osc copypac from project:devel:languages:haskell:ghc-9.8.x package:git-annex revision:18, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=96
2024-10-26 13:48:29 +00:00
631d23d8f2 Accepting request 1194892 from devel:languages:haskell
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1194892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=41
2024-08-20 14:15:07 +00:00
c604a0573b osc copypac from project:devel:languages:haskell:ghc-9.8.x package:git-annex revision:13, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=94
2024-08-14 21:01:52 +00:00
6f41f66e24 Accepting request 1188671 from devel:languages:haskell
version update

OBS-URL: https://build.opensuse.org/request/show/1188671
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git-annex?expand=0&rev=40
2024-07-22 15:16:58 +00:00
59b5c3127b osc copypac from project:devel:languages:haskell:ghc-9.8.x package:git-annex revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/git-annex?expand=0&rev=92
2024-07-19 12:40:34 +00:00
5 changed files with 466 additions and 136 deletions

View File

@@ -1,137 +1,14 @@
From 58b3b46b517358295c7041a92ce135e7c8013eec Mon Sep 17 00:00:00 2001
From: Peter Simons <simons@cryp.to>
Date: Thu, 10 Aug 2023 15:39:56 +0200
Subject: [PATCH] persistent >= 2.12.0.1 includes the code from
persistent-template
persistent-template has been deprecated.
---
Database/ContentIdentifier.hs | 2 --
Database/Export.hs | 3 ---
Database/Fsck.hs | 3 ---
Database/ImportFeed.hs | 3 ---
Database/Keys/SQL.hs | 3 ---
git-annex.cabal | 3 +--
6 files changed, 1 insertion(+), 16 deletions(-)
diff --git a/Database/ContentIdentifier.hs b/Database/ContentIdentifier.hs
index bbf67dcfb1..3a399f7765 100644
--- a/Database/ContentIdentifier.hs
+++ b/Database/ContentIdentifier.hs
@@ -12,10 +12,8 @@
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE DataKinds, FlexibleInstances #-}
{-# LANGUAGE UndecidableInstances #-}
-#if MIN_VERSION_persistent_template(2,8,0)
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
-#endif
module Database.ContentIdentifier (
ContentIdentifierHandle,
diff --git a/Database/Export.hs b/Database/Export.hs
index 2f0da8b231..6de86c7925 100644
--- a/Database/Export.hs
+++ b/Database/Export.hs
@@ -5,17 +5,14 @@
- Licensed under the GNU AGPL version 3 or higher.
-}
-{-# LANGUAGE CPP #-}
{-# LANGUAGE QuasiQuotes, TypeFamilies, TypeOperators, TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings, GADTs, FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses, GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE DataKinds, FlexibleInstances #-}
{-# LANGUAGE UndecidableInstances #-}
-#if MIN_VERSION_persistent_template(2,8,0)
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
-#endif
module Database.Export (
ExportHandle,
diff --git a/Database/Fsck.hs b/Database/Fsck.hs
index cce5528100..2ff4eb6bb5 100644
--- a/Database/Fsck.hs
+++ b/Database/Fsck.hs
@@ -5,7 +5,6 @@
- Licensed under the GNU AGPL version 3 or higher.
-}
-{-# LANGUAGE CPP #-}
{-# LANGUAGE QuasiQuotes, TypeFamilies, TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings, GADTs, FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses, GeneralizedNewtypeDeriving #-}
@@ -13,10 +12,8 @@
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE TypeOperators #-}
-#if MIN_VERSION_persistent_template(2,8,0)
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
-#endif
module Database.Fsck (
FsckHandle,
diff --git a/Database/ImportFeed.hs b/Database/ImportFeed.hs
index 2d44b0b9ea..84cd24bdab 100644
--- a/Database/ImportFeed.hs
+++ b/Database/ImportFeed.hs
@@ -6,17 +6,14 @@
- Licensed under the GNU AGPL version 3 or higher.
-}
-{-# LANGUAGE CPP #-}
{-# LANGUAGE QuasiQuotes, TypeFamilies, TypeOperators, TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings, GADTs, FlexibleContexts, EmptyDataDecls #-}
{-# LANGUAGE MultiParamTypeClasses, GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE DataKinds, FlexibleInstances #-}
{-# LANGUAGE UndecidableInstances #-}
-#if MIN_VERSION_persistent_template(2,8,0)
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
-#endif
module Database.ImportFeed (
ImportFeedDbHandle,
diff --git a/Database/Keys/SQL.hs b/Database/Keys/SQL.hs
index 2e40e39db3..6b36cd09d5 100644
--- a/Database/Keys/SQL.hs
+++ b/Database/Keys/SQL.hs
@@ -5,17 +5,14 @@
- Licensed under the GNU AGPL version 3 or higher.
-}
-{-# LANGUAGE CPP #-}
{-# LANGUAGE QuasiQuotes, TypeFamilies, TypeOperators, TemplateHaskell #-}
{-# LANGUAGE OverloadedStrings, GADTs, FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses, GeneralizedNewtypeDeriving #-}
{-# LANGUAGE RankNTypes, ScopedTypeVariables #-}
{-# LANGUAGE DataKinds, FlexibleInstances #-}
{-# LANGUAGE UndecidableInstances #-}
-#if MIN_VERSION_persistent_template(2,8,0)
{-# LANGUAGE DerivingStrategies #-}
{-# LANGUAGE StandaloneDeriving #-}
-#endif
module Database.Keys.SQL where
diff --git a/git-annex.cabal b/git-annex.cabal
index 31e66f9f27..7bf1a8ae0c 100644
index 864efa527e..68b5552b37 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -247,8 +247,7 @@ Executable git-annex
time (>= 1.5.0),
@@ -249,8 +249,7 @@ Executable git-annex
time (>= 1.9.1),
old-locale,
persistent-sqlite (>= 2.8.1),
- persistent (>= 2.8.1),
- persistent-template,
- persistent-template (>= 2.8.0),
+ persistent (>= 2.12.0.2),
unliftio-core,
microlens,
aeson,
--
2.42.0
aeson (>= 2.0.0),

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:de1cdfe5c984d644a7db04c2bd17b750f5411f542c5fe24eaac84fc4c59cf233
size 9293897

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab6f135f74e3aea6d75e57f1218036e9b582112b532ec46a4b604491d9d2fe57
size 9411626

View File

@@ -1,3 +1,441 @@
-------------------------------------------------------------------
Fri Aug 29 15:44:09 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250828.
git-annex (10.20250828) upstream; urgency=medium
* p2p: Added --enable option, which can be used to enable P2P networks
provided by external commands git-annex-p2p-<netname>
* Added git-remote-p2p-annex, which allows git pull and push to
P2P networks provided by commands git-annex-p2p-<netname>
* S3: Default to signature=v4 when using an AWS endpoint, since some
AWS regions need v4 and all support it. When host= is used to specify
a different S3 host, the default remains signature=v2.
* webapp: Support setting up S3 buckets in regions that need v4
signatures.
* S3: When initremote is given the name of a bucket that already exists,
automatically set datacenter to the right value, rather than needing it
to be explicitly set.
* info: Added --show option to pick which parts of the info to calculate
and display.
* Improve behavior when there are special remotes configured with
autoenable=yes with names that conflict with other remotes.
* adjust: When another branch has been manually merged into the adjusted
branch, re-adjusting errors out, rather than losing that merge commit.
* sync: When another branch has been manually merged into an adjusted
branch, error out rather than only displaying a warning.
* initremote: New onlyencryptcreds=yes which can be used along with
embedcreds=yes, to only encrypt the embedded creds, without encrypting
the content of the special remote. Useful for exporttree/importtree
remotes.
* Don't allow the type of encryption of an existing special remote to be
changed. Fixes reversion introduced in version 7.20191230.
* tahoe: Support tahoe-lafs command versions newer than 1.16.
* tahoe: Fix bug that made initremote require an encryption= parameter,
despite git-annex encryption not being used with this special remote.
Fixes reversion introduced in version 7.20191230.
* Improved error message when yt-dlp is not installed and is needed to
get a file from the web.
* The annex.youtube-dl-command git config is no longer used, git-annex
always runs the yt-dlp command, rather than the old youtube-dl command.
* Removed support for git versions older than 2.22.
* Bump aws build dependency to 0.24.1.
* stack.yaml: Update to lts-24.2.
-- Joey Hess <id@joeyh.name> Fri, 29 Aug 2025 11:42:37 -0400
-------------------------------------------------------------------
Tue Jul 22 18:12:16 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250721.
git-annex (10.20250721) upstream; urgency=medium
* Improved workaround for git 2.50 bug, avoding an occasional test suite
failure, as well as some situations where an unlocked file did not get
populated when adding another file to the repository with the same
content.
* Add --url option and url= preferred content expression, to match
content that is recorded as present in an url.
* p2phttp: Scan multilevel directories with --directory.
* p2phttp: Added --socket option.
* Fix bug in handling of linked worktrees on filesystems not supporting
symlinks, that caused annexed file content to be stored in the wrong
location inside the git directory, and also caused pointer files to not
get populated.
* fsck: Fix location of annexed files when run in linked worktrees
that have experienced the above bug.
* Fix symlinks generated to annexed content when in adjusted unlocked
branch in a linked worktree on a filesystem not supporting symlinks.
-- Joey Hess <id@joeyh.name> Tue, 22 Jul 2025 14:11:26 -0400
-------------------------------------------------------------------
Mon Jun 30 14:06:16 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250630.
* Work around git 2.50 bug that caused it to crash when there is
a merge conflict with an unlocked annexed file. [bsc#1245270]
* Skip and warn when a tree import includes empty filenames,
which can happen with eg a S3 bucket.
* Avoid a problem with temp file names ending in whitespace on
filesystems like VFAT that don't support such filenames.
* webapp: Rename "Upgrade Repository" to "Convert Repository"
to avoid confusion with git-annex upgrade.
-------------------------------------------------------------------
Thu Jun 5 18:13:58 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250605.
git-annex (10.20250605) upstream; urgency=medium
* sync: Push the current branch first, rather than a synced branch,
to better support git forges (gitlab, gitea, forgejo, etc.) which
use push-to-create with the first pushed branch becoming the default
branch.
* Added annex.fastcopy and remote.name.annex-fastcopy config setting.
When set, this allows the copy_file_range syscall to be used, which
can eg allow for server-side copies on NFS. (For fastest copying,
also disable annex.verify or remote.name.annex-verify.)
* map: Support --json option.
* map: Improve display of remote names.
* When annex.freezecontent-command or annex.thawcontent-command is
configured but fails, prevent initialization. This allows the user to
fix their configuration and avoid crippled filesystem detection
entering an adjusted branch.
* assistant: Avoid hanging at startup when a process has a *.lock file
open in the .git directory.
* Windows: Fix duplicate file bug that could occur when files were
supposed to be moved across devices.
-- Joey Hess <id@joeyh.name> Thu, 05 Jun 2025 14:10:36 -0400
-------------------------------------------------------------------
Tue May 20 14:30:35 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250520.
git-annex (10.20250520) upstream; urgency=medium
* Preferred content now supports "balanced=groupname:lackingcopies"
to make files be evenly balanced amoung as many repositories as are
needed to satisfy numcopies.
* map: Fix buggy handling of remotes that are bare git repositories
accessed via ssh.
* map: Avoid looping forever with mutually recursive paths between
repositories accessed via ssh.
* whereused: Fix bug that could find matches from grafts
in remote git-annex branches.
* Windows: Fix bug that can cause git status to show annexed files as
modified when built with OsPath.
-- Joey Hess <id@joeyh.name> Tue, 20 May 2025 10:25:47 -0400
-------------------------------------------------------------------
Wed Apr 16 17:35:22 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250416.
git-annex (10.20250416) upstream; urgency=medium
* Added the mask special remote.
* updatecluster, updateproxy: When a remote that has no annex-uuid is
configured as annex-cluster-node, warn and avoid writing bad data to
the git-annex branch.
* Fix build without the assistant.
* fsck: Avoid complaining about required content of dead repositories.
* drop: Avoid redundant object directory thawing.
* httpalso: Windows url fix.
* Added remote.name.annex-web-options config, which is a per-remote
version of the annex.web-options config.
* migrate: Fix --remove-size to work when a file is not present.
Fixes reversion introduced in version 10.20231129.
* Support git remotes that use a IPV6 link-local address with a zone ID.
* Support git remotes that use an url with a user name that is URL
encoded, or in the case of an "scp-style" url, a user name that must be
encoded to be legal in an URL.
* Fix git-lfs special remote ssh endpoint discovery when the repository
path is URL encoded.
-- Joey Hess <id@joeyh.name> Wed, 16 Apr 2025 13:34:40 -0400
-------------------------------------------------------------------
Thu Mar 20 17:11:33 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250320.
git-annex (10.20250320) upstream; urgency=medium
* Added the compute special remote.
* addcomputed: New command, adds a file that is generated by a compute
special remote.
* recompute: New command, recomputes computed files.
* findcomputed: New command, displays information about computed files.
* Support help.autocorrect settings "prompt", "never", and "immediate".
* Allow setting remote.foo.annex-tracking-branch to a branch name
that contains "/", as long as it's not a remote tracking branch.
* Added OsPath build flag, which speeds up git-annex's operations on files.
* git-lfs: Added an optional apiurl parameter.
(This needs version 1.2.5 of the haskell git-lfs library to be used.)
* fsck: Remember the files that are checked, so a later run with --more
will skip them, without needing to use --incremental.
-- Joey Hess <id@joeyh.name> Thu, 20 Mar 2025 13:10:48 -0400
-------------------------------------------------------------------
Wed Jan 15 16:38:16 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250115.
* Improve handing of ssh connection problems during
remote annex.uuid discovery.
* log: Support --key, as well as --branch and --unused.
* Avoid verification error when addurl --verifiable is used
with an url claimed by a special remote other than the web.
* Fix installation on Android.
* Allow enableremote of an existing webdav special remote that has
read-only access.
* git-remote-annex: Use enableremote rather than initremote.
* Windows: Fix permission denied error when dropping files that
have the readonly attribute set.
* Added freezecontent-annex and thawcontent-annex hooks that
correspond to the git configs annex.freezecontent and
annex.thawcontent.
* Added secure-erase-annex hook that corresponds to the git config
annex.secure-erase-command.
* Added commitmessage-annex hook that corresponds to the git config
annex.commitmessage-command.
* Added http-headers-annex hook that corresponds to the git config
annex.http-headers-command.
* Added git configs annex.post-update-command and annex.pre-commit-command
that correspond to the post-update-annex and pre-commit-annex hooks.
* Added annex.pre-init-command git config and pre-init-annex hook
that is run before git-annex repository initialization.
* Linux standalone builds' bundled rsync updated to fix security holes.
-------------------------------------------------------------------
Thu Jan 2 16:32:11 UTC 2025 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20250102.
* Added config `url.<base>.annexInsteadOf` corresponding to git's
`url.<base>.pushInsteadOf`, to configure the urls to use for accessing
the git-annex repositories on a server without needing to configure
remote.name.annexUrl in each repository.
* Work around git hash-object --stdin-paths's odd stripping of carriage
return from the end of the line (some windows infection), avoiding
crashing when the repo contains a filename ending in a carriage return.
* Document that settting preferred content to "" is the same as the
default unset behavior.
* sync: Avoid misleading warning about future preferred content
transition when preferred content is set to "".
* Honor annex.addunlocked configuration when importing a tree from a
special remote.
* Removed the i386ancient standalone tarball build for linux, which
was increasingly unable to support new git-annex features.
* Removed support for building with ghc older than 9.0.2,
and with older versions of haskell libraries than are in current Debian
stable.
* stack.yaml: Update to lts-23.2.
- Refresh "0001-persistent-2.12.0.1-include-the-code-from-persistent.patch".
Most patches to git-annex itself are now unnecessary. We only need to drop
persistent-templates from the list of build dependencies.
-------------------------------------------------------------------
Mon Dec 2 16:37:14 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20241202.
git-annex (10.20241202) upstream; urgency=medium
* add: Consistently treat files in a dotdir as dotfiles, even
when ran inside that dotdir.
* add: When adding a dotfile as a non-large file, mention that it's a
dotfile.
* p2phttp: Added --directory option which serves multiple git-annex
repositories located inside a directory.
* When remote.name.annexUrl is an annex+http(s) url, that
uses the same hostname as remote.name.url, which is itself a http(s)
url, they are assumed to share a username and password. This avoids
unnecessary duplicate password prompts.
* git-remote-annex: Fix a reversion introduced in version 10.20241031
that broke cloning from a special remote.
* git-remote-annex: Fix cloning from a special remote on a crippled
filesystem.
* git-remote-annex: Fix buggy behavior when annex.stalldetection is
configured.
* git-remote-annex: Require git version 2.31 or newer, since old
ones had a buggy git bundle command.
* S3: Support versioning=yes with a readonly bucket.
(Needs aws-0.24.3)
* S3: Send git-annex or other configured User-Agent.
(Needs aws-0.24.3)
* S3: Fix infinite loop and memory blowup when importing from an
unversioned S3 bucket that is large enough to need pagination.
* S3: Use significantly less memory when importing from a
versioned S3 bucket.
* vpop: Only update state after successful checkout.
-- Joey Hess <id@joeyh.name> Mon, 02 Dec 2024 12:31:08 -0400
-------------------------------------------------------------------
Thu Oct 31 21:20:43 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20241031.
git-annex (10.20241031) upstream; urgency=medium
* Sped up proxied downloads from special remotes, by streaming.
* Added GETORDERED request to external special remote protocol.
When the external special remote responds with ORDERED, it can stream
through a proxy.
* p2phttp: Support serving unauthenticated users while requesting
authentication for operations that need it. Eg, --unauth-readonly
can be combined with --authenv.
* p2phttp: Allow unauthenticated users to lock content by default.
* p2phttp: Added --unauth-nolocking option to prevent unauthenticated
users from locking content.
* Allow enabling the servant build flag with older versions of stm,
allowing building with ghc 9.0.2.
* git-remote-annex: Fix bug that prevented using it with external special
remotes, leading to protocol error messages involving "GITMANIFEST".
* adjust: Allow any order of options when combining --hide-missing with
options like --unlock.
* Support P2P protocol version 4. This allows DATA-PRESENT to be sent
after PUT (and in the HTTP P2P protocol, v4/put has a data-present
parameter). When used with a proxy to a special remote like a S3
bucket, this allows a custom client to upload content to S3 itself,
and then use the P2P protocol to inform the proxy that the content has
been stored there, which will result in the same git-annex branch state
updates as sending DATA via the proxy.
* Fix hang when receiving a large file into a proxied special remote.
-- Joey Hess <id@joeyh.name> Thu, 31 Oct 2024 17:19:56 -0400
-------------------------------------------------------------------
Mon Sep 30 23:17:41 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20240927.
git-annex (10.20240927) upstream; urgency=medium
* Detect when a preferred content expression contains "not present",
which would lead to repeatedly getting and then dropping files,
and make it never match. This also applies to
"not balanced" and "not sizebalanced".
* Fix --explain display of onlyingroup preferred content expression.
* Allow maxsize to be set to 0 to stop checking maxsize for a repository.
* Fix bug that prevented anything being stored in an empty
repository whose preferred content expression uses sizebalanced.
* sim: New command, can be used to simulate networks of repositories
and see how preferred content and other configuration makes file
content flow through it.
-- Joey Hess <id@joeyh.name> Mon, 30 Sep 2024 19:15:35 -0400
-------------------------------------------------------------------
Sat Aug 31 23:51:02 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20240831.
git-annex (10.20240831) upstream; urgency=medium
* Special remotes configured with exporttree=yes annexobjects=yes
can store objects in .git/annex/objects, as well as an exported tree.
* Support proxying to special remotes configured with
exporttree=yes annexobjects=yes, and allow such remotes to be used as
cluster nodes.
* post-retrieve: When proxying is enabled for an exporttree=yes
special remote (or it is a cluster node) and the configured
remote.name.annex-tracking-branch is received, the tree is
exported to the special remote.
* Support "balanced=", "fullybalanced=", "sizebalanced=" and
"fullysizebalanced=" in preferred content expressions.
* Added --rebalance option.
* Added the annex.fullybalancedthreshhold git config.
* maxsize: New command to tell git-annex how large the expected maximum
size of a repository is, and to display repository sizes.
* vicfg: Include maxsize configuration.
* info: Improved speed by using new repository size tracking.
* lookupkey: Allow using --ref in a bare repository.
* export: Added --from option.
* git-remote-annex: Store objects in exportree=yes special remotes
in the same paths used by annexobjects=yes. This is a backwards
compatible change.
* updateproxy, updatecluster: Prevent using an exporttree=yes special
remote that does not have annexobjects=yes, since it will not work.
* The config versioning=true is now reserved for use by versioned special
remotes. External special remotes should not use that config for their
own purposes.
-- Joey Hess <id@joeyh.name> Sat, 31 Aug 2024 19:48:17 -0400
-------------------------------------------------------------------
Thu Aug 8 19:27:29 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20240808.
git-annex (10.20240808) upstream; urgency=medium
* Remove debug output (to stderr) accidentially included in
last version.
* When getting from a P2P HTTP remote, prompt for credentials when
required, instead of failing.
* When proxying an upload to a special remote, verify the hash.
* Avoid loading cluster log at startup.
-- Joey Hess <id@joeyh.name> Thu, 08 Aug 2024 15:26:26 -0400
-------------------------------------------------------------------
Wed Jul 31 18:05:34 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20240731.
git-annex (10.20240731) upstream; urgency=medium
* New HTTP API that is equivilant to the P2P protocol.
* New p2phttp command to serve the HTTP API.
* annex+http and annex+https urls can be configured for
remote.name.annexUrl to use the HTTP API to communicate with a server.
This supports writable repositories, as well as accessing clusters
and proxied remotes over HTTP.
* When a http remote has annex.url set to an annex+http url in
the git config file on the website, it will be copied into
remote.name.annexUrl the first time git-annex uses the remote.
* assistant: Fix a race condition that could cause a pointer file to
get ingested into the annex.
* Avoid potential data loss in unlikely situations where git-annex-shell
or git-annex remotedaemon is killed while locking a key to prevent its
removal.
* When proxying a download from a special remote, avoid unncessary hashing.
* When proxying an upload to a special remote, verify the hash.
* Propagate --force to git-annex transferrer.
* Added a build flag for servant, enabling annex+http urls and
git-annex p2phttp.
* Added a dependency on the haskell clock library.
* Updated stack.yaml to nightly-2024-07-29.
-- Joey Hess <id@joeyh.name> Wed, 31 Jul 2024 14:02:21 -0400
-------------------------------------------------------------------
Tue Jul 2 16:31:40 UTC 2024 - Peter Simons <psimons@suse.com>
- Update git-annex to version 10.20240701.
git-annex (10.20240701) upstream; urgency=medium
* git-annex remotes can now act as proxies that provide access to
their remotes. Configure this with remote.name.annex-proxy
and the git-annex update proxy command.
* Clusters are now supported. These are collections of nodes that can
be accessed as a single entity, accessed by one or more gateway
repositories.
* Added git-annex initcluster, updatecluster, and extendcluster commands.
* Fix a bug where interrupting git-annex while it is updating the
git-annex branch for an export could later lead to git fsck
complaining about missing tree objects.
* Tab completion of options like --from now includes special remotes,
as well as proxied remotes and clusters.
* Tab completion of many commands like info and trust now includes
remotes.
* P2P protocol version 2.
* Fix Windows build with Win32 2.13.4+
Thanks, Oleg Tolmatcev
* When --debugfilter or annex.debugfilter is set, avoid propigating
debug output from git-annex-shell, since it cannot be filtered.
-- Joey Hess <id@joeyh.name> Mon, 01 Jul 2024 15:11:48 -0400
-------------------------------------------------------------------
Fri May 31 16:33:01 UTC 2024 - Peter Simons <psimons@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package git-annex
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: git-annex
Version: 10.20240531
Version: 10.20250828
Release: 0
Summary: Manage files with git, without checking their contents into git
License: AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
@@ -61,14 +61,14 @@ BuildRequires: ghc-case-insensitive-devel
BuildRequires: ghc-case-insensitive-prof
BuildRequires: ghc-clientsession-devel
BuildRequires: ghc-clientsession-prof
BuildRequires: ghc-clock-devel
BuildRequires: ghc-clock-prof
BuildRequires: ghc-concurrent-output-devel
BuildRequires: ghc-concurrent-output-prof
BuildRequires: ghc-conduit-devel
BuildRequires: ghc-conduit-prof
BuildRequires: ghc-containers-devel
BuildRequires: ghc-containers-prof
BuildRequires: ghc-criterion-devel
BuildRequires: ghc-criterion-prof
BuildRequires: ghc-crypto-api-devel
BuildRequires: ghc-crypto-api-prof
BuildRequires: ghc-crypton-devel
@@ -93,6 +93,8 @@ BuildRequires: ghc-fdo-notify-devel
BuildRequires: ghc-fdo-notify-prof
BuildRequires: ghc-feed-devel
BuildRequires: ghc-feed-prof
BuildRequires: ghc-file-io-devel
BuildRequires: ghc-file-io-prof
BuildRequires: ghc-filepath-bytestring-devel
BuildRequires: ghc-filepath-bytestring-prof
BuildRequires: ghc-filepath-devel
@@ -141,6 +143,8 @@ BuildRequires: ghc-old-locale-devel
BuildRequires: ghc-old-locale-prof
BuildRequires: ghc-optparse-applicative-devel
BuildRequires: ghc-optparse-applicative-prof
BuildRequires: ghc-os-string-devel
BuildRequires: ghc-os-string-prof
BuildRequires: ghc-path-pieces-devel
BuildRequires: ghc-path-pieces-prof
BuildRequires: ghc-persistent-devel
@@ -160,6 +164,14 @@ BuildRequires: ghc-sandi-devel
BuildRequires: ghc-sandi-prof
BuildRequires: ghc-securemem-devel
BuildRequires: ghc-securemem-prof
BuildRequires: ghc-servant-client-core-devel
BuildRequires: ghc-servant-client-core-prof
BuildRequires: ghc-servant-client-devel
BuildRequires: ghc-servant-client-prof
BuildRequires: ghc-servant-devel
BuildRequires: ghc-servant-prof
BuildRequires: ghc-servant-server-devel
BuildRequires: ghc-servant-server-prof
BuildRequires: ghc-shakespeare-devel
BuildRequires: ghc-shakespeare-prof
BuildRequires: ghc-socks-devel
@@ -226,6 +238,7 @@ BuildRequires: git-core
BuildRequires: gpg2
BuildRequires: lsof
BuildRequires: rsync
BuildRequires: sqlite3-devel
Requires(post): desktop-file-utils
Requires(post): hicolor-icon-theme
Requires(postun): desktop-file-utils
@@ -269,7 +282,7 @@ Optional dependency offering bash completion for git-annex
%autosetup -p1
%build
%define cabal_configure_options -ftestsuite
%define cabal_configure_options -f+assistant -f+crypton -f+dbus -f+magicmime -f+pairing -f+production -f+servant -f+torrentparser -f-benchmark
%ghc_bin_build
%check
@@ -288,6 +301,7 @@ rm %{buildroot}%{_datadir}/zsh/site-functions/_git-annex
%{_bindir}/%{name}-shell
%{_bindir}/git-remote-tor-annex
%{_bindir}/git-remote-annex
%{_bindir}/git-remote-p2p-annex
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/16x16
%dir %{_datadir}/icons/hicolor/16x16/apps
@@ -297,6 +311,7 @@ rm %{buildroot}%{_datadir}/zsh/site-functions/_git-annex
%{_mandir}/man1/git-annex*.1%{?ext_man}
%{_mandir}/man1/git-remote-tor-annex.1%{?ext_man}
%{_mandir}/man1/git-remote-annex.1%{?ext_man}
%{_mandir}/man1/git-remote-p2p-annex.1%{?ext_man}
%{_datadir}/applications/git-annex.desktop
%{_datadir}/icons/hicolor/16x16/apps/git-annex.png
%{_datadir}/icons/hicolor/scalable/apps/git-annex.svg