Re: [p4] Global Ignores?
wmasek <[email protected]>
| Newsgroups | gmane.comp.version-control.perforce |
|---|---|
| Message-ID | <[email protected]> |
Posted on behalf of forum user 'wmasek'. [https://forums.perforce.com/index.php?app=forums&module=forums§ion=findpost&pid=22510] P4Reg, on 2017/10/17 10:38:16 UTC, said: > While P4IGNORE is per client setup, you could centrally disallow adding certain files using the protections table (See Setting protections with p4 protect [https://www.perforce.com/perforce/doc.current/manuals/p4sag/index.html#P4SAG/protections.set.html] ) which may suit your requirements > > e.g. > > Disallow any files ending with .abc > > list user * * -//....abc > > > Disallow adding any files under //depot/dir/Build/... > > list user * * -//depot/dir/Build/... > > ..and so on for each of the files or folders you want to prevent being added to the depot. > This worked beautifully thank you very much! [https://forums.perforce.com/index.php?app=forums&module=forums§ion=findpost&pid=22516] Sambwise, on 2017/10/17 15:17:14 UTC, said: > Another option is to do it via the client view -- you can set up a trigger that makes the default client view exclude those files (there's an example in the sys admin guide of setting up a trigger that creates a default client view). Or, if you're using streams, just set up your mainline stream to ignore those files, and all its child streams will inherit that automatically. > It would be good if these files just didn't show up in the Client View but I have no idea how to use Triggers at this point. I'll read up on the Documentation. Thank you both for your help. -- Please click here to see the post in its original format: http://forums.perforce.com/index.php?/topic/5514-global-ignores _______________________________________________ perforce-user mailing list - [email protected] http://maillist.perforce.com/mailman/listinfo/perforce-user