Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/value passing #220

Merged
merged 64 commits into from
Sep 8, 2016
Merged

Feature/value passing #220

merged 64 commits into from
Sep 8, 2016

Conversation

rebeccaskinner
Copy link
Contributor

Add the ability to pass values between modules

@@ -39,6 +40,7 @@ func TestApplyNoOp(t *testing.T) {

// test that applying applies the vertex
applied, err := apply.Apply(context.Background(), g)
fmt.Println("TestApplyNoOp: error: ", err)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there's a Printf method on the *testing.T that you can use here, and it won't output during verbose runs unless a test fails

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw that just now looking at Steve's code; handy but I decided that in this case the output is a bit extraneous so I went ahead and removed it.

@@ -1,6 +1,6 @@
NAME = $(shell awk -F\" '/^const Name/ { print $$2 }' cmd/root.go)
VERSION = $(shell awk -F\" '/^const Version/ { print $$2 }' cmd/version.go)
TOLINT = $(shell find . -type f \( -not -ipath './vendor*' -not -ipath './docs_source*' -not -iname 'main.go' -iname '*.go' \) -exec dirname {} \; | sort -u)
TOLINT = $(shell find . -type f \( -not -ipath './vendor*' -not -ipath './rpc*' -not -ipath './docs_source*' -not -iname 'main.go' -iname '*.go' \) -exec dirname {} \; | sort -u)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rpc should actually be linted. ./rpc/pb/root.*.go are the ones that are probably causing issues

@stevendborrelli stevendborrelli added this to the 0.2.0 milestone Sep 7, 2016
"split": {},
"lookup": {},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RefFuncName here?


// interpolation allows us to pass vars into scripts while still attempting to
// syntax check them.
Interpolations map[string]string `hcl:"interpolations"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm looking at this code and I don't quite get what this does. Extra environment variables in K/V notation?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah sorry I forgot to remove that! It was something I added to get environment variables that weren't part of Env so I could get better insight into value passing. I'll remove it.

@rebeccaskinner rebeccaskinner merged commit 41e45a5 into master Sep 8, 2016
@rebeccaskinner rebeccaskinner deleted the feature/value-passing branch September 8, 2016 15:26
@BrianHicks BrianHicks modified the milestones: 0.2.0, Strange Loop Demo (the real 0.2.0) Sep 8, 2016
BrianHicks pushed a commit that referenced this pull request Dec 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants