1. 18 Jun, 2014 1 commit
    • Hugo Rodger-Brown's avatar
      Update pylibmc to support nested requirements. · 826193ef
      Hugo Rodger-Brown authored
      The current regex assumes that pylibmc appears at the beginning of a line
      (whitespace only precedes it), which is a fair assumption in a single 'flat'
      requirements.txt file. However, if you are using nested requirements then
      this is not the case - your pylibmc may exist in a sub-directory. This is
      very similar to the way in which mercurial is installed if "hg+" is found
      in the requirements file (see the /bin/compile script). By insisting that
      pylibmc appear at the beginning of the file, it's impossible to fool the
      compilation into installing libmemcached (as this script does) by simply
      putting the phrase into a comment, which is what you *can* do with 'hg+'.
      
      I've updated the regex to remove the beginning of line restriction. This
      means that you can add a comment to a top-level requirements.txt that
      will trigger the install, without having to functionally alter your
      nested requirements.
      
      e.g. top-level requirements.txt:
      
          # fake comment to trigger pylibmc script
          # fake comment to trigger hg+ install
          -r requirements/production.txt
      826193ef
  2. 21 Mar, 2014 1 commit
  3. 03 Mar, 2014 1 commit
  4. 21 Feb, 2014 2 commits
  5. 19 Feb, 2014 2 commits
  6. 17 Feb, 2014 1 commit
    • Aron Griffis's avatar
      Use a sed() function for unbuffered output. · a5cca6de
      Aron Griffis authored
      In `bin/steps/collectstatic` the unbuffered output in `indent` is subverted
      by calling `sed` first:
      
      ```shell
      python $MANAGE_FILE collectstatic --noinput  2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
      ```
      
      This commit fixes this by making `sed` itself unbuffered rather than
      putting that logic in the `indent` function.
      a5cca6de
  7. 14 Feb, 2014 3 commits
  8. 21 Jan, 2014 1 commit
  9. 18 Jan, 2014 2 commits
  10. 20 Dec, 2013 2 commits
  11. 14 Dec, 2013 1 commit
  12. 13 Dec, 2013 1 commit
  13. 15 Nov, 2013 2 commits
  14. 12 Nov, 2013 1 commit
  15. 04 Nov, 2013 1 commit
  16. 17 Oct, 2013 3 commits
  17. 01 Sep, 2013 2 commits
  18. 27 Aug, 2013 2 commits
  19. 25 Aug, 2013 1 commit
  20. 15 Aug, 2013 3 commits
  21. 14 Aug, 2013 1 commit
    • Alan Grosskurth's avatar
      Make vendored libraries available at compile time (fixes #57) · bcc3ba09
      Alan Grosskurth authored
      When building, BUILD_DIR is set to a temporary directory. Vendored
      libraries (e.g., pylibmc) are downloaded and unpacked in
      $BUILD_DIR/.heroku/vendor/lib, but this is not currently in
      LIBRARY_PATH or LD_LIBRARY_PATH.
      
      Fix this by doing the following:
      
      * Add $BUILD_DIR/.heroku/vendor/lib to LIBRARY_PATH/LD_LIBRARY_PATH
      
      * Add $BUILD_DIR/.heroku/vendor/include to
        C_INCLUDE_PATH/CPLUS_INCLUDE_PATH
      
      * Add $BUILD_DIR/.heroku/vendor/bin to PATH, so vendored commands can
        be used at compile time (e.g., curl-config)
      
      * Add $BUILD_DIR/.heroku/vendor/lib/pkg-config to PKG_CONFIG_PATH, so
        vendored packages can be found with pkg-config
      bcc3ba09
  22. 17 Jul, 2013 5 commits
  23. 16 Jul, 2013 1 commit