Example of parsing a Releaser log for Glamorous Toolkit

This page shows an example of parsing a Releaser log created when releasing Glamorous Toolkit.

The example log is a text file on disk that contains a list of beacon signals, one per line.

logFile := FileLocator gtResource
	/ 'feenkcom/gtoolkit/doc/releaser'
	/ 'releaser-log-example.txt'.
  

We can use GtRlReleaserSignalsLogReader Object subclass: #GtRlReleaserSignalsLogReader instanceVariableNames: 'signalTypeIndicator' classVariableNames: '' package: 'GToolkit-Releaser-Logging-Analysis' to parse the log and inspect the result.

eventsGrouper := GtRlReleaserSignalsLogReader readFromFile:  logFile
  

This returns an object of type GtRlReleaserEventsGrouper GtBeaconEventsGrouper subclass: #GtRlReleaserEventsGrouper instanceVariableNames: '' classVariableNames: '' package: 'GToolkit-Releaser-Logging-Analysis' that contains information about what actions were executed during the release.