How to use sqlCVS from web admin

From LinuxMCE
Revision as of 02:41, 14 September 2010 by Langstonius (Talk | contribs)

Jump to: navigation, search
Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Unknown N/A N/A
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

In order to propagate your local changes to the community, the local changes from database need to be committed in central repository using sqlCVS.

Go to Advanced > sqlCVS > Diff

Default values for connection are:

 sqlCVS Host:	
 Port: 	3999
 Username*: anonymous	
 Password*: anonymous	
 Database: pluto_main

Select the repositories and the tables you want to check for changes. If you don't know what tables were changed, you can select all of them, but be advised this will take a long time to complete.

If you only added a device template for example, you can select only dce repository, which will also select all tables in that repository. If you know what tables were changed, you can narrow the selection in order to run faster. After you made your selection, click "Next".

The page will call /usr/pluto/bin/sqlCVS with the parameters selected on page, who will run an integrity check first, then will display what changes are in selected repository and tables (new/changed/deleted records).

Each record added/changed/deleted will have a checkbox next to it, so you will be able to select what changes to checkin or revert. Once your selection is done, you can click at the very bottom of the page either on "Revert" or "Checkin" buttons.

 Important note: BEFORE you click "Revert" or "Checkin" you have to disable popup blocker for the current host.

Depending of the button you clicked, the operations you selected will be reverted or committed in sqlCVS main database. Be advised this may take a while, depending on the amount of records/tables used.