-
Notifications
You must be signed in to change notification settings - Fork 370
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
Fix how vcs_relative_path
first resolves an absolute path
#305
base: master
Are you sure you want to change the base?
Fix how vcs_relative_path
first resolves an absolute path
#305
Conversation
The CircleCI stuff was set up by someone else and I never learned what it did.... which I regret since now it doesn't work and I don't know how to fix it. :-( Does "make test" work for you on the current master branch? (just checking) How about a different algorithm that doesn't require the file to exist? |
Sadly this still fails for me. Are you testing on macos? Its a little different than linux.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wsdwr
I'm sorry but I don't recognize this acronym. This PR is listed as draft. @jamesottaway is it ready to be reviewed? |
I don't remember what was keeping this from being reviewed, but I recall abandoning it after losing myself under an avalanche of Bash. The ability to run Blackbox from arbitrary subdirectories still makes sense, but I'm no longer in the role where I was using Blackbox. Would love to see someone carry this forward, if someone else is willing to take it on. |
Second attempt to fix #303.
The problem in #304 was that
vcs_relative_path
needs its argument to exist when called, andblackbox_register_new_file
was callingshred_file
beforevcs_ignore
.I ran the tests after changing that order and applying the same change to
vcs_relative_path
as before, but now my new test forblackbox_cat
started failing:When I checked
/run/user/1000/tmp.TVLFg8a5XV/keyrings/live/blackbox-files.txt
it definitely contained a line forsecret.txt
, as proven by the additionalassert_line_exists
I added to the previous phase in the WIP commit, plus my own validation:I see some Circle CI config in the repo, so is there a way to run the tests somewhere other than my machine as a sanity check?