eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'PerforceSourceCodeManager::PerforceVersionInfo':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: PerforceVersionInfo (private in PerforceSourceCodeManager

This class is only visible from within PerforceSourceCodeManager.

Inheritance:

   Object
   |
   +--VersionInfo
      |
      +--PerforceSourceCodeManager::PerforceVersionInfo

Package:
stx:libbasic3
Category:
System-SourceCodeManagement
Owner:
PerforceSourceCodeManager
Author:
cg (cg@AQUA-DUO)

Description:


In ancient times, Class used to return a Dictionary when asked for versionInfo.
This has been replaced by instances of VersionInfo and subclasses.

PerforceVersionInfo adds some P4 specific data.


Class protocol:

instance creation
o  fromRCSString: aString
cg: I guess this was copy-pasted and then not renamed, as it should.
Also the comments are still referring th CVS.
As this is a customer-provided method, and I don't know about any
consequences, I'll not fix and rename the method

Usage example(s):

     | versionInfo s|
     versionInfo := PerforceVersionInfo fromRepositoryPathName:'//depot/applistx/util/rtdb/RTDBInterfaceInspector.st'.
     versionInfo revision:26.
     versionInfo user:'penk'.
     s := CharacterWriteStream on:(String basicNew:40).    
     Date today printOn:s format:'%d-%m-%y' language:nil.
     versionInfo date:s contents.
     s := CharacterWriteStream on:(String basicNew:40).    
     Timestamp now printOn:s format:'%h-%m-%s.%i'.
     versionInfo time:s contents.
     PerforceVersionInfo fromRCSString:versionInfo getVersionString.
     PerforceVersionInfo fromRCSString:'$Header: /cvs/stx/stx/libbasic3/PerforceSourceCodeManager.st,v 1.50 2021/01/20 15:24:00 cg Exp $'

o  fromRepositoryPathName: something


Instance protocol:

accessing
o  repositoryPathName

o  repositoryPathName: something

o  revisionNumber

o  state

o  timeZone

o  timezone
(comment from inherited method)
Not known

queries
o  getVersionString

o  getVersionString_ownVersion



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:30:33 GMT