1. 30 Oct, 2015 3 commits
    • Kirill Smelkov's avatar
      helloworld: Convert instance.cfg.in to jinja2 · 6506bb67
      Kirill Smelkov authored
      Jinja2 is currently the preferred way to do instance templating, because
      it has control structures.
      
      We'll need control structures in the following patches, but even without
      it, it is better to show "how to" do instances the preferred way.
      
      /cc @jerome
      6506bb67
    • Kirill Smelkov's avatar
      helloworld: Move helloweb program to component/helloweb · 6fcf28cf
      Kirill Smelkov authored
      This
      
      - better illustrates what components do (provide building recipes for
        programs) and what software do (gather components and provide recipes
        for instances).
      
      - illustrates how to build the software properly - usually we build
        eggs or scripts with zc.recipe.egg:* , not generate python programs via
        jinja2 templating. Because when installing via egg, it is possible to
        import other installed eggs relatively straghtforward, and for jinja2
        way it is hard to do.
      
      The helloweb program itself is moved into newly introduced helloweb.git
      repository and, as almost all other software, becomes separate from
      slapos.git .
      
      /cc @jerome
      6fcf28cf
    • Kirill Smelkov's avatar
      helloworld: Unify naming for internal "hello web" service · 4a4e3e32
      Kirill Smelkov authored
      Since 7cd2f953 (helloworld: Turn it into real web-service) helloworld SR
      implements real web-service which talks to outside world with the help
      of shipped-with-it "hello web" program.
      
      Buildout sections which create helloweb service and promise were named
      based on helloworld prefix though, which is not very consistent. Thus the
      change for such sections to the same name as the "hello web" program uses.
      
      Also for style consistency the "hello web" program is renamed from
      hello-web to helloweb, as this naming style is usually used for
      helloworld.{c,py.rb,go,etc}
      
      So the final naming is:
      
          helloweb
      
      for both program and related sections.
      4a4e3e32
  2. 29 Oct, 2015 1 commit
  3. 27 Oct, 2015 8 commits
  4. 26 Oct, 2015 7 commits
  5. 23 Oct, 2015 3 commits
  6. 22 Oct, 2015 6 commits
  7. 21 Oct, 2015 6 commits
  8. 19 Oct, 2015 3 commits
  9. 18 Oct, 2015 1 commit
  10. 16 Oct, 2015 1 commit
  11. 15 Oct, 2015 1 commit