1. 10 Sep, 2015 1 commit
  2. 18 Aug, 2015 2 commits
    • Kazuhiko Shiozaki's avatar
      Release buildout-1.7.1.post11. · c5036bf4
      Kazuhiko Shiozaki authored
      c5036bf4
    • Kirill Smelkov's avatar
      Fix regression when updating a part with several unicode paths in __buildout_installed__ · 5af11468
      Kirill Smelkov authored
      Commit 57f3dd73 (Write .installed.cfg only once, in safe way and only if
      there's any change) changed the way how __buildout_installed__ is read
      and then written back on part upgrade.
      
      In particular, before it was always:
      
          on install:
          - get [] of installed parts from recipe.install()
      
          on update:
          - read __buildout_installed__
          - split it by \n
      
          on write back for both:
          - join by \n
          - write to __buildout_installed__
      
      but after that patch on-update stopped doing that split by \n and on
      writeback the code checks for installed_files to be string and does not
      split it if it is.
      
      Except the check does not work for unicode strings. Look e.g. what
      currently happens with fluentd:
      
      After first install it is
      
      __buildout_installed__ =
      !py!u'/srv/slapgrid/slappart6/srv/runner/software/73a7bf66fea06c703a70faaced67dabf/parts/fluentd\n/srv/slapgrid/slappart6/srv/runner/software/73a7bf66fea06c703a70faaced67dabf/bin/fluent-cat\n/srv/slapgrid/slappart6/srv/runner/software/73a7bf66fea06c703a70faaced67dabf/bin/fluent-gem\n/srv/slapgrid/slappart6/srv/runner/software/73a7bf66fea06c703a70faaced67dabf/bin/fluent-debug\n/srv/slapgrid/slappart6/srv/runner/software/73a7bf66fea06c703a70faaced67dabf/bin/fluentd\n/srv/slapgrid/slappart6/srv/runner/software/73a7bf66fea06c703a70faaced67dabf/bin/gem'
      
      but after update it becomes
      
      __buildout_installed__ =
      !py!u'/\ns\nr\nv\n/\ns\nl\na\np\ng\nr\ni\nd\n/\ns\nl\na\np\np\na\nr\nt\n6\n/\ns\nr\nv\n/\nr\nu\nn\nn\ne\nr\n/\ns\no\nf\nt\nw\na\nr\ne\n/\n7\n3\na\n7\nb\nf\n6\n6\nf\ne\na\n0\n6\nc\n7\n0\n3\na\n7\n0\nf\na\na\nc\ne\nd\n6\n7\nd\na\nb\nf\n/\np\na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ne\nd\n6\n7\nd\na\nb\nf\n/\nb\ni\nn\n/\nf\nl\nu\ne\nn\nt\nd\n\n\n/\ns\nr\nv\n/\ns\nl\na\np\ng\nr\ni\nd\n/\ns\nl\na\np\np\na\nr\nt\n6\n/\ns\nr\nv\n/\nr\nu\nn\nn\ne\nr\n/\ns\no\nf\nt\nw\na\nr\ne\n/\n7\n3\na\n7\nb\nf\n6\n6\nf\ne\na\n0\n6\nc\n7\n0\n3\na\n7\n0\nf\na\na\nc\ne\nd\n6\n7\nd\na\nb\nf\n/\nb\ni\nn\n/\ng\ne\nm'
      
      Correct the check to take unicode strings into account.
      
      /cc @jm
      /reviewed-by @kazuhiko
      5af11468
  3. 09 Jul, 2015 2 commits
  4. 06 Jul, 2015 1 commit
  5. 01 Jul, 2015 1 commit
  6. 10 Jun, 2015 6 commits
  7. 26 May, 2015 2 commits
  8. 25 May, 2015 2 commits
  9. 19 Apr, 2015 2 commits
  10. 17 Apr, 2015 1 commit
  11. 12 Jan, 2015 1 commit
  12. 13 Dec, 2014 1 commit
  13. 12 Dec, 2014 1 commit
  14. 22 Oct, 2014 1 commit
  15. 11 Sep, 2014 2 commits
  16. 09 Sep, 2014 2 commits
  17. 29 Aug, 2014 1 commit
  18. 27 Aug, 2014 1 commit
    • Kazuhiko Shiozaki's avatar
      Merge tag '1.7.1' into rebase_1.7.1 · f91c2a08
      Kazuhiko Shiozaki authored
      Conflicts:
      	.gitignore
      	setup.py
      	src/zc/buildout/buildout.py
      	src/zc/buildout/download.py
      	src/zc/buildout/easy_install.py
      	src/zc/buildout/testing.py
      	src/zc/buildout/tests.py
      f91c2a08
  19. 25 Aug, 2014 2 commits
  20. 12 Aug, 2014 2 commits
  21. 10 Jul, 2013 2 commits
  22. 11 Apr, 2013 1 commit
  23. 21 Feb, 2013 1 commit
  24. 20 Feb, 2013 1 commit
  25. 19 Jan, 2013 1 commit