1. 17 Nov, 2017 1 commit
  2. 16 Nov, 2017 6 commits
  3. 15 Nov, 2017 10 commits
  4. 14 Nov, 2017 2 commits
  5. 13 Nov, 2017 7 commits
  6. 10 Nov, 2017 2 commits
    • Alex Clemmer's avatar
      💅 Add row-padding string pretty printer · 9c2d0a2d
      Alex Clemmer authored
      Historically, every time we've needed to write out something tabular,
      we've hand-rolled an ad hoc padded row writer. Yes, in each case. Such
      is #startuplife.
      The third time we did this we wrote this with bugs, and so now we are
      rewriting it in a general, tested function, and transitioning all places
      where we call this to use this function.
    • Alex Clemmer's avatar
      Merge pull request #58 from jessicayuen/env-rename-fix · dec48302
      Alex Clemmer authored
      Renaming environment should also rename nested .jsonnet
  7. 09 Nov, 2017 5 commits
  8. 08 Nov, 2017 7 commits
    • Jess's avatar
      Merge pull request #52 from jessicayuen/hyphenated-components · c2a0ea15
      Jess authored
      Jsonnet handling of component names with special characters
    • Alex Clemmer's avatar
      Add optional params to prototype spec · ffd62b9b
      Alex Clemmer authored
      Fixes #69.
      Currently we allow users to specify prototypes using Jsonnet. At the
      head of each prototype should be a comment with semi-structured
      metadata, e.g.,
        // @apiVersion 0.0.1
        // @name io.ksonnet.pkg.nginx-simple
        // @description Deploys a simple, stateless nginx server with server
        // blocks (roughly equivalent
        //   to nginx virtual hosts). The nginx container is deployed using a
        //   Kubernetes deployment, and is exposed to a network with a service.
        // @param namespace string default Namespace in which to put the
        // application
        // @param name string Name to give to each of the components
      Critically, some metadata about params is stored using the `@param` tag,
      including name, type, and description, for pretty printing.
      This commit will introduce a new param type, `@optionalParam`. This type
      has a name, type, default value, and description.
      It is currently not possible to specify a default value with spaces, but
      this should be good enough for MVP.
    • Alex Clemmer's avatar
      De/serialize specification objects with YAML · 56befd0f
      Alex Clemmer authored
      Fixes #48.
      Currently the structs `app.Spec`, `registry.Spec`, and `parts.Spec` are
      all serialized and deserialized using JSON instead of YAML.
      This commit will resolve this issue.
    • Jessica Yuen's avatar
      Jsonnet handling of component names with special characters · ce2d567d
      Jessica Yuen authored
      Currently, if a component name contains a special character, ex:
      foo-bar, this translates to the jsonnet identifier: foo-bar, which is
      invalid syntax.
      This change will quote component names where there are special
    • Alex Clemmer's avatar
      Merge pull request #71 from hausdorff/vendor-path · 02b62066
      Alex Clemmer authored
      Add `vendor/` to Jsonnet paths
    • Alex Clemmer's avatar
      Merge pull request #60 from jessicayuen/env-context-fix · dfe8aafc
      Alex Clemmer authored
      Pass context & overrides by reference when initiating client
    • Alex Clemmer's avatar
      Add `vendor/` to Jsonnet paths · 5327cf5c
      Alex Clemmer authored
      This resolves the first half of #68. When we `generate` using a
      prototype from a vendored dependency, it often results in a compilation
      error when we `apply`, because these prototypes usually depend on code
      that exists in the dependency, and `vendor/` is not a part of the
      Jsonnet search path.
      This commit resolves this problem by adding it to the search path.