lp:~niemeyer/pyjuju/go-formula-dir
- Get this branch:
- bzr branch lp:~niemeyer/pyjuju/go-formula-dir
Branch merges
- Kapil Thangavelu (community): Approve
-
Diff: 898 lines (+510/-128)12 files modifiedformula/Makefile (+3/-0)
formula/config.go (+8/-18)
formula/config_test.go (+36/-46)
formula/dir.go (+120/-0)
formula/dir_test.go (+57/-0)
formula/formula.go (+8/-2)
formula/formula_test.go (+10/-7)
formula/meta.go (+10/-19)
formula/meta_test.go (+17/-36)
formula/rel.go (+81/-0)
formula/rel_test.go (+82/-0)
formula/walk.go (+78/-0)
Related bugs
Bug #848225: Go port must support formula directories | Undecided | Fix Released |
Related blueprints
Branch information
Recent revisions
- 22. By Gustavo Niemeyer
-
Bundle filepath.Rel as filepath_Rel while the submission upstream
doesn't go in (http://codereview. appspot. com/4981049). - 21. By Gustavo Niemeyer
-
Simplified further the Formula interface:
- BundleTo now takes an io.Writer, which means it can bundle
formulas pretty much anywhere rather than only into a file.- dir.Path is now a field of Dir rather than a method part of
the interface. One has to know it's a Dir to handle it
properly either way. - 20. By Gustavo Niemeyer
-
Unified formula.ReadConfig and ParseConfig.
Now ReadConfig accepts an io.Reader, equivalent to the
ReadMeta change. - 19. By Gustavo Niemeyer
-
Unified formula.ParseMeta and ReadMeta.
Now only ReadMeta exists, and it accepts an io.Reader,
which is a common denominator and enables easily doing
what the other two could achieve. - 17. By Gustavo Niemeyer
-
Got started with formula.Dir implementation. Missing bundling
and expanding for completion. - 15. By Gustavo Niemeyer
-
Implemented initial config parsing. No variable validation using the
parsed schema yet. - 14. By Gustavo Niemeyer
-
Added formula(_test).go files with the generic bits that were
all together in meta.go at first.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:pyjuju