CI to automate build of cargo lockfiles on different Alpine releases for git-annex aports https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/community/git-annex
Find a file
Joey Hess 3c74dcd4e1
attoparsec parser for POSIXTime
(Not yet used anywhere.)

Benchmarking

{-# LANGUAGE OverloadedStrings #-}

import Criterion.Main
import Utility.TimeStamp
import Data.Attoparsec.ByteString

main = defaultMain
	[ bgroup "parse"
		[ bench "new" $ whnf (parseOnly (parserPOSIXTime <* endOfInput)) "1431286201.113452s"
		, bench "old" $ whnf parsePOSIXTime "1431286201.113452s"
		]
	]

benchmarking parse/new
time                 643.6 ns   (640.2 ns .. 646.7 ns)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 645.3 ns   (642.1 ns .. 650.9 ns)
std dev              14.59 ns   (9.194 ns .. 22.07 ns)
variance introduced by outliers: 29% (moderately inflated)

benchmarking parse/old
time                 9.657 μs   (9.600 μs .. 9.732 μs)
                     1.000 R²   (0.999 R² .. 1.000 R²)
mean                 9.703 μs   (9.645 μs .. 9.785 μs)
std dev              231.6 ns   (161.5 ns .. 323.7 ns)
variance introduced by outliers: 25% (moderately inflated)

So old took 9703 ns to parse, and new 643 ns.
2019-01-02 12:48:53 -04:00
Annex add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Assistant add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Backend strict bytestring encoders and decoders 2019-01-01 14:55:15 -04:00
Build remove old android app autobuild 2018-10-13 12:13:13 -04:00
CmdLine add --branch option to git-annex find and mildly deprecate findref in favor of it 2018-12-09 14:10:37 -04:00
Command add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Config fix syntax 2018-08-29 09:20:25 -04:00
Database Merge branch 'remove-esqueleto' 2018-11-20 11:50:04 -04:00
debian fix link on download page and add a few more to break later 2018-12-10 12:55:13 -04:00
doc Added a comment: Thanks 2019-01-01 22:26:45 +00:00
Git strict bytestring encoders and decoders 2019-01-01 14:55:15 -04:00
Limit support findred and --branch with file matching options 2018-12-09 13:38:35 -04:00
Logs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Messages Fix build without concurrent-output. 2018-12-03 12:33:00 -04:00
P2P distinguish between cached and uncached creds 2018-12-04 14:09:18 -04:00
Remote strict bytestring encoders and decoders 2019-01-01 14:55:15 -04:00
RemoteDaemon instrument P2P --debug with connection and thread info 2018-10-22 15:52:11 -04:00
standalone remove android stuff 2018-11-04 20:06:49 -04:00
static Revert "remove newlines from static js and css" 2014-06-13 02:20:39 -04:00
templates removed the old Android app 2018-10-13 01:41:11 -04:00
Test honor init --version=5 on crippled filesystem 2018-12-19 13:17:04 -04:00
Types avoid abusing from/toRawFilePath for non-FilePaths 2019-01-01 22:44:04 -04:00
Upgrade fix bugs involving v7 unlocked files and direct mode 2018-12-11 13:47:35 -04:00
Utility attoparsec parser for POSIXTime 2019-01-02 12:48:53 -04:00
.ghci workaround for ghci fragility in reusing objects compiled with ghc 2012-10-20 16:20:42 -04:00
.gitattributes update changelog location 2016-08-22 23:54:11 -04:00
.gitignore Removed Esqueleto as a dependency. 2018-11-06 22:18:55 +00:00
.mailmap alias for Yaroslav @ yahoo to mailmap 2015-09-09 12:38:59 -04:00
Annex.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Assistant.hs fold Build/SysConfig.hs into BuildInfo via include 2017-12-14 12:46:57 -04:00
Backend.hs more lambda-case conversion 2017-12-05 15:00:50 -04:00
bash-completion.bash bash completion fix 2018-11-12 13:23:05 -04:00
build.bat let build.bat also be run from cygwin terminal 2015-04-21 14:12:14 -04:00
BuildFlags.hs removed the old Android app 2018-10-13 01:41:11 -04:00
BuildInfo.hs Make Build/BuildVersion update embedded version number 2018-06-26 10:36:54 -04:00
CHANGELOG importfeed: Better error message when downloading the feed fails 2018-12-30 16:14:55 -04:00
CmdLine.hs Make --json and --quiet suppress automatic init messages 2016-09-05 15:34:38 -04:00
Command.hs add --json-error-messages (not yet implemented) 2018-02-19 14:32:15 -04:00
Common.hs add DebugLocks build flag 2018-11-19 15:02:43 -04:00
Config.hs centralized "yes"/"no" parsing 2018-10-10 11:14:27 -04:00
COPYRIGHT update copyright year 2019-01-01 15:37:40 -04:00
Creds.hs S3: Improve diagnostics when a remote is configured with exporttree and versioning, but no S3 version id has been recorded for a key. 2018-12-06 13:44:37 -04:00
Crypto.hs add KeyVariety type 2017-02-24 15:16:56 -04:00
ghci avoid tab warnings from ghc 8 2016-11-17 13:39:30 -04:00
git-annex.cabal update copyright year 2019-01-01 15:37:40 -04:00
git-annex.hs windows build fix 2018-01-09 11:51:17 -04:00
git-union-merge.hs Always use filesystem encoding for all file and handle reads and writes. 2016-12-24 14:46:31 -04:00
Git.hs Propigate GIT_DIR and GIT_WORK_TREE environment to external special remotes. 2016-05-06 12:26:44 -04:00
Jenkinsfile Revert "debugging strange old version of git-annex in windows installer bundle" 2017-10-26 11:32:04 -04:00
Key.hs Fix mangling of --json output of utf-8 characters when not running in a utf-8 locale 2018-04-16 16:21:21 -04:00
Limit.hs support findred and --branch with file matching options 2018-12-09 13:38:35 -04:00
Logs.hs dropdead per-remote metadata 2018-09-05 13:52:46 -04:00
Makefile add BUILDERCOMMONOPTIONS 2018-11-21 11:36:38 -04:00
Messages.hs add DebugLocks build flag 2018-11-19 15:02:43 -04:00
NEWS releasing package git-annex version 7.20181031 2018-10-31 15:46:57 -04:00
README use https 2014-11-06 14:20:10 -04:00
Remote.hs add a UUIDDesc type containing a ByteString 2019-01-01 16:17:54 -04:00
Setup.hs Added git-remote-tor-annex, which allows git pull and push to the tor hidden service. 2016-11-21 17:27:38 -04:00
stack-lts-9.9.yaml Updated stack.yaml to lts-12.19 2018-11-20 14:00:02 -04:00
stack-windows.yaml add DebugLocks build flag 2018-11-19 15:02:43 -04:00
stack.yaml Updated stack.yaml to lts-12.19 2018-11-20 14:00:02 -04:00
Test.hs strict bytestring encoders and decoders 2019-01-01 14:55:15 -04:00
Types.hs better dup key with -J fix 2017-10-17 18:48:53 -04:00
Upgrade.hs fix upgrade of more than 1 version at a time 2018-10-26 14:31:13 -04:00

git-annex allows managing files with git, without checking the file
contents into git. While that may seem paradoxical, it is useful when
dealing with files larger than git can currently easily handle, whether due
to limitations in memory, checksumming time, or disk space.

For documentation, see doc/ or <https://git-annex.branchable.com/>