This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 65191 - Make the default commit template (rcstemplate) an empty file
Summary: Make the default commit template (rcstemplate) an empty file
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: collabnet (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-27 14:30 UTC by mslama
Modified: 2009-11-08 02:35 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Current commit template (842 bytes, text/plain)
2005-09-27 14:31 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mslama 2005-09-27 14:30:22 UTC
Current commit template starts with:
Issue number:
Obtained from:
Submitted by:
Reviewed by:

But we use different template: #<issue number>: <Message>
so everybody who committs anything to netbeans CVS must first delete first 4
lines. (Unless she uses cvs ci -m <message>.)
Comment 1 mslama 2005-09-27 14:31:39 UTC
Created attachment 25228 [details]
Current commit template
Comment 2 Unknown 2005-10-01 01:53:46 UTC
So, you want the 'rcstemplate' file changed under CVSROOT to address this, 
correct?

CC-ing Jack on this. Will verify if this is OK on our end.
Comment 3 mslama 2005-10-03 07:27:14 UTC
Yes according to CVS doc I assume this would be correct solution.
Comment 4 Unknown 2005-10-04 00:55:10 UTC
Jack, we need your approval to change this.
Comment 5 Andrei Badea 2005-10-11 09:20:52 UTC
Just to be sure, I understand the template will be changed to the default CVS
template below, right?

-----%<-----

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
[...]
-----%<-----

Comment 6 jcatchpoole 2005-10-11 17:49:05 UTC
Marek, pls confirm that template looks OK.

abadea, pls give me a day or 2 more before doing this - I've asked for approval
on the nbdev list and want to give ppl time to respond.

Thanks.
Comment 7 Unknown 2005-10-11 20:16:22 UTC
Please attach the complete template file once the review is complete. We will 
update the current 'rcstemplate' file with that one to avoid confusion(s). I 
verified that the 'rcstemplate' file will *not* get overwritten in the event 
of an upgrade or instance-set change. If you would prefer to check this in CVS 
(like the cvswrappers file) for history purposes, that's OK too.

Thanks
Comment 8 mslama 2005-10-13 08:22:47 UTC
Yes default CVS template given above is correct. (When files are committed it
shows just list of modified/added/removed files.) Here is one simple short example:

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:    coreide/coreide.uip
CVS: ----------------------------------------------------------------------
Comment 9 jcatchpoole 2005-10-13 11:00:09 UTC
OK, no objections for nbdev@ - pls go ahead with this change.
Comment 10 Andrei Badea 2005-11-24 18:46:47 UTC
Why is this taking so long? I had the impression it was a simple change. Any
estimation when it will be done?
Comment 11 Unknown 2005-11-29 23:32:50 UTC
Yes; That's what I thought too. Looks like it wasn't. It's done now. Please 
verify.
Comment 12 mslama 2005-11-30 12:58:39 UTC
First 4 lines (which has to be usualy deleted) are removed from code template.
Remaining lines (starting with CVS) are now useless as they contain description
for removed lines so I recommend remove them too ie. leave template empty. It
will result in default template. Here is example when Template is empty:
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:    ProgrammingNotes.txt
CVS: ----------------------------------------------------------------------
Comment 13 Unknown 2005-12-01 21:17:22 UTC
The template file is now zero-ed out.
Comment 14 mslama 2005-12-02 10:22:54 UTC
Verified in main trunk. Thanks.
Comment 15 Andrei Badea 2005-12-08 16:09:28 UTC
This has not been fixed. I just did:

$ cvs -d:pserver:abadea@cvs.netbeans.org:/cvs login
$ cvs -d:pserver:abadea@cvs.netbeans.org:/cvs co db/derby/etc
$ cat db/CVS/Template

And I got the old template file.
Comment 16 mslama 2005-12-08 18:19:31 UTC
It seems it was reverted somehow. When I checked last time it was ok. Now old
template is back.
Comment 17 Unknown 2005-12-08 19:39:43 UTC
Mslama, you are right! We had made the change in the /CVSROOT area, which you 
already verified. However, there is another area which holds the default 
template files. These gets copied during a patch/inst-set install. I have 
requested the operations team to make a permanent change to that template file 
too. It should be done to-day itself.
Comment 18 Unknown 2005-12-08 21:16:04 UTC
This is done now.
Comment 19 Andrei Badea 2005-12-09 10:48:58 UTC
Seems fixed now. Thanks.
Comment 20 Andrei Badea 2006-06-12 12:14:31 UTC
I am seeing the new template again.
Comment 21 Unknown 2006-06-12 22:43:36 UTC
Right. We will zero it out again.
Comment 22 Unknown 2006-06-13 01:45:00 UTC
Done. Can u please check?
This was missed in the upgrade; fixed now.
Comment 23 Andrei Badea 2006-06-15 16:37:54 UTC
Seems fixed, thanks.
Comment 24 Marian Mirilovic 2009-11-08 02:35:02 UTC
We recently moved out from Collabnet's infrastructure