1. 05 Sep, 2012 4 commits
  2. 04 Sep, 2012 5 commits
  3. 30 Aug, 2012 6 commits
  4. 23 Aug, 2012 1 commit
  5. 02 Aug, 2012 7 commits
  6. 17 Jul, 2012 2 commits
    • Antoine Catton's avatar
      0ce2eca0
    • Antoine Catton's avatar
      Add escape option in order to avoid script formatting · 125fdd0f
      Antoine Catton authored
      The script is formatted with self.options dictionnary.
      
      For example :
      
        [foobar]
        recipe = slapos.recipe.build
        foo = bar
        script =
          print '%(foo)s'
      
      Produces :
      
        Installing foobar.
        bar
      
      But this can mess up the python code, because there's no
      escaping. For example :
      
        [foobar]
        recipe = slapos.recipe.build
        foo = bar's
        script =
          print '%(foo)s'
      
      Produces :
      
        While:
          Installing foobar.
      
        An internal error occurred due to a bug in either zc.buildout or in a
        recipe being used:
        Traceback (most recent call last):
          File "<string>", line 2
            print 'bar's'
                       ^
        SyntaxError: invalid syntax
      
      We can workaround this by using :
      
        [foobar]
        recipe = slapos.recipe.build
        foo = bar's
        script =
            print '%%s' %% self.options['foo']
      
      But every percent sign has to be escaped. That's why, this
      commit introduces :
      
        [foobar]
        recipe = slapos.recipe.build
        foo = bar's
        format = no
        script =
            print '%s' % self.options['foo']
      
      NB: This commit doesn't remove formating for backward compatibility.
      125fdd0f
  7. 07 Jun, 2012 6 commits
  8. 29 Mar, 2012 4 commits
    • Cédric de Saint Martin's avatar
      Fill changelog · 58e863c6
      Cédric de Saint Martin authored
      58e863c6
    • Cédric de Saint Martin's avatar
      Fill changelog · 028dc723
      Cédric de Saint Martin authored
      028dc723
    • Cédric de Saint Martin's avatar
      Add support for 'path' argument · 911e09e5
      Cédric de Saint Martin authored
      911e09e5
    • Vincent Pelletier's avatar
      Assorted improvements. · cdc72d1f
      Vincent Pelletier authored
      - Do not use a property for a local variable.
      - Use new-style class.
      - Stop using logger.
      - Save a few getattr calls.
      - Do not keep references to buildout & options outside of __init__ .
      - Convert mode in __init__ to detect errors early.
      - Factorise several accesses (buildout['buildout'], properties)
      - Drop redundant "cache" download.Download parameter: it is automatically
        fetched from first parameter internally.
      - "Backward compatibility with other recipes" is just not "backward".
      - Return downloaded file path, not just the optionally-created directory.
      cdc72d1f
  9. 11 Nov, 2011 1 commit
  10. 08 Nov, 2011 3 commits
  11. 27 Sep, 2011 1 commit