|
Class: VersionInfo
Object
|
+--VersionInfo
|
+--CVSSourceCodeManager::CVSVersionInfo
|
+--DataBaseSourceCodeManager::DBVersionInfo
|
+--PerforceSourceCodeManager::PerforceVersionInfo
- Package:
- stx:libbasic3
- Category:
- System-SourceCodeManagement
- Version:
- rev:
1.17
date: 2019/05/12 11:22:30
- user: cg
- file: VersionInfo.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
- Author:
- cg (cg@AQUA-DUO)
In ancient times, Class used to return a Dictionary when asked for versionInfo.
This has been replaced by instances of this class and subclasses.
Notice, that subclasses may add more info for specific source repositories
(CVSVersionInfo, MonticelloVersionInfo etc.).
However, any generic tools/ui should only depend on the values (and getters) found here.
accessing
-
at: aSymbolKey
-
backward compatible dictionary-like accessing
usage example(s):
self new at:#binaryRevision
self new at:#foo
|
-
at: aSymbolKey ifAbsent: replacement
-
backward compatible dictionary-like accessing
usage example(s):
self new at:#binaryRevision
self new at:#foo ifAbsent:#bar
|
-
at: aSymbolKey put: value
-
backward compatible dictionary-like accessing
usage example(s):
self new at:#binaryRevision put:#bar
self new at:#foo put:#bar; yourself
|
-
author
-
-
author: aString
-
-
binaryRevision
-
-
binaryRevision: aString
-
-
changedLinesInfo
-
-
date
-
-
date: something
-
-
fileName
-
-
fileName: aString
-
-
keysAndValuesDo: aBlock
-
-
logMessage
-
-
logMessage: aString
-
-
loggedReason
-
Answer the reason for the change extracted from the log message
or empty string if unknown.
-
majorVersion
-
Array revisionInfo majorVersion
-
minorVersion
-
Array revisionInfo minorVersion
-
repositoryPathName
-
raise an error: must be redefined in concrete subclass(es)
-
revision
-
-
revision: aString
-
-
state
-
-
state: something
-
-
symbolicVersionName
-
iff that source code manager uses cryptic names for versions,
(eg. dbManager, git and hg managers), we may add an additional symbolic
version name, which is used for human readers (and not required to be unique).
Usually something like x.y-nn, where nn is the user name is returned there.
Here, we return the revision proper, which is ok for cvs, svn and others with a
user-friendly version number.
-
time
-
-
time: something
-
-
timeStamp: aTimestamp
-
-
timestamp
-
-
timestamp: aTimestamp
-
-
timezone
-
Not known
-
user
-
-
user: aString
-
|