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

Somewhat repaired gen-meta #184

Closed
wants to merge 3 commits into from

Conversation

jonathanstowe
Copy link
Contributor

Somewhere along the line it was trying to pass "$*EXECUTABLE -MPanda::DepTracker" to Proc::Async.new when building as part of "gen-meta" . This clearly doesn't work.

This adds a new named param to build so that the DepTracker can be added when required.

I may have to add this in a number of places at it seems to depend on the previous behaviour of setting $*EXECUTABLE with the '-M' all over the place.

Somewhere along the line it was trying to pass "$*EXECUTABLE
-MPanda::DepTracker" to Proc::Async.new
@tadzik
Copy link
Owner

tadzik commented Jul 18, 2015

Can you tell me what is it about gen-meta that needs repairing? I haven't looked at that part of panda code in a while, and I don't really know what's going on in there :)

@FROGGS
Copy link
Collaborator

FROGGS commented Jul 18, 2015

We relied on the fact that subprocesses are invoked via a shell. Now we're using Proc::Async which works more like run(), and therefore we cannot inject args anymore in the way we did it.

@jonathanstowe
Copy link
Contributor Author

Yeah, specifically the Bundler.bundle altererd $*EXECUTABLE by appending the " -MPanda::Deptracker" to alter that for the build and test, this no longer works (it probably needs a test case but hey) The patch rectifies this.

@jonathanstowe
Copy link
Contributor Author

I'm going to redo this from scratch as the other changes have made it tricky. I'll close and do another one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants