![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello all, Say I have a worst case scenario in my development environment where our production server and our version control are out of sync. We know that the production server code is complete and accurate, and what needs to be in version control. Does anyone have any suggestions for automating the export of the source code, triggers, tables, functions, and packages that consist of the applicaiton I'm trying to sync up into version control? --Thanks in advance, CW |
#3
| |||
| |||
|
|
Say I have a worst case scenario in my development environment where our production server and our version control are out of sync. We know that the production server code is complete and accurate, and what needs to be in version control. Does anyone have any suggestions for automating the export of the source code, triggers, tables, functions, and packages that consist of the applicaiton I'm trying to sync up into version control? |
#4
| |||
| |||
|
|
Hello all, Say I have a worst case scenario in my development environment where our production server and our version control are out of sync. We know that the production server code is complete and accurate, and what needs to be in version control. Does anyone have any suggestions for automating the export of the source code, triggers, tables, functions, and packages that consist of the applicaiton I'm trying to sync up into version control? --Thanks in advance, CW |
#5
| |||
| |||
|
|
Hello all, Say I have a worst case scenario in my development environment where our production server and our version control are out of sync. We know that the production server code is complete and accurate, and what needs to be in version control. Does anyone have any suggestions for automating the export of the source code, triggers, tables, functions, and packages that consist of the applicaiton I'm trying to sync up into version control? --Thanks in advance, CW |
#6
| |||
| |||
|
|
On Dec 3, 9:43 am, Redrobot5050 <redrobot5... (AT) gmail (DOT) com> wrote: Hello all, Say I have a worst case scenario in my development environment where our production server and our version control are out of sync. We know that the production server code is complete and accurate, and what needs to be in version control. Does anyone have any suggestions for automating the export of the source code, triggers, tables, functions, and packages that consist of the applicaiton I'm trying to sync up into version control? --Thanks in advance, CW I don't know if Daniel's notes cover this but for tracking purposes, I have found adding a WHOAMI() function to every package to be useful. That way rather than trying to compare test files, you query the function and get a version control identifier like SELECT MTP_package.WHOAMI() FROM DUAL; returns something like this: $Id: packagename 1.15 2007/11/12 15:13:12 ejp Exp ejp $ (if you happen to use RCS) You can have it return a string with just the package version info, or version info for all the components. It is totally up to you. HTH, Ed |
![]() |
| Thread Tools | |
| Display Modes | |
| |