-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
list: ignores .dvcignore with path option #3431
Comments
since we include all files (Git-tracked + DVC), does it makes sense to just colorize them in a different way? |
At this moment we colorize by default (
we had a conversation with @efiop about default color for Dvc files can be colored as
I think it make sense to add default colors for |
I meant to colorize .dvcignored with dark grey or something, but include the in the output if they are Git-tracked. |
Dark grey makes it really hard to read on terminals (maybe, that's what we want). |
yes, I agree. But since we discuss here to hide them, it should be a better option. My main point - please, let's not hide them. |
But, I think, we should respect user trying to explicitly ignore stuffs. Well, ignore means ignore. |
@skshetry ignore means it is just a regular Git-tracked file, that we show. We can annotate them somehow or colorize (to emphasize that they are .dvcignored), but I don't any reason to hide Git-tracked files. Btw, can I do |
I don't think that we should respect There are 2 options:
|
It's a strange case. Or I'm missing something. Usually if file is .dvcignored it is not DVC-tracked.
agreed. I would show them as a regular Git-tracked file/directory for now. I'm not sure to be honest that we have something besides 2. |
Hence I think the issue should be closed as irrelevant? Could you please share your thoughts here @Suor |
Current implementation hides dvcignored files in some cases and shows in another ones. Judging by code the intention was to always hide, i.e. So there are separate questions:
Any way we answer them current behavior is wrong and should be fixed. |
Based on the comment #3431 (comment) we can only have a Git-tracked file (or dir with Git-file) that is included in
yes, it's a simple Git-tracked file. Temporary files (not commited) are not listed with
I don't see the reason to add additional coloring for them |
Based on the conversation
If you have a structure:
And .dvcignore contains c, then your code will list all of the files in data, while c should be skipped
but expects
The text was updated successfully, but these errors were encountered: