Merge branch 'v7'
authorJoey Hess <joeyh@joeyh.name>
Wed, 26 Feb 2020 22:15:18 +0000 (18:15 -0400)
committerJoey Hess <joeyh@joeyh.name>
Wed, 26 Feb 2020 22:15:18 +0000 (18:15 -0400)
1  2 
Assistant/WebApp/Configurators/Edit.hs
CHANGELOG
Command/TestRemote.hs
NEWS
Remote/External.hs
Remote/GCrypt.hs
Remote/Git.hs
Remote/GitLFS.hs
Remote/List.hs
Remote/S3.hs
Test.hs

diff --cc CHANGELOG
index c1fa9f78c4363c1085ef6f14cb960ecc8b8427fb,40e23191de5ab0352244514584bff53b5aa4577f..0e05c17a6fd4bb7a38ae13c76d70f1cb44d86209
+++ b/CHANGELOG
@@@ -1,45 -1,18 +1,55 @@@
- git-annex (8.20200221) UNRELEASED; urgency=medium
++git-annex (8.20200226) UNRELEASED; urgency=medium
 +
 +  * New v8 repository version.
 +  * v7 upgrades automatically to v8. The upgrade deletes old sqlite
 +    databases, which may cause git-annex to need to do extra work to
 +    regenerate the databases or due to not having the information from the
 +    old databases available. Two notable cases are interrupted incremental
 +    fscks and interrupted exports, both of which will restart from the
 +    beginning.
 +  * Improved serialization of filenames and keys to the sqlite databases,
 +    avoiding encoding problems and speeding up operations on them.
 +  * Add some missing indexes to sqlite databases. This will speed up
 +    some things involving export and import remotes, and git-annex smudge.
 +    Microbenchmarks show around 10-25% speedup of sqlite database operations.
 +  * add: When adding a whole directory, any dotfiles found in it will
 +    not be skipped, but will be added to git by default. This behavior
 +    can be configured with annex.dotfiles.
 +  * add: Removed special case for explicitly passing dotfiles,
 +    that no longer adds them to the annex, but to git. This behavior
 +    can be configured with annex.dotfiles.
 +  * add: Removed the --include-dotfiles option.
-   * Bugfix: export --tracking (a deprecated option) set 
-     annex-annex-tracking-branch, instead of annex-tracking-branch.
 +  * initremote, enableremote: Set remote.name.skipFetchAll when
 +    the remote cannot be fetched from by git, so git fetch --all
 +    will not try to use it.
 +  * Makefile: Support newer versions of cabal that use the new-build system.
 +  * Fix some cases where handling of keys with extensions varied depending
 +    on the locale.
 +  * annex.maxextensionlength used to be the number of characters, not
 +    bytes, when in a utf-8 locale. It's now always the number of bytes.
 +  * init --version: When the version given is one that automatically
 +    upgrades to a newer version, use the newer version instead.
 +  * Auto upgrades from older repo versions, like v5, now jump right to v8.
 +  * Extended annex.security.allowed-ip-addresses to let specific ports
 +    of an IP address to be used, while denying use of other ports.
-   * Bugfix to getting content from an export remote with -J, when the
-     export database was not yet populated.
++
++ -- Joey Hess <id@joeyh.name>  Wed, 26 Feb 2020 17:18:16 -0400
++
+ git-annex (7.20200226) upstream; urgency=high
+   * Fix serious regression in gcrypt and encrypted git-lfs remotes.
+     Since version 7.20200202.7, git-annex incorrectly stored content
+     on those remotes without encrypting it.
+     If your remotes are affected, you will want to make sure to delete
+     any content that git-annex has stored on them that is not encrypted!
    * info: Fix display of the encryption value.
      (Some debugging junk had crept in.)
+   * Bugfix to getting content from an export remote with -J, when the
+     export database was not yet populated.
+   * Bugfix: export --tracking (a deprecated option) set 
+     annex-annex-tracking-branch, instead of annex-tracking-branch.
  
-  -- Joey Hess <id@joeyh.name>  Wed, 19 Feb 2020 12:48:58 -0400
+  -- Joey Hess <id@joeyh.name>  Wed, 26 Feb 2020 17:18:16 -0400
  
  git-annex (7.20200219) upstream; urgency=medium
  
Simple merge
diff --cc NEWS
index 46793bc488a94f24f80eb603f22b0405d2f11077,a80f45f12cdd4b95d628794764e8aac6b334eeb9..5dd3f7843fc0374b8ea60db28acd1b0429ca60f9
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -1,26 -1,17 +1,41 @@@
- git-annex (8.20191107) upstream; urgency=medium
++git-annex (8.20200226) upstream; urgency=medium
 +  
 +  This version of git-annex uses repository version 8 for all repositories.
 +
 +  Existing repositories will be automatically upgraded by default.
 +  You can prevent this, by runing: git config annex.autoupgraderepository false
 + 
 +  The upgrade process involves regenerating some sqlite databases. There are a
 +  couple consequences of the upgrade to keep in mind:
 +
 +  * Any incremental fscks that were started in v7 won't resume where
 +    they left off in v8, but will instead begin again from the first file.
 +  * An interrupted export that was started in v7 won't resume where it left
 +    off after upgrade to v8; files will be re-uploaded to the export remote.
 +  * After the upgrade, git-annex will in some situations have to do extra
 +    work while it finishes populating its sqlite databases.
 +
 +  Also, there are some behavior changes around adding dotfiles. While before
 +  git-annex add skipped adding dotfiles when operating on whole directories,
 +  and added dotfiles that were explicitly listed to the annex, it now adds
 +  dotfiles to git by default, unless annex.dotfiles is set to true.
 +
-  -- Joey Hess <id@joeyh.name>  Thu, 07 Nov 2019 13:21:11 -0400
++ -- Joey Hess <id@joeyh.name>  Wed, 26 Feb 2020 17:18:16 -0400
++
+ git-annex (7.20200226) upstream; urgency=high
+   There was a serious regression in gcrypt and encrypted git-lfs remotes.
+   Since version 7.20200202.7, git-annex incorrectly stored content
+   on those remotes without encrypting it.
+   If your remotes are affected, you will want to make sure to delete
+   any content that git-annex has stored on them that is not encrypted!
+   One way to do so is, before upgrading to this version,
+   run git-annex move --from the affected remotes. It will move
+   only the content that was not encrypted.
+  -- Joey Hess <id@joeyh.name>  Wed, 26 Feb 2020 17:18:16 -0400
  
  git-annex (7.20191024) upstream; urgency=medium
  
Simple merge
index 780499a8f2b35f545288fd9f672b7170ca5c50f9,9e2d0891aeef448b8b2c1cb8c04a3ef2af48864c..1b60638b9478cf51e77626e50643efbed8ceb285
@@@ -108,12 -110,10 +110,10 @@@ gen baser u rc gc rs = d
                let u' = genUUIDInNameSpace gCryptNameSpace gcryptid
                v <- M.lookup u' <$> readRemoteLog
                case (Git.remoteName baser, v) of
-                       (Just remotename, Just c') -> do
-                               pc <- either giveup return
-                                       . parseRemoteConfig c'
-                                       =<< configParser remote c'
+                       (Just remotename, Just rc') -> do
+                               pc <- parsedRemoteConfig remote rc'
                                setGcryptEncryption pc remotename
 -                              storeUUIDIn (remoteConfig baser "uuid") u'
 +                              storeUUIDIn (remoteAnnexConfig baser "uuid") u'
                                setConfig (Git.GCrypt.remoteConfigKey "gcrypt-id" remotename) gcryptid
                                gen' r u' pc gc rs
                        _ -> do
diff --cc Remote/Git.hs
Simple merge
Simple merge
diff --cc Remote/List.hs
Simple merge
diff --cc Remote/S3.hs
Simple merge
diff --cc Test.hs
Simple merge