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.19 date: 2021/04/30 17:26:04
user: stefan
file: VersionInfo.st directory: libbasic3
module: stx stc-classLibrary: libbasic3

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.

copyright

COPYRIGHT (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.

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Fri, 03 May 2024 10:36:39 GMT