[p4] Trigger to limit size of files being added
Michael.Mirman at mathworks.com
Fri Oct 10 08:21:40 PDT 2008
In your change-content trigger you can run "p4 fstat" against the file, see its size and decide whether to reject the submission or not.
Michael Mirman Tel: (508) 647-7555
The Mathworks, Inc. FAX: (508) 647-7010
3 Apple Hill Drive, Natick, MA 01760-2098
> -----Original Message-----
> From: perforce-user-bounces at perforce.com [mailto:perforce-user-
> bounces at perforce.com] On Behalf Of Jamison, Shawn
> Sent: Thursday, October 09, 2008 1:25 PM
> To: perforce-user at perforce.com
> Subject: [p4] Trigger to limit size of files being added
> I recently had a years worth of disk space vanish in 2 months and while
> investigating I found users were checking in 100 MB to 300 MB zip
> Some of these had 20 revisions.
> I also had a user place a 600 MB ISO image into perforce.
> Does anyone know of a way to prevent large binary files from being
> or checked in to Perforce?
> -Shawn Jamison>
> Ciena Corp.
> Perforce Admin
> perforce-user mailing list - perforce-user at perforce.com
More information about the perforce-user