Discussion:
[p4] questions on jobs
Zoltan Grose
2002-03-05 06:34:18 UTC
Permalink
I'm reading over the command reference for 'p4 fix' and I see the note:

"You can’t p4 fix a job to the default changelist; instead, add the job
to the Jobs: field of the default changelist’s p4 submit form when
submitting it to the depot."

When I enter 'p4 submit' I see Jobs: in the comment section but not in
the body of the form. Do I need to change the changelist form spec or
can I simply add the line Jobs: and then add the jobs that are fixed in
this changelist at the time that I enter the description?

Also, if possible, does anyone know why p4 fix doesn't add the job to
the default changelist? It seems like a logical thing to do. Do most
people add items to the Jobs: section or just submit the changelist and
then go in with p4 fix -c XYZ job ... after the submission is complete?

-zoltan
Stephen Vance
2002-03-05 07:00:02 UTC
Permalink
Just add a "Jobs:" field to the submit form. Unfortunately, there isn't a
changelist form spec that you can modify.

As for why it doesn't add it to the default changelist, I suspect it's a
data integrity thing. There is a bi-directional relationship from changes
to jobs and jobs to changes. The default is not as well-defined as a
numbered changelist, being defined by the tuple (client workspace, user).

I know people log fixes both ways. It's as much a matter of group policy
or personal preference as anything.

Steve
"You can't p4 fix a job to the default changelist; instead, add the job to
the Jobs: field of the default changelist's p4 submit form when submitting
it to the depot."
When I enter 'p4 submit' I see Jobs: in the comment section but not in the
body of the form. Do I need to change the changelist form spec or can I
simply add the line Jobs: and then add the jobs that are fixed in this
changelist at the time that I enter the description?
Also, if possible, does anyone know why p4 fix doesn't add the job to the
default changelist? It seems like a logical thing to do. Do most people
add items to the Jobs: section or just submit the changelist and then go
in with p4 fix -c XYZ job ... after the submission is complete?
-zoltan
_______________________________________________
http://maillist.perforce.com/mailman/listinfo/perforce-user
Stephen Vance
mailto:***@vance.com
http://www.vance.com/
Steve Cogorno
2002-03-05 07:12:31 UTC
Permalink
Zoltan Grose said:
[Charset WINDOWS-1252 unsupported, filtering to ASCII...]
Post by Zoltan Grose
When I enter 'p4 submit' I see Jobs: in the comment section but not in
the body of the form. Do I need to change the changelist form spec or
can I simply add the line Jobs: and then add the jobs that are fixed in
this changelist at the time that I enter the description?
Yes, you can just add the "Jobs: job1 job2 ..." line to the form.
Post by Zoltan Grose
Also, if possible, does anyone know why p4 fix doesn't add the job to
the default changelist? It seems like a logical thing to do. Do most
people add items to the Jobs: section or just submit the changelist and
then go in with p4 fix -c XYZ job ... after the submission is complete?
If you use p4 user, you can set up a match rule that will put jobsinto your
default changelist.

For example:
JobView: status=inprogress

would include all of the jobs marked "inprogress" in the default changelist
form at submit time.


Steve Cogorno
Sun Microsystems
Matthew Rice
2002-03-05 13:14:25 UTC
Permalink
Post by Zoltan Grose
When I enter 'p4 submit' I see Jobs: in the comment section but not in
the body of the form. Do I need to change the changelist form spec or
can I simply add the line Jobs: and then add the jobs that are fixed in
this changelist at the time that I enter the description?
Also take a look at the JobView field in the 'p4 user' form.
Post by Zoltan Grose
Do most people add items to the Jobs: section or just submit the changelist
and then go in with p4 fix -c XYZ job ... after the submission is complete?
I set my users' JobView and let the bugs come to me.

Regards,
--
matthew rice <***@starnix.com> starnix inc.
phone: 905-771-0017 x242 thornhill, ontario, canada
http://www.starnix.com professional linux services & products
Continue reading on narkive:
Loading...