cli icon indicating copy to clipboard operation
cli copied to clipboard

.* in .cfignore is treated as ignore everything.

Open rlk833 opened this issue 10 years ago • 4 comments

Command

cf push

CLI Version

6.19.0+b29b4e0-2016-06-08

Error

We were stepping up from 6.12 to 6.19 and encountered this regression. We have in our .cfignore the line .* This worked in 6.12, ignoring all files starting with period, but 6.19 is treating this as ignore ALL files. And we get the message no app files found.

This is a regression and breaks most of our built applications.

Stack Trace

CC API Endpoint Version

CF Trace

Platform Details

Linux and Windows at least.

Shell

bash or windows command prompt

rlk833 avatar Jun 24 '16 21:06 rlk833

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/122234577

The labels on this github issue will be updated when the story is started.

cf-gitbot avatar Jun 24 '16 21:06 cf-gitbot

Hi @rlk833

.* looks like the right pattern to use for ignoring files starting with a period. We'll take a look.

Regards, Dies Koper CF CLI PM

dkoper avatar Jun 27 '16 05:06 dkoper

Looks like this broke between versions 6.13.0 and 6.14.0

n4wei avatar Jun 29 '16 17:06 n4wei

This has been fixed in cf CLI 6.20.0. https://github.com/cloudfoundry/cli#downloads

Thanks for bringing it to our attention!

Regards, Dies Koper CF CLI PM

dkoper avatar Jun 30 '16 00:06 dkoper