This repository was archived by the owner on Feb 14, 2021. It is now read-only.
sketch on fixing the quote problem #126
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE. Actually I disabled merges that don't pass CI, and this sure as hell won't.
So this is a stab at #87 by @frdmn whereby bake isn't handling quoted arguments well. And, I knew I was doing something hacky with bake, but I really had no idea just how hacky. Short of reworking all the types to turn
bake ls -la $dirintobake "ls -la $dir", this seems to be the next best thing: escaping quotes on every item in the argument list to bake.The problem is
bakeis so central to everything, all for the sake of having nice, stubbable tests, whereby I could test the logic for f.e.apton my mac, orbrewon a linux CI server, without resorting to VMs and whatnot. So now pretty much all of the tests are going to fail and need to have theirrespond_toandbaking_outputstuff changed.Since I'm not even sure this will have the desired effect without breaking everything (it seems to work ok locally) I'd like to get some eyes on it before going to the effort of updating all the tests.