1. 12 Oct, 2023 1 commit
    • Jérome Perrin's avatar
      tests: don't use jinja2.ext.with_ in tests · 69a27287
      Jérome Perrin authored
      This extension is now builtin and no longer exist under the old name.
      Since the test was just verifying that we can load extensions and uses
      other extensions, we can just remove it from the test.
      69a27287
  2. 24 Oct, 2022 2 commits
  3. 02 Sep, 2022 1 commit
    • Julien Muchembled's avatar
      Allow an overriding section to unset 'url' in order to instead define 'inline' · edfb3766
      Julien Muchembled authored
      Example:
      
      foo.cfg:
      
        [foo]
        url = ...
      
      bar.cfg:
      
        [buildout]
        extends = foo.cfg
      
        [foo]
        url =
        inline = blablah
      
      Recipes must not distinguish the existence of an option from an empty
      option value. It's a common mistake in recipes because that's natural
      to do that in Python. However, buildout has no syntax to remove an
      option when overriding a section.
      edfb3766
  4. 03 Feb, 2022 2 commits
  5. 01 Feb, 2022 5 commits
  6. 14 Jan, 2022 3 commits
  7. 17 Dec, 2021 3 commits
  8. 08 Jun, 2021 1 commit
  9. 07 Jun, 2021 2 commits
  10. 29 Jan, 2021 1 commit
  11. 08 Jan, 2021 2 commits
  12. 10 Apr, 2020 1 commit
  13. 24 Jan, 2020 2 commits
  14. 29 Jan, 2018 1 commit
  15. 25 Jan, 2018 1 commit
  16. 22 Jan, 2018 4 commits
  17. 11 Dec, 2017 2 commits
  18. 18 Oct, 2017 1 commit
  19. 16 Oct, 2017 1 commit
  20. 13 Oct, 2017 2 commits
  21. 03 Jul, 2017 1 commit
  22. 21 Jun, 2017 1 commit
    • Julien Muchembled's avatar
      jinja2: read template at install/update and fix 'mode' option · 6219b5dc
      Julien Muchembled authored
      __init__ should only check options. By doing the actual work in install/update,
      it is now possible to use a template that is produced by another part.
      
      'mode' was implemented like 'umask' but it has never been used this way,
      and the 'umask' option is deprecated:
      - remove support for unused 'umask' option
      - change 'mode' to actually apply the wanted mode, regardless the current umask
      - the default mode changes: if 'mode' is not given, the resulting file is only
        executable (actually 0777 & ~umask) if the content starts with '#!',
        else its mode is: 0666 & ~umask
      6219b5dc