summaryrefslogtreecommitdiff
path: root/Build
Commit message (Collapse)AuthorAge
* 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.
* Merge branch 'winprocfix'Gravatar Joey Hess2015-10-04
|\
* | add i386-ancient buildGravatar Joey Hess2015-09-23
| |
* | git for windows includes curl, so avoid bundling itGravatar Joey Hess2015-09-11
| |
* | now fully working even when git is not in pathGravatar Joey Hess2015-09-11
| | | | | | | | | | The vbs launchers now are passed the path where git-annex was installed to, so they will work when it's not in path.
* | get git-annex working even if user doesn't add git to pathGravatar Joey Hess2015-09-11
| | | | | | | | | | | | | | | | | | | | | | | | | | This is pretty complicated, but I have both "git-annex" and "git annex" working both in the git bash shell even with git not added to path. And, when git's added to path, both work from MS-DOS prompt window too. I think that the webapp startup does still need git in path, so instructions will keep saying to do that. But, users often disregard them, and hopefully this will reduce support traffic. Also, switched the wget from the cygwin one to the msys2 one, avoiding the complication of needing to bundle any cygwin dlls.
* | Switched to using git for Windows, rather than msysgit.Gravatar Joey Hess2015-09-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using msysgit with git-annex is no longer supported. At the same time, I'm updating the rsync.exe in my downloads repository with the one from msys2. Note that rsync is currently still being ldded and installed in Git/cmd/ like the other cygwin programs. The ldd fails and this failure is ignored. It would be better to special case it to go in Git/usr/bin/, so that the user can't run rsync in a dos prompt window, which doesn't work, as it needs additional libs. However, as far as git-annex running rsync running ssh, it works ok in this location. Removed the ssh.cmd and ssh-keygen.cmd; these are not needed with git for windows. Keeping them would let ssh be run manually from a dos prompt window, but that's not really a goal.
* | remove bup from bundledprogramsGravatar Joey Hess2015-09-10
| | | | | | | | It never belonged there.
| * webapp: Fix support for entering password when setting up a ssh remote.Gravatar Joey Hess2015-09-03
|/
* update for ghc 7.10Gravatar Joey Hess2015-09-01
|
* Fix Windows build to work with ghc 7.10Gravatar Joey Hess2015-09-01
| | | | | | | | | | | | It was failing at link time, some problem with terminatePID. Re-implemented that to not use a C wrapper function, which cleared up the problem. Removed old EvilLinker hack with must have been related to the same problem. Note that I have not tested this with older ghc's. In 4f59f9439687cccfb7aac6aca62dbe97038179bf I mention having tried this approach before, and getting segfaults.. So, who knows. It seems to work fine with ghc 7.10 at least.
* remove unused importGravatar Joey Hess2015-08-24
|
* Makefile: Pass LDFLAGS, CFLAGS, and CPPFLAGS through ghc and on to ld, cc, ↵Gravatar Joey Hess2015-08-19
| | | | | | | | and cpp. As a result of the Makefile changes, the Debian package is built with various hardening options. Although their benefit to a largely haskell program is unknown.
* fix formatting of git-annex(1) synopsisGravatar Joey Hess2015-07-09
|
* remove Params constructor from Utility.SafeCommandGravatar Joey Hess2015-06-01
| | | | | | | | | | | | | | | | | | This removes a bit of complexity, and should make things faster (avoids tokenizing Params string), and probably involve less garbage collection. In a few places, it was useful to use Params to avoid needing a list, but that is easily avoided. Problems noticed while doing this conversion: * Some uses of Params "oneword" which was entirely unnecessary overhead. * A few places that built up a list of parameters with ++ and then used Params to split it! Test suite passes.
* avoid unused variableGravatar Joey Hess2015-05-27
|