eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'VersionInfo':

Home

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

Class: VersionInfo


Inheritance:

   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)

Description:


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.


Instance protocol:

accessing
o  at: aSymbolKey
backward compatible dictionary-like accessing

usage example(s):

     self new at:#binaryRevision
     self new at:#foo

o  at: aSymbolKey ifAbsent: replacement
backward compatible dictionary-like accessing

usage example(s):

     self new at:#binaryRevision
     self new at:#foo ifAbsent:#bar

o  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

o  author

o  author: aString

o  binaryRevision

o  binaryRevision: aString

o  changedLinesInfo

o  date

o  date: something

o  fileName

o  fileName: aString

o  keysAndValuesDo: aBlock

o  logMessage

o  logMessage: aString

o  loggedReason
Answer the reason for the change extracted from the log message
or empty string if unknown.

o  majorVersion
Array revisionInfo majorVersion

o  minorVersion
Array revisionInfo minorVersion

o  repositoryPathName
raise an error: must be redefined in concrete subclass(es)

o  revision

o  revision: aString

o  state

o  state: something

o  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.

o  time

o  time: something

o  timeStamp: aTimestamp

o  timestamp

o  timestamp: aTimestamp

o  timezone
Not known

o  user

o  user: aString



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Wed, 10 Aug 2022 11:09:49 GMT