New files are mixed together with .gitignore'd files under "Added and private" ?

I noticed that Plastic SCM is listing newly created files (in this case .cs script files) under “added and private”.

Issue is, that all my .gitignore specified files are there as well (over 6000).
So my new files just get thrown into that list with all my ignored files. Thus they are not included in “Checkin” process. I would have to manually find each file and select it to be included for the Checkin.

Why the hell this UX design?
I can’t find any option to separate “Added and private” into “Added” and “Private” lists, which I would expect SCM to do on standard settings.

Am I the only one with this issue? Did I something wrong in my configuration?

I’m not using the Unity plugin anymore, due to severe performance issues. And just updated the standalone SCM client to the latest version from today, due to a bug (“unrevertable” file stuck in pending changes, preventing me from Checkin all the time - which I solved after another 2 hours of troubleshooting and manually copy/pasting files for now).

I’m really sorry for the rant. But instead of actually working on my project, I keep wasting day after day troubleshooting issues with Plastic for the last week of work. I want to use Plastic, really. But never had this amount of frustration with any Unity related work, ever.

8409036--1110978--upload_2022-9-1_23-53-3.png

So I just found out if you select “Always select private files”, that Plastic starts to automatically select any new created files, or modified file names.

This is kind of the behavior I expect. However, why is there no separation of newly added files (which are clearly not excluded by a ignore-config-file and therefore should be included) and “private files” (from the ignore-config-file, which are always ignored/excluded)?
It would be much a much better UX in my opinion.
Also because I don’t have a clear overview of the selected, newly created files there. In my project, I got ~6000 ignored files. New (not ignored) files are just vanishing in this list.

Also the option from the screenshot above is very cryptic. It says “Always select private files”, even though it doesn’t? I mean I would expect this option to auto-select all my 6000 .gitignore’d files.
I only tried it because of the sub-text “This way you won’t forget new files on checkin” which made me curious.
Furthermore this option is not findable in the normal settings window, but in a separate window only openable with the “Option” button which appears in the “pending changes” tab…

I guess you mean “ignore.conf” (not .gitignore). This is the ignore configuration file in Plastic SCM.

You can configure the “Pending Changes” view to show ignored, private files or both:
8410245--1111314--upload_2022-9-2_13-56-25.png

We are open to arrange a meeting with you and debug your setup.

Thanks for your response Carlos. Much appreciated.

Yes this is correct. Apparently got conveniently converted into the ingore.conf file back when I used .gitignore + Collaborate.

The thing is, if I disable “Show private files” the “Added and private” list completely disappears and if I create a new file in my project, it won’t show up at all for Checkin.

What options do you select, so you are hiding the ignore.conf-files, but still see all newly added files?

Hi,

You need to enable “Show private files” if you want the new private files to appear in pending changes. Only the new files that are not added to the ignored list will appear.

The goal is you can checkin all the new files but the ignored ones. Please check that “Show ignored files” is disabled.

Regards,
Carlos.

So I took some more time to look into this.

I mistakenly took “private” files as the ignored ones.
I noticed that Plastic has both “private” and “ignored” status.
So I took a look in the ignore.conf file and realized that it does not contain my exclusions from Collaborate times. For some reason I believed that during the forced switch, my .gitignore got imported/converted into Plastic’s ignore.conf.

Now my “added and private” list is obviously much cleaner, or empty to be exactly. This is good and I can now see newly created files immediately.

What exactly is Plastic understanding under “private” files? Previously I only knew the concept of “new/changed files to be committed” and “files which are ignored”.

Thanks for the update!

Private files are files that exist in the workspace folder but Plastic is not tracking them. They are not still added to the source control. If you don’t plan to add the private files to the source control, it’s recommended to add them to the ignore list so you can keep them locally without committing them.

Necroing this thread as I did not find any other mentions of this.

Shouldn’t this option be reflected inside Unity version control options as well?

For example if you change the “Check the contents, not just timestamp” option in either Unity or Plastic then it is reflected in the other program. However there is no option currently in Unity for the private files.

Can you clarify the specific option you are missing in the Unity integration? Do you miss some of the “Pending Changes” view Options?

Yes I’m missing the “Always select private files” from pending changes options - “what to show” tab

I’ve shared your request with the engineering team. I agree that it would be nice to have all the same settings for “Pending Changes” also in the Unity plugin.

1 Like