aura 3.2.3 → 3.2.4
raw patch · 6 files changed
+24/−7 lines, 6 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +10/−0
- aura.cabal +1/−1
- doc/completions/_aura +2/−2
- lib/Aura/Settings/External.hs +1/−2
- test/Test.hs +6/−2
- test/pacman.conf +4/−0
CHANGELOG.md view
@@ -1,5 +1,15 @@ # Aura Changelog +## 3.2.4 (2021-03-10)++#### Fixed++- A bug involving `pacman.conf` field parsing. [#697] [#698]+- Broken ZSH completions.++[#697]: https://github.com/fosskers/aura/issues/697+[#698]: https://github.com/fosskers/aura/issues/698+ ## 3.2.3 (2021-02-26) Thanks to Cihan Alkan, Ratijas, and Evan Cameron for contributing to this release.
aura.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: aura-version: 3.2.3+version: 3.2.4 synopsis: A secure package manager for Arch Linux and the AUR. description: Aura is a package manager for Arch Linux. It connects to both the
doc/completions/_aura view
@@ -128,9 +128,9 @@ # options for passing to _arguments: options for --aursync command _aura_opts_aursync_actions=( '(-A --aursync)'{-A,--aursync}- {-p,--pkgbuild}'[Display an AUR package's PKGBUILD]'+ {-p,--pkgbuild}'[Display an AUR package''s PKGBUILD]' {-s,--search}'[Search AUR package names and descriptions]'- {-w,--downloadonly}'[Download an AUR package's source tarball]'+ {-w,--downloadonly}'[Download an AUR package''s source tarball]' ) # options for passing to _arguments: options for --aursync command
lib/Aura/Settings/External.hs view
@@ -106,8 +106,7 @@ pair :: Parsec Void Text (Text, [Text]) pair = L.lexeme garbage $ do- n <- takeWhile1P Nothing (/= ' ')- space+ n <- T.stripEnd <$> takeWhile1P Nothing (/= '=') void $ char '=' space rest <- T.words <$> takeWhile1P Nothing (/= '\n')
test/Test.hs view
@@ -59,8 +59,12 @@ , testGroup "Aura.Pacman" [ testCase "Parsing pacman.conf" $ do let p = parse config "pacman.conf" conf- r = either (const Nothing) (\(Config c) -> Just c) p >>= M.lookup "HoldPkg"- r @?= Just ["pacman", "glibc"]+ r = either (const Nothing) (\(Config c) -> Just c) p+ (r >>= M.lookup "HoldPkg") @?= Just ["pacman", "glibc"]+ (r >>= M.lookup "GoodLine") @?= Just ["good"]+ (r >>= M.lookup "BadLine") @?= Just ["bad"]+ (r >>= M.lookup "OkLine") @?= Just ["ok"]+ (r >>= M.lookup "ParallelDownloads") @?= Just ["5"] ] , testGroup "Aura.Languages" [ testCase "Language names are complete" $ do
test/pacman.conf view
@@ -21,6 +21,10 @@ #CleanMethod = KeepInstalled #UseDelta = 0.7 Architecture = auto+GoodLine = good+BadLine= bad+OkLine =ok+ParallelDownloads=5 # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup #IgnorePkg =