|
Class: WorkSpace (private in PerforceSourceCodeManagerUtilities
This class is only visible from within
PerforceSourceCodeManagerUtilities.
Object
|
+--PerforceSourceCodeManagerUtilities::WorkSpace
- Package:
- stx:libtool
- Category:
- System-SourceCodeManagement
- Owner:
- PerforceSourceCodeManagerUtilities
instance creation
-
new
-
(comment from inherited method)
return an instance of myself without indexed variables
-
newWorkSpaceFor: aSettingsString
-
get the workspace definition from perforce client command output
-
newWorkSpaceForSettings: settingsDict
-
get the workspace definition from perforce client command output
accessing
-
client
-
-
client: something
-
-
host
-
-
host: something
-
-
owner
-
-
owner: something
-
-
perforceSettings
-
-
perforceSettings: something
-
-
root
-
-
root: something
-
-
tempDirectory
-
-
temporaryWorkSpace
-
-
views
-
actions
-
addCheckIn: checkInDefinition submit: doSubmit
-
create container for class initial check in
-
askForMergedSource: mergedSource localSource: mySource changesDict: changesDict haveRevision: haveRevision changesAsLogged: changesAsLogged pathName: pathName definitionClass: definitionClass
-
ooops must resolve conflicts
-
changeChangeDescriptionTo: logLines changeNumber: changeNumber
-
-
checkForExistingContainer: checkInDefinition
-
-
checkIn: checkInDefinition submit: doSubmit
-
-
createChange
-
-
createWorkSpaceClientSpecFor: checkInDefinition
-
-
delete: checkInDefinition submit: doSubmit
-
-
deleteWorkSpaceFromServer
-
-
getChangeDespriptionInfoFor: changeNumber
-
-
getChangeListNumber
-
-
getCurrentChangeListNumbers
-
-
getFileStatForPathname: aPathname
-
| workSpace tempWorkSpace dict|
workSpace := PerforceSourceCodeManager getWorkSpaceForPackage:'applistx'.
tempWorkSpace := workSpace temporaryWorkSpace.
dict := tempWorkSpace getFileStatForPathname:'C:\Dokumente und Einstellungen\gds2180\Lokale Einstellungen\Temp\stx_tmp\st6120368\applistx\util\libDataType\ActionLQualifier.st'.
dict includesKey:'unresolved'
-
getOpenChangeFor: checkInDefinition
-
-
getTemporaryWorkspaceFor: checkInDefinition
-
create an temporary workspace for handle checkin
-
mergeOrResolveConflictsForChangeNumber: aNumber
-
check for conflicts
-
releaseWorkSpace
-
-
revisionLogOf: clsOrNil fromRevision: firstRev toRevision: lastRef numberOfRevisions: numRevisions fileName: classFileName directory: packageDir module: aPackage
-
actually do return a revisionLog. The main worker method.
-
setSymbolicName: symbolicNameArg revision: rev overWrite: overWriteBool pathes: pathsInRepository
-
set a symbolicName for revision rev.
If rev is nil, set it for the head (most recent) revision.
If rev is 0, delete the symbolic name.
If overWriteBool is true, the symbolicName will be changed, even if it has already been set.
If overWriteBool is false, an error will be raised if symbolicName has already been set.
If filename is nil, the symbolicName for a whole package is set.
If multiple paths are given, the revision MUST be nil.
Usage example(s):
self setSymbolicName:'stable' revision:nil overWrite:false path:'stx/libbasic/Array.st'
self setSymbolicName:'stable' revision:nil overWrite:true path:'stx/libbasic/Array.st'
self
setSymbolicName:'test1'
revision:nil
overWrite:true
path:'bosch/dapasx/datenbasis/DAPASX__HierarchicalList.st'
self
setSymbolicName:'test2'
revision:nil
overWrite:true
pathes:#( 'bosch/dapasx/datenbasis/DAPASX__HierarchicalList.st'
'bosch/dapasx/datenbasis/DAPASX__ProjectSearch.st' )
self
setSymbolicName:'test2'
revision:0
overWrite:true
pathes:#( 'bosch/dapasx/datenbasis/DAPASX__HierarchicalList.st'
'bosch/dapasx/datenbasis/DAPASX__ProjectSearch.st' )
|
-
streamFor: checkInDefinition revision: revision cache: doCache
-
extract a classes source code and return an open readStream on it.
A revision of nil selects the current (in image) revision.
The classes source code is extracted using the revision and the sourceCodeInfo,
which itself is extracted from the classes packageString.
-
submit
-
-
submitChangeNumber: changeNumber
-
basic administration
-
initialRevisionInfo: checkInDefinition
-
return a string usable as initial revision string
-
initialRevisionStringFor: checkInDefinition
-
return a string usable as initial revision string
Usage example(s):
self initialRevisionStringFor:RTDBInspectorStartup inModule:'applistx' directory:'util/rtdb' container:'RTDBInterfaceInspector.st'
|
-
nextRevisionStringFor: checkInDefinition
-
command execution
-
executePerforceCommand: perforceCommand inDirectory: dirArg inputFrom: inputStream outputTo: outputStream errorTo: errorStream
-
execute command and prepend perforce command name and global options.
execute command in the dirArg directory.
The doLog argument, if false suppresses a logEntry to be added
in the cvs log file (used when reading / extracting history)
-
executePerforceCommand: perforceCommand inDirectory: dirArg inputFrom: inputStream outputTo: outputStream errorTo: errorStream doLog: doLog
-
execute command and prepend perforce command name and global options.
execute command in the dirArg directory.
The doLog argument, if false suppresses a logEntry to be added
in the cvs log file (used when reading / extracting history)
-
executePerforceCommand: perforceCommand inDirectory: dirArg inputFrom: inputStream outputTo: outputStream errorTo: errorStream doLog: doLog logHeader: logHeader
-
execute command and prepend perforce command name and global options.
execute command in the dirArg directory.
The doLog argument, if false suppresses a logEntry to be added
in the cvs log file (used when reading / extracting history)
-
executePerforceCommand: perforceCommand inDirectory: dirArg inputFrom: inputStream outputTo: outputStream errorTo: errorStream logHeader: logHeader
-
execute command and prepend perforce command name and global options.
execute command in the dirArg directory.
The doLog argument, if false suppresses a logEntry to be added
in the cvs log file (used when reading / extracting history)
-
getCommandOptionsForCommand: perforceCommand
-
dialogs & helpers
-
checkinTroubleDialog: title message: message log: log abortable: abortable option: optionTitle
-
trouble checking in - open a dialog
-
checkinTroubleDialog: title message: message log: log abortable: abortable option: optionTitle option2: optionTitle2
-
-
checkinTroubleDialog: title message: message log: log abortable: abortable option: optionTitle option2: optionTitle2 option3: optionTitle3
-
trouble checking in - open a dialog
Usage example(s):
| changesAsLogged |
changesAsLogged := OrderedCollection new.
1 to:10 do:[:each|
changesAsLogged add:('Hallo', each printString).
].
changesAsLogged := OrderedCollection new.
self checkinTroubleDialog:'Version conflict'
message:'Message Message Message Message Message Message Message Message Message Message Message Message Message Message'
log:changesAsLogged
abortable:false
option:'show conflicts'
option2:'resolve conflicts'
|
-
diffTextComment
-
-
getRevisionForLabel: label depotPath: depotPath
-
-
messageForChangesInClass: class revision: revisionNumber
-
-
messageForConflictsInClass: definitionClass revision: revisionNumber
-
-
messageForNoChangesInClass: class
-
-
updatedRevisionStringOf: aClass forRevision: newRevision with: originalVersionString
-
update a revision string
Usage example(s):
self updatedRevisionStringOf:nil
forRevision:'6'
with:'$','Header','$'
|
initialization
-
initialize
-
(comment from inherited method)
just to ignore initialize to objects which do not need it
queries
-
getDepotPathForLocalPath: aFilename
-
-
getLocalPathForDepotPath: depotPath
-
| workSpace tempWorkSpace |
workSpace := PerforceSourceCodeManager getWorkSpaceForPackage:'applistx'.
tempWorkSpace := workSpace temporaryWorkSpace.
tempWorkSpace getLocalPathForDepotPath:'//depot/applistx/util/libDataType/ActionLQualifier.st'
-
getTemporaryFilenameFor: aFilename
-
-
getTemporaryViewForPackage: aPackage
-
-
getViewForDepotPath: depotPath
-
-
getViewForPackage: aPackage
-
PerforceSourceCodeManager perforceWorkspaces first value getViewForPackage:'applistx:application/rtdbInspector/builder'
-
getViewForPath: aPathName
-
-
hasViewForPackage: aPackage
-
-
hasViewForPath: aPathName
-
-
packageDirectoryForPackageId: package
-
PerforceSourceCodeManager perforceWorkspaces first value getViewForPackage:'applisddtx:application/rtdbInspector/builder'
-
packageDirectoryForPackageId: package checkParents: checkParents
-
PerforceSourceCodeManager perforceWorkspaces first value getViewForPackage:'applisddtx:application/rtdbInspector/builder'
-
perforceError
-
-
perforceSettingsString
-
-
readRevisionLogEntryFromStream: inStream
-
read and parse a single revision info-entry from the cvs log output.
Return nil on end.
The returned information is a structure (IdentityDictionary)
filled with:
#revision -> the revision string
#author -> who checked that revision into the repository
#date -> when was it checked in
#state -> the RCS state
#logMessage -> the checkIn log message
-
readRevisionLogEntryFromString: revLine1
-
read and parse a single revision info-entry from the cvs log output.
Return nil on end.
The returned information is a structure (IdentityDictionary)
filled with:
#revision -> the revision string
#author -> who checked that revision into the repository
#date -> when was it checked in
#state -> the RCS state
#logMessage -> the checkIn log message
-
temporaryClientName
-
read
-
getDefinitionFromServer
-
(PerforceSourceCodeManager getWorkSpaceForPackage:'applistx') getDefinitionFromServer
-
getWorkSpaceFromClientSpecFrom: inStream
-
get the workspace definition from perforce client command output
-
newWorkSpaceFor: settingsString
-
-
newWorkSpaceForSettings: settingsDict
-
View
|