Remove from ignored list improvement
Wenn I try to remove a rule from the ignore list for a file - let's say for example file "C:\somepath\file.ext" - I get three options to choose from
*.ext
file.ext
C:\somepath\file.ext
After that I can choose to apply this rule globaly which makes it 6 possible options to remove a rule which plastic should already know, because it marks the file as ignored, so it should know which rule is the one causing this. And if there is more than one rule show me the options to remove them. I just don't like the fact that I have to guess 6 times which rule may or may not be the right one to remove
As Miguel pointed out, a new upcoming feature will improve the rule handling. Please, stay tuned to the next public release announcements. We’d be delighted if you could try it out and give us some feedback.
Thanks!
-
SWSBB commented
Sounds like a good plan, but please make it a little more transparent for the users.
If I'm not aware which rule causes the ignoring, let's stay with your example and it's the rule "file.ext". If I want to remove this rule, I - again - have to guess which of the three options will remove the rule.
If I choose the "wrong" option, the file will not be ignored - ok.
But other files still will (Option: "C:\somepath\file.ext")
Or way worse other files will not be ignored, too (Option "*.ext")The point I'm trying to make is: There is no view within PlasticSCM where I can see/edit ALL the rules at once, and therefore the users aren't aware of the current rules set. Sure I could just open "ignore.conf" in workpace's root and edit it, restart the client and done. But this should not be the prefered way to go, right?
-
Miguel González commented
Hi, SWSBB,
We've developed an soon-to-be-released improvement that will allow users to add "negative rules" to ignore and cloaked lists. These new rules will detail patterns to prevent files from being ignored/cloaked. This way, the options displayed by the "remove ignored/cloaked" menu will remove the related rule if it exists, and if it doesn't it will add a negative rule to avoid ignoring it.
For instance, if your file is C:\somepath\file.ext and you ignored it with the file.ext option, the remove menu will still show you three choices.
- *.ext -> Plastic will add a !*.ext rule, all files with '.ext' extension will never be ignored.
- file.ext -> Plastic will remove the rule you previously added.
- C:\somepath\file.ext -> Plastic will add a !C:\somepath\file.ext rule, so that this and only this file will never be ignored. This is a different concept from the previous rule, meaning that there could be many more "file.ext" files but you only want to exclude this one from being ignored.I hope this will be helpful to you :-)
Regards,
Miguel