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

pypyr.steps.pathcheck & deprecate multi-input fetches #119

Merged
merged 5 commits into from Jan 24, 2019
Merged

Conversation

yaythomas
Copy link
Member

  • The new pypyr.steps.pathcheck step allows you see if a path exists on the filesystem. It supports literal paths and glob expansions. It writes handy values into pathCheckOutwith bool for existence and count of files found for the given path. pypyr.steps.fileexists #114
  • deprecate old style multi context inputs for fetchjson and fetchyaml, fetchjson and fetchyaml context config to dict #118. this is not just arbitrary: reason is when step is used multiple times in same pipeline, it becomes easy to have left-over values from previous step run left in context that then cause surprising behaviour with the downstream step. the old style is still supported by virtue of pypyr creating the new style inputs under the hood if it finds the old style arguments - but you can expect this to go away by the next major release.
  • add info output logging to envget

@yaythomas yaythomas merged commit 4d1e3be into master Jan 24, 2019
@yaythomas yaythomas deleted the pathexists branch January 24, 2019 23:00
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.

None yet

1 participant