aboutsummaryrefslogtreecommitdiff
path: root/Build
Commit message (Collapse)AuthorAge
* fix build some moreGravatar Joey Hess2018-01-15
|
* fix buildGravatar Joey Hess2018-01-15
|
* fix windows buildGravatar Joey Hess2018-01-10
|
* finally really add back custom-setup stanzaGravatar Joey Hess2017-12-31
| | | | | | | | | | | | Fourth or fifth try at this and finally found a way to make it work. Absurd amount of busy-work forced on me by change in cabal's behavior. Split up Utility modules that need posix stuff out of ones used by Setup. Various other hacks around inability for Setup to use anything that ifdefs a use of unix. Probably lost a full day of my life to this. This is how build systems make their users hate them. Just saying.
* fold Build/SysConfig.hs into BuildInfo via includeGravatar Joey Hess2017-12-14
| | | | | | | | | | | This avoids warnings from stack about the module not being listed in the cabal file. So, the generated file is also renamed to Build/SysConfig. Note that the setup program seems to be cached despite these changes; I had to cabal clean to get cabal to update it so that Build/SysConfig was written. This commit was sponsored by Jochen Bartl on Patreon.
* remove unused importGravatar Joey Hess2017-11-21
|
* still can't express custom-setup depsGravatar Joey Hess2017-11-14
| | | | | | | | They need unix on non-windows, for Utility.Env, which Build.Configure uses, but cabal can't express that in a custom-setup stanza. To avoid this problem, Utility.Env would need to be moved into unix-compat..
* avoid Utility.Directory which needs Win32 on windowsGravatar Joey Hess2017-11-14
| | | | custom-setup can't depend on Win32 due to cabal limitations
* unify stack build and stack installGravatar Joey Hess2017-10-26
| | | | | For some reason, when stack install is run separately, it seems to be installing a previous build from a different temp dir. WTF?
* allow building w/o rsync installedGravatar Joey Hess2017-10-25
| | | | rsync is needed to run, but may not be on the build machine; that's ok
* Windows: Remove wget from bundle; it needs libraries that are not included, ↵Gravatar Joey Hess2017-10-25
| | | | | | | | and git for windows includes curl which git-annex will use instead. wget was broken even in the previous old release of the windows bundle, this is not new breakage. msys-idn-11.dll and probably more would be needed to use it. git for windows includes msys-idn2-0.dll instead.
* ln from stack install location to nsis locationGravatar Joey Hess2017-10-25
|
* ding dong, the witch is deadGravatar Joey Hess2017-10-24
| | | | | | Which old witch? The EvilLinker witch! This commit was sponsored by Thom May on Patreon.
* update windows build scripts to use stackGravatar Joey Hess2017-10-17
| | | | | | | | | | | | Not tested yet. The EvilLinker workaround is removed. That got fixed in ghc 8.0.1, (per https://ghc.haskell.org/trac/ghc/ticket/8596) which will finally be used by the windows autobuilder now. I have not deleted the EvilLinker yet (or closed its bugs). This commit was sponsored by John Peloquin on Patreon.
* 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.