google / clasp

🔗 Command Line Apps Script Projects
https://developers.google.com/apps-script/guides/clasp
Apache License 2.0
4.52k stars 422 forks source link

.claspignore is not ignoring anything in it #968

Open sarahdriver opened 1 year ago

sarahdriver commented 1 year ago

Expected Behavior

I expected my .claspignore to ignore the files in it.

Actual Behavior

Nothing in .claspignore is being ignored. It also looks like it's not ignoring whatever starts with a period.

Steps to Reproduce the Problem

  1. Create a .claspignore file
  2. Put in every version possible of what I'm trying to ignore: /node_modules node_modules/ node_modules/ /node_modules/ node_modules//.* node_modules//./ \node_modules node_modules\ node_modules\ \node_modules\ node_modules*. node_modules*.*\ node_modules
  3. clasp status shows me way too much. (I am a newbie and I could be missing something, but still.)

Specifications

dandv commented 10 months ago

It also looks like it's not ignoring whatever starts with a period.

Same here, plus #983.

lucia-gomez commented 5 months ago

Also having this issue and it's blocking all work

dotysan commented 5 months ago

Brand new here with a big .venv/ and .git/ in my project. The clasp status output is a mess. And super inefficient! #694

It continues to recursively scan ignored folders. And spam the output with a long list of ignored files. So one might miss the short list of of included ones.

Workaround: clasp status |sed '/^Ignored/q'

Not ignored files:
└─ /foo/appsscript.json

Ignored files: