[Asterisk-Users] New CVS for patch...

2004-07-06 Thread Jay Milk
Ok, here it goes:

I know CVS and I know how to program.  I don't know much about linux
program installation.  I have a WORKING asterisk based on CVS from
04/2004.  It's running and, as of three days ago, it's in production as
well (production = my wife's using it without knowing it).

I want to patch voicemail.c to allow for configurable pager-messages.
Looked at the code, and I know I can do that in 10 minutes.  Once done,
I'm planning to make this patch available to the community, provided
the paperwork (release form etc) takes less time than the actual patch.

Of course I know that I should based my modification on the
latest-available code, but I'm a bit reluctant to upgrade my WORKING
asterisk to the latest CVS.  Can I rename my asterisk-dir in /usr/src to
something different, then check out the latest CVS, make my changes, and
if it doesn't work, revert to my working version?  Or will Make and its
friends throw me for a loop?

Thanks
-- JM

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] New CVS for patch...

2004-07-06 Thread Kevin P. Fleming
Jay Milk wrote:
Of course I know that I should based my modification on the
latest-available code, but I'm a bit reluctant to upgrade my WORKING
asterisk to the latest CVS.  Can I rename my asterisk-dir in /usr/src to
something different, then check out the latest CVS, make my changes, and
if it doesn't work, revert to my working version?  Or will Make and its
friends throw me for a loop?
You can check out another copy of the CVS code into a directory using 
the -d parameter to the CVS checkout command. Do your work in there, 
and produce a patch that can be sent upstream.

You'll still have to figure out how to get the patch working with your 
older version, though, if you want to stick with that version.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] New CVS for patch...

2004-07-06 Thread Steven Critchfield
On Tue, 2004-07-06 at 10:42, Jay Milk wrote:
 I want to patch voicemail.c to allow for configurable pager-messages.
 Looked at the code, and I know I can do that in 10 minutes.  Once done,
 I'm planning to make this patch available to the community, provided
 the paperwork (release form etc) takes less time than the actual patch.
 
 Of course I know that I should based my modification on the
 latest-available code, but I'm a bit reluctant to upgrade my WORKING
 asterisk to the latest CVS.  Can I rename my asterisk-dir in /usr/src to
 something different, then check out the latest CVS, make my changes, and
 if it doesn't work, revert to my working version?  Or will Make and its
 friends throw me for a loop?

Not only can you rename your working version, you also are able to
checkout to a different directory. Add to it the ability to make you
changes to your current install and just backup the modules you are
messing with and reinstall it no problem. Then when you are happy with
the patch, you could try a test against current to make sure nothing
changed in the interim and submit it. 

The paperwork to allow work to be incorporated into asterisk is
basically downloading a form, filling it out(under 2  minutes) and
faxing a copy of it and mailing it to Digium. 

Pretty simple.
-- 
Steven Critchfield  [EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] New CVS for patch...

2004-07-06 Thread Nicolas Gudino
Hi Jay,
Jay Milk wrote:
I want to patch voicemail.c to allow for configurable pager-messages.
Looked at the code, and I know I can do that in 10 minutes.  Once done,
I'm planning to make this patch available to the community, provided
the paperwork (release form etc) takes less time than the actual patch.
Of course I know that I should based my modification on the
latest-available code, but I'm a bit reluctant to upgrade my WORKING
asterisk to the latest CVS.  Can I rename my asterisk-dir in /usr/src to
something different, then check out the latest CVS, make my changes, and
if it doesn't work, revert to my working version?  Or will Make and its
friends throw me for a loop?
Yes you can. I do it from time to time.
Be sure to remove the contents of  /usr/lib/asterisk/modules before 
installing any version (your current or the latest one), because new 
modules (if there are any) will not be removed when reverting back to 
the previous version and you will have problems. And just issue a 'make 
install' (not a 'make samples'!)

--
Nicolas Gudino
House Internet S.R.L.
Buenos Aires - Argentina
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] New CVS for patch...

2004-07-06 Thread Jay Milk
Oh yeah, the -d option.  That's what happens if you get pampered by CVS
shells all the time.

Is there a kind volunteer who'd like to take my updated voicemail.c and
perform the needed administrivia?  Figuring out the patch-process and
disclosure forms is just something I'd rather not do with my current
workload.  If so, please email me off-list.

Thanks!

 -Original Message-
 From: Kevin P. Fleming [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, July 06, 2004 10:45 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Asterisk-Users] New CVS for patch...
 
 
 Jay Milk wrote:
 
  Of course I know that I should based my modification on the 
  latest-available code, but I'm a bit reluctant to upgrade 
 my WORKING 
  asterisk to the latest CVS.  Can I rename my asterisk-dir 
 in /usr/src 
  to something different, then check out the latest CVS, make my 
  changes, and if it doesn't work, revert to my working version?  Or 
  will Make and its friends throw me for a loop?
 
 You can check out another copy of the CVS code into a directory using 
 the -d parameter to the CVS checkout command. Do your work 
 in there, 
 and produce a patch that can be sent upstream.
 
 You'll still have to figure out how to get the patch working 
 with your 
 older version, though, if you want to stick with that 
 version. ___

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users