[p4] Un-delete a job?

Bennett, Patrick Patrick.Bennett at inin.com
Thu Apr 26 13:03:57 PDT 2007


D'oh!  L

Ok, I'll shut up now.

 

From: Shawn Hladky [mailto:p4shawn at gmail.com] 
Sent: Thursday, April 26, 2007 3:10 PM
To: Bennett, Patrick
Cc: paul goffin; perforce-user at perforce.com
Subject: Re: [p4] Un-delete a job?

 

Jobs are versioned, fix records (job to changelist associations) are
not.

On 4/26/07, Bennett, Patrick <Patrick.Bennett at inin.com > wrote:

This isn't true.
Jobs are versioned in the //spec depot if you have one. 

Patrick Bennett

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto: perforce-user-bounces at perforce.com
<mailto:perforce-user-bounces at perforce.com> ] On Behalf Of Shawn Hladky
Sent: Thursday, April 26, 2007 12:28 PM
To: paul goffin
Cc: perforce-user at perforce.com
Subject: Re: [p4] Un-delete a job? 

In my opinion, this is one of the biggest gaps in Perforce.  Our change
management process relies heavily on jobs/fixes, and this lack of
historical
evidence is frustrating.  It's a big pain to sift through log and 
journal
files to figure this stuff out.  We actually lie to our users, and tell
them
that Perforce won't let them unfix jobs.  If they submitted a changelist
with the wrong job fixed they send us an e-mail to re-fix.  Since our 
users
generally don't use the command line or read help files, our little lie
worked.  That is, until the new GUIs came out with context menus to
un-fix
jobs.

At a minimum, I think Perforce needs a trigger on fix / un-fix... we can

implement security that way, and it would also help the defect tracking
integrations.  Full-blown versioning of fix records would be nice too.

On 4/26/07, paul goffin < paul.goffin at dsl.pipex.com
<mailto:paul.goffin at dsl.pipex.com> > wrote:
>
> "p4 jobs" is an "engineering whiteboard".  Once someone (anyone! - the
> room the
> whiteboard is kept in doesn't have a lock on the door...) has run a 
damp
> cloth
> over it, everything has gone.
>
> Paul
>
>
>
> Quoting Jeff Grills <jgrills at drivensnow.org>:
>
> >
> > There's no undelete for jobs I know of, but you should be able to
grab
> the
> > appropriate records from last night's checkpoint and today's journal
> > (excluding the delete entries, of course) and replay them in to your

> current
> > server to restore the records for the job.  I don't know the full
range
> of
> > records that would be necessary, but perforce support probably
already
> knows
> > or can figure it out quickly.  If you don't have a support contract,
you
> > should be able to figure out the records necessary by looking at
exactly
> > what was deleted by the errant delete, or by looking at the DB 
schema.
> >
> > Do you have a spec depot?  It might have what you need in it as
well,
> but
> > I'm not sure.  I haven't used the spec depot nor jobs very
extensively.
> >
> > j
> >
> > -----Original Message-----
> > From: perforce-user-bounces at perforce.com
> > [mailto: perforce-user-bounces at perforce.com
<mailto:perforce-user-bounces at perforce.com> ] On Behalf Of Jeff Jensen
> > Sent: Wednesday, April 25, 2007 3:07 PM
> > To: perforce-user at perforce.com
> > Subject: [p4] Un-delete a job? 
> >
> >
> > So someone deleted a job that had many checkins to it.  Is there a
> practical
> > way to undelete it?
> >
> > If not, is there a practical way to create a new one of the same 
name
> and
> > have the prior changelists associated with the new one as with the
> deleted
> > one? _______________________________________________
> > 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
> >
>
>
> --
> _______________________________________________
> perforce-user mailing list  -   perforce-user at perforce.com
<mailto: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