;$Id=//guest/jeffery_g_smith/perforce/utils/sttop4/main/config.ini;7 $ ; ;StarTeam to Perforce Converter Configuration File. ; ;Copyright 1998 Perforce Software. All rights reserved. ;Based on VSStoP4: ; Written by James Strickland, April 1998 ; Maintained by Robert Cowham, since 2000 ;Updated to support StarTeam conversions and converted to Python: ; Jeffery G. Smith, MedPlus, Inc. 2004-2005 ; ;This file must have the format of a Windows INI file ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Source server information ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;parameter type default required description ;type string none yes the server type: ST ;server string none yes hostname ;port string none yes connection port ;user string none yes user login name ;passwd string none yes user login password ;progid string none yes SDK COM program or class ID ;projects string none yes projects to convert, separated by | ; example: project1|project2 ;exclude string none no files or folders to ignore ; example: project1/file|project2/file ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [source] ;type= ;server= ;port= ;user= ;passwd= ;progid= ;projects= [perforce] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; # Recommended practice is to import into a seperate area of your repository such as: # //depot/import/vss/projectA/... # and then branch afterwards into your new structure for use in Perforce, e.g. # //depot/main/projectA/... # see note in README.txt # ;Perforce destination server information ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;parameter type default required description ;p4port string none yes standard P4PORT value ;p4user string none yes standard P4USER value ;p4client string none yes standard P4CLIENT value ;p4passwd string none no not required if login first ;depot string depot no the name of the depot (i.e. //depot) ;root string main no the root directory under the depot ; (i.e. //depot/main) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;p4port= ;p4user= ;p4client= ;p4passwd= ;depot=depot ;root=main [conversion] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Basic coversion parameters ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;parameter type default required description ;root string '.' no the local working directory ;logfile string convert.log no name of the logfile ;confirm boolean 1 no ask before doing dangerous ;debug integer 0 no debugging level ;lcpaths boolean 0 no convert paths to lowercase ;lcfiles boolean 0 no convert filenames to lowercase ;lcextentions boolean 0 no convert extensions to lowercase ;lcusers boolean 0 no convert usernames to lowercase ;verify boolean 0 no perform verify after conversion ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Notes ; Debugging levels ; 0 - none ; 1 - base level ; 2 - COM automation checking ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;root=. ;logfile=convert.log ;debug_level=0 ;config=1 ;lcpaths=0 ;lcfile=0 ;lcextensions=0 ;lcusers=0 ;verify=0 [labels] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Label coversion information ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;parameter type default required description ;prefix string none no prepended to all converted labels ;usecase boolean 0 no are source labels case-sensitive ;ignore regex none no labels to ignore on import ; (example: (BUILD_.*|IGNORE_.*) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;prefix= ;usecase=0 ;ignore= [changelists] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Changelist import information ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;parameter type default required description ;start string none no format: yyyy/mm/dd hh:mm:ss ;interval integer 600 no time interval in seconds between two ; checkins which can be considered ; part of the same change ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Notes ; start: sets the time from which to start processing changelists. ; This allows conversion of just the latest changes from a particular point. ; Be careful if using this option!!! ; If using, then set to 1 second after last successfully imported changelist. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;start= ;interval=600 [usermap] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;Conversion map for usernames. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;old_username=perforce_username
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 5268 | Jeffery G. Smith | Create a copy on the python branch. | ||
//guest/jeffery_g_smith/perforce/utils/sttop4/main/config.ini | |||||
#13 | 5262 | Jeffery G. Smith | Rebase with integration branch. | ||
#12 | 4931 | Jeffery G. Smith |
Fix start parameter specification. Correct problems with mktimestamp. Continue adding support for P4Python. |
||
#11 | 4912 | Jeffery G. Smith | Convert to using P4Python. | ||
#10 | 4908 | Jeffery G. Smith | Finished update of INI file. | ||
#9 | 4907 | Jeffery G. Smith | Continued conversion to Python. | ||
#8 | 4894 | Jeffery G. Smith | Remove local settings. | ||
#7 | 4818 | Jeffery G. Smith |
Finished extracting metadata. Improved logging subsystem. |
||
#6 | 4795 | Jeffery G. Smith | Worked on first phase of metadata collection. | ||
#5 | 4793 | Jeffery G. Smith | Updated sources to more closely match VSStoP4 baseline. | ||
#4 | 4710 | Jeffery G. Smith | Initial changes for StarTeam support after combining PVCS and VSS converters. | ||
#3 | 4703 | Jeffery G. Smith | Merge with the VSS converter. | ||
#2 | 4701 | Jeffery G. Smith | Initial converion to StarTeam. | ||
#1 | 4700 | Jeffery G. Smith | Initialize branch from PVCS converter. | ||
//guest/perforce_software/utils/pvcstop4/main/config.ini | |||||
#1 | 4664 | Robert Cowham | Branch into permanent location. | ||
//guest/robert_cowham/perforce/utils/pvcstop4/main/config.ini | |||||
#1 | 4647 | Robert Cowham |
Rename //guest/robert_cowham/perforce/utils/pvcstop4/... To //guest/robert_cowham/perforce/utils/pvcstop4/main/... |
||
//guest/robert_cowham/perforce/utils/pvcstop4/config.ini | |||||
#3 | 3791 | Robert Cowham | Added exclude option (but not fully tested!) | ||
#2 | 3721 | Robert Cowham |
Various changes (tested at a client): - Use PCLI to read file location info (e.g. if moved) - Use P4Perl for speed - Removed DB_File as it has a bug - Do labels differently for vastly improved speed |
||
#1 | 3638 | Robert Cowham |
Renamed some files with windows extensions. Imported changes from Vsstop4 scripts: - Use P4Perl if installed - Use DB_File if installed - Rework labelling algorithm for speed Net result should be much improved performance. Next step is to use pcli. |