1. 19 Oct, 2016 2 commits
    • Julien Muchembled's avatar
      Release buildout-1.7.1.post14 · c763f6ab
      Julien Muchembled authored
      c763f6ab
    • Julien Muchembled's avatar
      Fix ';' handling at first continuation line · 7fd3f85d
      Julien Muchembled authored
      In RawConfigParser:
        # ';' is a comment delimiter only if it follows
        # a spacing character
      and this applies only on the first line of the value.
      
      By escaping the first newline, which is by the way useless and ugly,
      a ';' on the second line (i.e. the first continuation line) would be saved
      on the first line in .installed.cfg.
      
      This resulted in parts being reinstalled without reason.
      
      WARNING: Newer versions of buildout don't use RawConfigParser anymore so it
               may not be affected by this bug and in any case, this commit must not
               be cherry-picked blindly.
      7fd3f85d
  2. 18 Oct, 2016 1 commit
    • Julien Muchembled's avatar
      Fix a bug in $$ escape handling · 693249e0
      Julien Muchembled authored
      That caused uninstall and install everytime for a part containing $$ in its
      saved options. Also it caused broken .installed.cfg in case of error, like the
      referenced section was not defined.
      693249e0
  3. 16 Oct, 2015 2 commits
  4. 12 Oct, 2015 3 commits
  5. 07 Oct, 2015 1 commit
  6. 28 Sep, 2015 1 commit
  7. 25 Sep, 2015 2 commits
  8. 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\nr\nt\ns\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/\nf\nl\nu\ne\nn\nt\n-\nc\na\nt\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/\nf\nl\nu\ne\nn\nt\n-\ng\ne\nm\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/\nf\nl\nu\ne\nn\nt\n-\nd\ne\nb\nu\ng\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/\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
  9. 09 Jul, 2015 2 commits
  10. 06 Jul, 2015 1 commit
  11. 01 Jul, 2015 1 commit
  12. 10 Jun, 2015 6 commits
  13. 26 May, 2015 2 commits
  14. 25 May, 2015 2 commits
  15. 19 Apr, 2015 2 commits
  16. 17 Apr, 2015 1 commit
  17. 12 Jan, 2015 1 commit
  18. 13 Dec, 2014 1 commit
  19. 12 Dec, 2014 1 commit
  20. 22 Oct, 2014 1 commit
  21. 11 Sep, 2014 2 commits
  22. 09 Sep, 2014 2 commits
  23. 29 Aug, 2014 1 commit