-
Notifications
You must be signed in to change notification settings - Fork 49
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
Inconsistent path processing for .gcloudignore
#357
Labels
bug
Something isn't working
Comments
How does |
Here is an example. $ mkdir -p example/upload && cd example
$ echo "upload/a.txt" > .gcloudignore
$ echo "b.txt" > upload/.gcloudignore
$ touch upload/a.txt upload/b.txt
$ gcloud meta list-files-for-upload
.gcloudignore
upload/.gcloudignore
upload/b.txt
$ gcloud meta list-files-for-upload upload
.gcloudignore
a.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR
The issue pertains to inconsistent path processing when the given path is treated as the root directory, but the top-level
.gcloudignore
is utilized. Therefore, the path in.gcloudignore
is concatenated with the given path variable.Expected behavior
The paths listed in
.gcloudignore
should be calculated from the path of.gcloudignore
.Observed behavior
No response
Action YAML
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: