|
Class: VersionInfo
Object
|
+--VersionInfo
|
+--CVSSourceCodeManager::CVSVersionInfo
|
+--DataBaseSourceCodeManager::DBVersionInfo
|
+--PerforceSourceCodeManager::PerforceVersionInfo
- Package:
- stx:libbasic3
- Category:
- System-SourceCodeManagement
- Version:
- rev:
1.19
date: 2021/04/30 17:26:04
- user: stefan
- file: VersionInfo.st directory: libbasic3
- module: stx stc-classLibrary: libbasic3
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.
copyrightCOPYRIGHT (c) 2008 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
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
-
|