1. 02 Aug, 2012 7 commits
  2. 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
  3. 07 Jun, 2012 6 commits
  4. 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
  5. 11 Nov, 2011 1 commit
  6. 08 Nov, 2011 3 commits
  7. 27 Sep, 2011 2 commits
  8. 26 Sep, 2011 1 commit
  9. 08 Sep, 2011 6 commits
  10. 07 Sep, 2011 1 commit
    • Łukasz Nowak's avatar
      Improve cmmi part even more. · 319c7223
      Łukasz Nowak authored
      Squashed commit of the following:
      
      commit 506d815ff7e1d7b7b5b3c5edcfcea744c5b2201e
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:54:59 2011 +0200
      
          Support multiline values.
      
      commit c5d9415000fb072a07164bbdd5c276e53470b265
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:48:54 2011 +0200
      
          Fix compatibility layer.
      
      commit 1e301c7ba51060d944fea9ff2be1aba00e3a48b6
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:41:41 2011 +0200
      
          Go back to development.
      
      commit 9f523c490e505d10fbc34b6315a8a1984cb35ece
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:40:00 2011 +0200
      
          Prepare 0.5 release.
      
      commit fcaf5c04fcd0c7e87a73ed0a16879c376cacf73e
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:39:28 2011 +0200
      
          Be more compatible.
      
      commit 5284491ffcad6f7f00fd3b2c29506097cda8e195
      Merge: 2d7dc0b f15bb155
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:28:40 2011 +0200
      
          Merge branch 'master' into cmmi
      
      commit 2d7dc0b3da46d41b8f3754a301d5662ed2bb64d5
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:22:13 2011 +0200
      
          Explain more about patches.
      
      commit d5df4cdcf915f31d35a0aea8cfa465c66e94d881
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:18:55 2011 +0200
      
          Provide better looking patches.
      
      commit c6befb0568e21d95ee2b9e96a0490dadf96b7c06
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:15:32 2011 +0200
      
          Support make-command and make-options.
      
          Fix configure-command.
      
      commit d2212cb7fa4e7d31af671b33b32fdf97094f7e6e
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:04:05 2011 +0200
      
          Allow to override configure command.
      
      commit 4321b38a15de7e5f564656b44acf2c5b84b79eee
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:56:49 2011 +0200
      
          Share applyPatchList with in base class.
      
      commit 4a2ea3b376546df7ddf4d08b58b9b8651be4c324
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:56:29 2011 +0200
      
          Support no md5sum.
      
      commit 2cd36cb7e07b80bbcb1bdbe29108e49899d9ad05
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:56:16 2011 +0200
      
          Show how to patch.
      
      commit 8cd9ea9c02fea1e81b435b5ad2401ead2898330d
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:53:45 2011 +0200
      
          Allow options per patch.
      
      commit 84fea6230aeb950cf683e9dc1665fdb74f8e1fd9
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:48:47 2011 +0200
      
          Allow patching.
      
      commit 8934eb92f100e5f7916bdea0bffd65287cee7558
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:30:46 2011 +0200
      
          Allow to keep directories in case of error.
      
          Default is to remove.
      
      commit 74d0b2bd41a827646a1a1fb851f0dbe8185a4965
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:24:49 2011 +0200
      
          Allow to have a=b=c, where a is key and b=c is value.
      
      commit 034c238125fd040c39c87afce6ea4aa6150ed059
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:17:07 2011 +0200
      
          Another typo.
      
      commit f5abcde019f257303f3e86b45792e98ba5dde010
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:15:44 2011 +0200
      
          Follow fixed typo.
      
      commit 5b950e2619beda41904f681b96a6ec05eeec3eab
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:14:35 2011 +0200
      
          Extract does not need md5sum.
      
      commit 6f725632c3574eb3b0d03493b166b385c862adb0
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:14:14 2011 +0200
      
          Pass md5sum directly.
      
      commit 9f42d22a38db59a1e3527e19b82af4886657ff52
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:13:53 2011 +0200
      
          Allow to pass empty md5sum.
      
      commit c91fafb1736406cbcb32b36af99277a46b67372d
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:13:15 2011 +0200
      
          Fix typos.
      
      commit 8919378ddc44169af07426a5cce6aa55b064f9c9
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:12:31 2011 +0200
      
          Fix examples.
      319c7223
  11. 06 Sep, 2011 3 commits
    • Łukasz Nowak's avatar
      Go back to development. · f15bb155
      Łukasz Nowak authored
      f15bb155
    • Łukasz Nowak's avatar
      Prepare 0.4 release. · dbed321a
      Łukasz Nowak authored
      dbed321a
    • Łukasz Nowak's avatar
      Implement more of compatibility with known recipes. · 47bf55f2
      Łukasz Nowak authored
      Squashed commit of the following:
      
      commit 2d7dc0b3da46d41b8f3754a301d5662ed2bb64d5
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:22:13 2011 +0200
      
          Explain more about patches.
      
      commit d5df4cdcf915f31d35a0aea8cfa465c66e94d881
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:18:55 2011 +0200
      
          Provide better looking patches.
      
      commit c6befb0568e21d95ee2b9e96a0490dadf96b7c06
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:15:32 2011 +0200
      
          Support make-command and make-options.
      
          Fix configure-command.
      
      commit d2212cb7fa4e7d31af671b33b32fdf97094f7e6e
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 17:04:05 2011 +0200
      
          Allow to override configure command.
      
      commit 4321b38a15de7e5f564656b44acf2c5b84b79eee
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:56:49 2011 +0200
      
          Share applyPatchList with in base class.
      
      commit 4a2ea3b376546df7ddf4d08b58b9b8651be4c324
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:56:29 2011 +0200
      
          Support no md5sum.
      
      commit 2cd36cb7e07b80bbcb1bdbe29108e49899d9ad05
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:56:16 2011 +0200
      
          Show how to patch.
      
      commit 8cd9ea9c02fea1e81b435b5ad2401ead2898330d
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:53:45 2011 +0200
      
          Allow options per patch.
      
      commit 84fea6230aeb950cf683e9dc1665fdb74f8e1fd9
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:48:47 2011 +0200
      
          Allow patching.
      
      commit 8934eb92f100e5f7916bdea0bffd65287cee7558
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:30:46 2011 +0200
      
          Allow to keep directories in case of error.
      
          Default is to remove.
      
      commit 74d0b2bd41a827646a1a1fb851f0dbe8185a4965
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:24:49 2011 +0200
      
          Allow to have a=b=c, where a is key and b=c is value.
      
      commit 034c238125fd040c39c87afce6ea4aa6150ed059
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:17:07 2011 +0200
      
          Another typo.
      
      commit f5abcde019f257303f3e86b45792e98ba5dde010
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:15:44 2011 +0200
      
          Follow fixed typo.
      
      commit 5b950e2619beda41904f681b96a6ec05eeec3eab
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:14:35 2011 +0200
      
          Extract does not need md5sum.
      
      commit 6f725632c3574eb3b0d03493b166b385c862adb0
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:14:14 2011 +0200
      
          Pass md5sum directly.
      
      commit 9f42d22a38db59a1e3527e19b82af4886657ff52
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:13:53 2011 +0200
      
          Allow to pass empty md5sum.
      
      commit c91fafb1736406cbcb32b36af99277a46b67372d
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:13:15 2011 +0200
      
          Fix typos.
      
      commit 8919378ddc44169af07426a5cce6aa55b064f9c9
      Author: Łukasz Nowak <luke@nexedi.com>
      Date:   Tue Sep 6 16:12:31 2011 +0200
      
          Fix examples.
      47bf55f2
  12. 05 Sep, 2011 4 commits