Skip to content
Snippets Groups Projects
  1. Apr 11, 2023
  2. Dec 22, 2022
  3. Aug 09, 2022
  4. Jun 03, 2022
    • Joey Hess's avatar
      add debugLocks around database operations · 09edb07a
      Joey Hess authored
      to track down a blocked indefinitely on MVar that seems to occur after
      sqlite throws ErrorBusy but that I have not been able to reproduce when
      I made commits synthetically throw ErrorBusy.
      
      Sponsored-by: Dartmouth College's Datalad project
  5. Mar 24, 2022
  6. Mar 07, 2022
    • Joey Hess's avatar
      hard link git-annex to fix ./git-annex test · 9770fde5
      Joey Hess authored
      2fc46e18 broke running ./git-annex test
      when git-annex-shell is not in PATH from another install, and also
      caused the wrong git-annex-shell to be tested.
      
      Using a symlink made programPath return the .cabal/ directory where the
      git-annex binary is, but git-annex-shell is not in that directory.
      Changing to a hard link avoids that problem.
      
      Sponsored-by: Dartmouth College's Datalad project
  7. Jan 21, 2022
  8. Jul 02, 2021
    • Joey Hess's avatar
      remove TAGS target · e8baf5d5
      Joey Hess authored
      hothasktags dropped emacs support, and probably emacs users will use
      haskell-language-server rather than tags, I guess
  9. May 07, 2021
  10. Dec 15, 2020
    • Joey Hess's avatar
      OSXMkLibs: skip @loader_path · 72ec7da4
      Joey Hess authored
      This may or may not make the OSX build work on a newer version of OSX
      than the one that's currently being used for release builds. I have not
      been able to find good docs about how exactly to get back from such a
      value to the actual path to the library that the linker would use.
  11. Dec 14, 2020
  12. Oct 13, 2020
  13. Oct 06, 2020
  14. Oct 05, 2020
  15. Aug 10, 2020
  16. Aug 03, 2020
  17. Jun 18, 2020
    • Joey Hess's avatar
      improve cabal v2 use · 4c44deb2
      Joey Hess authored
      cabal exec in v2 puts the built binary in PATH, so can just ask where it
      is that way, and symlink it
      
      And cabal exec hothasktags simplifies running that, because it sets up
      most of the necessary environment.
      
      The tags and TAGS targets now need cabal v2 to work.
    • Joey Hess's avatar
      tail the find in dist-newstyle · 0f43efa1
      Joey Hess authored
      unfortunately old builds for old versions can linger in there
  18. Jun 17, 2020
    • Joey Hess's avatar
      clean dist-newstyle · 572369ce
      Joey Hess authored
    • Joey Hess's avatar
      updates for new cabal · 7de3f8de
      Joey Hess authored
      The old make fast machinery doesn't work at all with it, but it seems
      actually reasonably fast now to just disable optimisation, so made make
      dev do that. And it sticks once used, which is handy.
      
      Removed hdevtools hack, which won't work. There are ide integrations
      that really solve the problem that hack was working around.
      
      Misc fixes for dist-newstyle location.
  19. May 19, 2020
  20. May 15, 2020
    • Thomas Koch's avatar
      make TAGS to create emacs etags · a47ba1e6
      Thomas Koch authored
      I tried the --recursive option of hothasktags but the vi tags file grew
      by some orders of magnitude and also the emacs TAGS file contained many
      wrong entries.
      
      I deleted trailing whitespace in the Makefile since emacs warns about it
      on save.
      a47ba1e6
  21. Feb 20, 2020
    • Joey Hess's avatar
      Makefile: Support newer versions of cabal that use the new-build system. · 3d00a8a1
      Joey Hess authored
      Unfortunately, cabal puts the binary in a very complicated path
      and does not provide any good way to get it out, leaving no good choice
      except to use find.
      
      It may be possible to use cabal (new-)install --symlink-bindir,
      and ask it to symlink to pwd, but with my older version of cabal,
      that does not work.
      
      The stack branch will probably also break once it uses a newer cabal,
      didn't try to deal with that.
  22. Feb 04, 2020
  23. Jan 23, 2020
  24. Dec 30, 2019
  25. Nov 14, 2019
  26. Oct 17, 2019
    • Joey Hess's avatar
      deal with flakey hdiutil · b02bf9f0
      Joey Hess authored
      hdiutil create -format UDBZ -size 640m -srcfolder tmp/build-dmg \
      		-volname git-annex -o tmp/git-annex.dmg
      hdiutil: create failed - Resource busy
      
      Sometimes it has failed this way for weeks until reboot. Sometimes a single
      retry makes it work. Despite many reports of this problem, I have never
      found for an explanation for it, other than <shrug> OSX.
    • Joey Hess's avatar
      OSX: Deal with symbolic link problem that caused git to not be included in the git-annex.dmg · 5463f97c
      Joey Hess authored
      Homebrew now has eg:
      
      datalads-imac:~ joey$ ls -l /Users/joey/homebrew/Cellar/git/2.23.0/libexec/git-core
      total 36776
      lrwxr-xr-x   1 joey  staff       13 Aug 29 13:38 git -> ../../bin/git
      lrwxr-xr-x   1 joey  staff       13 Aug 29 13:38 git-add -> ../../bin/git
      
      So the target of the symlink also needs to be installed now.
      
      Doing it in shell code was too hairy for my dentistry-addled brain, so
      reimplemented in haskell. Also using it for building linuxstandalone.
  27. Sep 13, 2019
    • Joey Hess's avatar
      building a standalone rpm from the standalone tarball · 45081985
      Joey Hess authored
      This allows the rpm to be built anywhere the necessary build deps are
      available (including on debian) and the resulting package will work on as
      broad a range of rpm distributions as the libc/kernel supports.
      
      The DistributionUpdate changes to use the new script have not yet been
      tested.
  28. Aug 16, 2019
  29. Jun 26, 2019
  30. May 08, 2019
  31. Mar 18, 2019