[p4] purging old users
Jeff Jensen
jeffjensen at upstairstechnology.com
Mon May 8 20:42:03 PDT 2006
One way to "get around" the P4EXP "activity" is to see the latest changelist
number the user synced to. If that is quite static and "old"/aging, then
there is another reason to follow up with the user.
Use this command:
p4 changes -m 1 //... at users_workspace_name
This will list the latest changelist the user had synced with. There's a
slight chance it is still legitimate, but the point is finding an easy
automatic way to create a short list of users to investigate (manage by
exception).
You could automate the whole thing in a script, passing in a changelist
number, that iterates over all workspaces and compares each workspace
changelist to the param and reports those older for you to follow up with
users.
So I think a combination of user activity date and last synced changelist
will give you a nice start of a user list to investigate.
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Pavloff, Alex (IE)
@ SONOMAEO
Sent: Monday, May 08, 2006 8:28 PM
To: kmac at apple.com; perforce-user at perforce.com
Subject: Re: [p4] purging old users
One thing I've noticed is that P4EXP keeps people logged in. I've got users
with access times of today -- yet haven't actually done anything in Perforce
for months. Some combination of
Now, you work for Apple, so I'm not sure what your P4EXP usage is.
I suppose a more reliable method be to explore all changelists that the user
has to see what the last modtime was. This assumes though that all users
actually make changes -- I can imagine managers and QA people never opening
anything in changelists though.
-Alex
-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Karl Elvis MacRae
Sent: Monday, May 08, 2006 5:26 PM
To: perforce-user at perforce.com
Subject: [p4] purging old users
We've recently started to use passwords in perforce, and it's created a new
problem for us.
We used to simply purge users we thought might be idle; users would then
re-create on next use. So we could blow away anyone with no reviews with no
penalty.
Now tough, if we blow away a user, we blow away said user's password and
they can't get back in without re-entering a password.
So I need a better way to see who my idle users are. I'm trying to think of
a good way to get p4 to tell me who hasn't touched p4 in N days (or some
such thing) so I can use that as a basis for who might be idle.
It's easy to find user who no longer works here, but what about the users
who, say, ran p4 on one project but are done and don't touch it anymore?
Anyone have any clever tricks for finding old, idle users?
Thanks-
--Karl
--
Karl Elvis MacRae DCM Apple Computer
kmac at apple.com 408-974-0847 (office) 408-313-5741 (mobile)
"A revolution without dancing is a revolution not worth having."
--V
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list