summaryrefslogtreecommitdiff
path: root/Build
Commit message (Collapse)AuthorAge
* fix OSX buildGravatar Joey Hess2017-06-09
|
* adeiu, MissingHGravatar Joey Hess2017-05-16
| | | | | | | | | | | | | | | | Removed dependency on MissingH, instead depending on the split library. After laying groundwork for this since 2015, it was mostly straightforward. Added Utility.Tuple and Utility.Split. Eyeballed System.Path.WildMatch while implementing the same thing. Since MissingH's progress meter display was being used, I re-implemented my own. Bonus: Now progress is displayed for transfers of files of unknown size. This commit was sponsored by Shane-o on Patreon.
* Linux standalone builds put the bundled ssh last in PATH, so any system ssh ↵Gravatar Joey Hess2017-03-02
| | | | | | will be preferred over it. This commit was sponsored by Denis Dzyubenko on Patreon.
* remove unused importGravatar Joey Hess2017-02-28
|
* fix up Read instance incompatability caused by recent commitGravatar Joey Hess2017-02-24
| | | | | | | | | | | | | | | | | | | 2f868db90c7ba16eee901b9b1472b1e1a889dd93 changed the Read instance for Key. I've checked all uses of that instance (by removing it and seeing what breaks), and they're all limited to the webapp, except one. That is GitAnnexDistribution's Read instance. So, 2f868db90c7ba16eee901b9b1472b1e1a889dd93 would have broken upgrades of git-annex from downloads.kitenet.net. Once the .info files there got updated for a new release, old releases would have failed to parse them and never upgraded. To fix this, I found a way to make the .info files that contain GitAnnexDistribution values be readable by the old version of git-annex. This commit was sponsored by Ewen McNeill.
* Run wget with -nv instead of -q, so it will display HTTP errors.Gravatar Joey Hess2017-02-20
| | | | | | This adds one extra line of output when a download is successful, after the progress bar. I don't much like that, but wget does not provide a way to show HTTP errors without it.
* simpler more generic processTranscript'Gravatar Joey Hess2017-02-15
| | | | | | | | This allows using functions that generate CreateProcess and passing the result to processTranscript', which is more flexible, and also simpler than the old interface. This commit was sponsored by Riku Voipio.
* fix OSX buildGravatar Joey Hess2017-02-13
|
* Some optimisations to string splitting code.Gravatar Joey Hess2017-01-31
| | | | | | | | | | | | | | | | | | | Turns out that Data.List.Utils.split is slow and makes a lot of allocations. Here's a much simpler single character splitter that behaves the same (even in wacky corner cases) while running in half the time and 75% the allocations. As well as being an optimisation, this helps move toward eliminating use of missingh. (Data.List.Split.splitOn is nearly as slow as Data.List.Utils.split and allocates even more.) I have not benchmarked the effect on git-annex, but would not be surprised to see some parsing of eg, large streams from git commands run twice as fast, and possibly in less memory. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
* fix buildGravatar Joey Hess2016-12-28
|
* Always use filesystem encoding for all file and handle reads and writes.Gravatar Joey Hess2016-12-24
| | | | | This is a big scary change. I have convinced myself it should be safe. I hope!
* finish fixing android build after tor mergeGravatar Joey Hess2016-12-12
|
* fix some moreGravatar Joey Hess2016-12-10
|
* better fixGravatar Joey Hess2016-12-10
|
* improve hask to work with TH for Free monadsGravatar Joey Hess2016-12-10
|
* Added git-remote-tor-annex, which allows git pull and push to the tor hidden ↵Gravatar Joey Hess2016-11-21
| | | | | | | | | | | service. Almost working, but there's a bug in the relaying. Also, made tor hidden service setup pick a random port, to make it harder to port scan. This commit was sponsored by Boyd Stephen Smith Jr. on Patreon.
* remove debug printGravatar Joey Hess2016-11-15
|
* Linux standalone: Avoid using hard links in the tarball so it can be ↵Gravatar Joey Hess2016-11-10
| | | | untarred on eg, afs which does not support them.
* remove localedir file, fix buildGravatar Joey Hess2016-10-05
|
* Linux standalone: Include locale files in the bundle, and generate locale ↵Gravatar Joey Hess2016-10-04
| | | | | | | | | | | | | | | definition files for the locales in use when starting runshell. Currently only done for utf-8 locales because the charset can easily be told for those. Other locales don't include the charset in their name. The locale definition is generated under git-annex.linux/locales. So, this only works if the user can write there. If locale generation fails for any reason, it's silently skipped. The git-annex-standalone.deb installs the bundle under /usr, so this locale generation won't work for non-root users.
* Linux standalone: Add back the LOCPATH=/dev/null hack to avoid the system ↵Gravatar Joey Hess2016-10-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | locale-archive being read. Version mismatches between the system locale-archive and the glibc in the bundle have been observed to cause git crashes. Unfortunately, this causes locales to not be used in the linux standalone bundle, as was the case until version 6.20160419. glibc hardcodes the path to /usr/lib/locale/locale-archive and does not let an environment variable cause a different locale-archive file to be used. The only other option to include locales in the bundle would be to include exploded locale definition directories in the bundle for a number of locales, generated by localedef. But these take at least 300 kb per locale, and there are a great many locales; it would be hundreds of megabytes to include them all. (Hmm, we could include localdef in the bundle, and check LANG in runshell and compile the locale directories on the fly. This would need /usr/share/i18n/ and /usr/lib/locale-archive to be included in the bundle. It's.. doable.) I know this is going to once again cause users of the bundle to complain that eg, ls doesn't show their unicode filenames right. Better than strange crashes though.
* Android: Fix disabling use of cp --reflink=auto, curl, sha224, and sha384.Gravatar Joey Hess2016-09-05
| | | | | | This was originally done in c4e7c6af, but got lost in some change to the Makefile. Use CROSS_COMPILE=Android to tell configure that it's configuring for android instead of passing it a parameter.
* Don't escape leading dots in code blocks in manpageGravatar Jim Paris2016-08-16
| | | | | | The code block in git-annex-smudge(1) was misformatted. Code blocks start with tabs, so replace "\s" with " ". Tested to not affect anything except git-annex-smudge.1.
* fix build with old ghcGravatar Joey Hess2016-06-13
|
* fix man page buildingGravatar Joey Hess2016-06-02
|
* minor typo fixes throughoutGravatar Yaroslav Halchenko2016-06-02
| | | | | problematic flexibility
* Remove Makefile from cabal tarball; man page building is now handled by a ↵Gravatar Joey Hess2016-05-31
| | | | | | | | small haskell program. This actually runs faster than building the man pages from the makefile did. But the main purpose is to let Setup.hs import Build.Mans and so not need the makefile.
* Updated cabal file explictly lists source files.Gravatar Joey Hess2016-05-24
| | | | | | | | | | | | | | | | | | | The tarball on hackage will include only the files needed for cabal install; it is NOT the full git-annex source tree. While it's totally obnoxious that cabal files need every file listed out when basic wildcard support could avoid hundreds of lines, and have to be maintained when files are added, this does get the tarball size back down to 1 mb. This also stops stack from complaining that it found modules not listed in the cabal file. debian/changelog, debian/NEWS, debian/copyright: Converted to symlinks to CHANGELOG, NEWS, and COPYRIGHT, which used to symlink to these instead. This avoids needing to include debian/ in the hackage tarball. Setup.hs: Build man pages at install time using make and mdwn2man. If it fails, which it probably will on windows, just skip installing them.
* avoid warnings about not exported System.Directory.isSymbolicLinkGravatar Joey Hess2016-04-28
|
* Fix build with directory-1.2.6.2.Gravatar Joey Hess2016-04-28
| | | | | | It started exporting a isSymbolicLink which supports windows. But, git-annex does no use symlinks on windows yet and this conflicts with the function by the same name from unix-compat, so hide it.
* remove warningGravatar Joey Hess2016-04-27
|
* fix build with old ghc that lacks MIN_VERSION_GLASGOW_HASKELL macroGravatar Joey Hess2016-04-27
|
* only filter out mdwn2man warning, not other warningsGravatar Joey Hess2016-04-20
|
* Avoid setting LOCPATH in linux standalone builds now that ghc has been fixed ↵Gravatar Joey Hess2016-04-20
| | | | to not hang when it cannot find locale files.
* hack to get escaped quotes right on git-annex-shell man pageGravatar Joey Hess2016-04-04
|
* use clamav to check builds for viruses before adding themGravatar Joey Hess2016-03-07
| | | | | | Had to workaround various problems in clamscan. Increased its max filesize a lot, because it's too small to check git-annex. Manual unpacking seemed to be needed for dmg and tar.gz.
* Fix OSX dmg to include libraries needed by bundled gpg, lost in last release.Gravatar Joey Hess2016-03-07
|
* fix build moreGravatar Joey Hess2016-02-23
|
* fix build errorGravatar Joey Hess2016-02-23
|
* avoid trying to include gpg in bundle on WindowsGravatar Joey Hess2016-02-23
|
* Linux and OSX standalone builds put the bundled gpg last in PATH, so any ↵Gravatar Joey Hess2016-02-19
| | | | system gpg will be preferred over it.
* fix warning with ghc 7.10Gravatar Joey Hess2016-01-26
|
* remove 163 lines of code without changing anything except importsGravatar Joey Hess2016-01-20
|
* throw exception if library copy failsGravatar Joey Hess2016-01-14
|
* fix build of DistributionUpdateGravatar Joey Hess2016-01-14
|
* fix import warningsGravatar Joey Hess2016-01-14
|
* fix build warning with AMP ghcGravatar Joey Hess2015-12-28
|
* fix build warningGravatar Joey Hess2015-12-28
|
* got logic backwards..Gravatar Joey Hess2015-11-03
|
* Avoid installing desktop file and program file if cabal install git-annex is ↵Gravatar Joey Hess2015-11-03
| | | | run as root, since that is not a systemwide install, but to /root, and so generating a systemwide desktop file is not right.