Change 8283

sven_erik_knop (Sven Erik Knop)
Sven Erik Knop committed this change into //guest/sven_erik_knop/P4Pythonlib
Request Review
Download .zip
Set of useful scripts and triggers in P4Python.

   Most require Python 3.X to run, but can be made to use Python 2.7 if necessary.
   The scripts will also need P4Python 2012.2 + to work.

   changes_month_depot analysis the usage in changes and bytes of a Perforce Server.
   directory_sizes list the sizes of files within a directory of Perforce
   hash_database attempts to find identical files submitted several times (not lazy copies)
   open_view_clients lists all clients with open views

   Run the first 3 scripts against a (db only sufficient) replica, they can be very heavy on a server.

   The last file is a simple client form-in trigger to prevent open views.
  • Files 5
  • Comments 0
0 edited 5 added 0 deleted
scripts/changes_month_depot.py#1
Loading...
scripts/directory_sizes.py#1
Loading...
scripts/hash_database.py#1
Loading...
scripts/open_view_clients.py#1
Loading...
triggers/client_open_view_trigger.py#1
Loading...
Tip: Use n and p to cycle through the changes.