2016-02-22 17:26:54 +00:00
"
I manage the installation of Grafoscopio . Grafoscopio is a tool for interative notebooks / documentation and data visualization .
For more details about this project , look for the
Grafoscopio package in the system browser or at: h t t p : / / mutabit . com / grafoscopio / index . en . html
"
Class {
#name : # ConfigurationOfGrafoscopio ,
#superclass : # Object ,
#instVars : [
'project'
],
#classVars : [
'LastVersionLoad'
],
#category : # ConfigurationOfGrafoscopio
}
{ #category : # ' development support ' }
ConfigurationOfGrafoscopio class >> DevelopmentSupport [
"See the methods in the 'development support' category on the class-side of MetacelloBaseConfiguration. Decide what development support methods you would like to use and copy them the the class-side of your configuration."
< apiDocumentation >
]
{ #category : # private }
ConfigurationOfGrafoscopio class >> baseConfigurationClassIfAbsent: aBlock [
^ Smalltalk
a t : #MetacelloBaseConfiguration
i f A b s e n t : [
self ensureMetacelloBaseConfiguration .
Smalltalk at: #MetacelloBaseConfiguration ifAbsent: aBlock ].
]
{ #category : # catalog }
ConfigurationOfGrafoscopio class >> catalogContactInfo [
2016-02-26 13:00:10 +00:00
^ 'mail: info@mutabit.com | web: http://mutabit.com/grafoscopio/'
2016-02-22 17:26:54 +00:00
]
{ #category : # catalog }
ConfigurationOfGrafoscopio class >> catalogDescription [
^ ' Grafoscopio is a tool to create interactive notebooks and documentation for computer narratives and data visualization .
They are structured as outlines / trees containing textual and code nodes that can be exported to several formats: LaTeX , HTML
and pdf (via pandoc ).
It can be used in several endeavors like: reproductible open research and science , data journalism , data activism among others '
]
{ #category : # catalog }
ConfigurationOfGrafoscopio class >> catalogKeywords [
2016-02-26 13:00:10 +00:00
^ #( # 'data-activism' # 'data-journalism' # 'data-science' # 'data-visualization' documentation # 'interactive-notebook' 'markup' 'markdown' # 'open-data' # 'open-research' # 'open-science' # 'reproducible-research' )
2016-02-22 17:26:54 +00:00
]
{ #category : # private }
ConfigurationOfGrafoscopio class >> ensureMetacello [
(self baseConfigurationClassIfAbsent: []) ensureMetacello
]
{ #category : # private }
ConfigurationOfGrafoscopio class >> ensureMetacelloBaseConfiguration [
Smalltalk
a t : #MetacelloBaseConfiguration
i f A b s e n t : [
| repository version |
repository := MCHttpRepository location: 'http://seaside.gemstone.com/ss/metacello' user: '' password: '' .
repository
v e r s i o n R e a d e r F o r F i l e N a m e d : 'Metacello-Base-DaleHenrichs.2.mcz'
d o : [ : reader |
version := reader version .
version load .
version workingCopy repositoryGroup addRepository: repository ] ]
]
{ #category : # ' metacello tool support ' }
ConfigurationOfGrafoscopio class >> isMetacelloConfig [
"Answer true and the Metacello tools will operate on you"
^ true
]
{ #category : # loading }
ConfigurationOfGrafoscopio class >> load [
"Load the #stable version defined for this platform. The #stable version is the version that is recommended to be used on this platform."
"self load"
< apiDocumentation >
^ (self project version: #stable ) load
]
{ #category : # loading }
ConfigurationOfGrafoscopio class >> loadBleedingEdge [
"Load the latest versions of the mcz files defined for this project. It is not likely that the #bleedingEdge has been tested."
"self loadBleedingEdge"
< apiDocumentation >
^ (self project version: #bleedingEdge ) load
]
{ #category : # loading }
ConfigurationOfGrafoscopio class >> loadDevelopment [
"Load the #development version defined for this platform. The #development version will change over time and is not expected to be stable."
"self loadDevelopment"
< apiDocumentation >
^ (self project version: #development ) load
]
{ #category : # accessing }
ConfigurationOfGrafoscopio class >> project [
^ self new project
]
{ #category : # ' development support ' }
ConfigurationOfGrafoscopio class >> validate [
" Check the configuration for Errors , Critical Warnings , and Warnings (see class comment for MetacelloMCVersionValidator for more information ).
Errors identify specification issues that will result in unexpected behaviour when you load the configuration .
Critical Warnings identify specification issues that may result in unexpected behavior when you load the configuration .
Warnings identify specification issues that are technically correct , but are worth take a look at . "
"self validate"
< apiDocumentation >
self ensureMetacello .
^ ((Smalltalk at: #MetacelloToolBox ) validateConfiguration: self debug: #( ) recurse: false ) explore
]
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline01: spec [
<version: '0.1-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/mc/Offray/Grafoscopio/main/' .
spec project: 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : # 'stable' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( #Grafoscopio ) . ].
]
2016-02-26 13:00:10 +00:00
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline02: spec [
<version: '0.2-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/mc/Offray/Grafoscopio/main/' .
spec project: 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : # 'stable' ;
r e p o s i t o r y : 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main/' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( #Grafoscopio ) . ].
]
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline03: spec [
<version: '0.3-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo50/main/' .
spec project: 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : # 'stable' ;
r e p o s i t o r y : 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main/' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( #Grafoscopio ) . ].
]
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline04: spec [
<version: '0.4-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main/' .
spec project: 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : '0.14' ;
r e p o s i t o r y : 'http://smalltalkhub.com/mc/Pharo/MetaRepoForPharo40/main/' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( ) . ].
]
2016-09-20 17:46:57 +00:00
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline05: spec [
<version: '0.5-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/Offray/Grafoscopio' .
spec project: 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : '0.14' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( ) . ].
2016-02-26 13:00:10 +00:00
]
2016-09-20 17:46:57 +00:00
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline06: spec [
<version: '0.6-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/Offray/Grafoscopio' .
spec project: 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : # 'stable' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( ) . ].
2016-02-26 13:00:10 +00:00
]
2016-09-20 17:46:57 +00:00
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline07: spec [
<version: '0.7-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/Offray/Grafoscopio' .
spec
p r o j e c t : 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : # 'stable' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ];
p r o j e c t : 'Roassal2' with: [
spec
c l a s s N a m e : #ConfigurationOfRoassal2 ;
v e r s i o n S t r i n g : # 'stable' ;
r e p o s i t o r y : 'http://smalltalkhub.com/mc/ObjectProfile/Roassal2/main/' ].
spec package: #Grafoscopio .
spec group: 'Core' with: #( ) . ].
2016-02-26 13:00:10 +00:00
]
2016-09-20 17:46:57 +00:00
{ #category : # baselines }
ConfigurationOfGrafoscopio >> baseline1_0: spec [
<version: '1.0-baseline'>
spec for: # 'common' do: [
spec blessing: # 'baseline' .
spec repository: 'http://smalltalkhub.com/Offray/Grafoscopio' .
spec
p r o j e c t : 'Ston' with: [
spec
c l a s s N a m e : #ConfigurationOfSton ;
v e r s i o n S t r i n g : # 'bleedingEdge' ;
r e p o s i t o r y : 'http://ss3.gemstone.com/ss/STON' ];
p r o j e c t : 'Roassal2' with: [
spec
c l a s s N a m e : #ConfigurationOfRoassal2 ;
v e r s i o n S t r i n g : # 'bleedingEdge' ;
r e p o s i t o r y : 'http://smalltalkhub.com/mc/ObjectProfile/Roassal2/main/' ];
p a c k a g e : 'Spec-Glamour' with: [
spec repository: 'http://smalltalkhub.com/mc/jfabry/Playground/main/' ];
p r o j e c t : 'Dataviz' with: [
spec
c l a s s N a m e : #ConfigurationOfDataviz ;
v e r s i o n S t r i n g : # 'bleedingEdge' ;
r e p o s i t o r y : 'http://smalltalkhub.com/mc/Offray/Dataviz/main/' ].
spec package: #Grafoscopio with: [
spec
r e q u i r e s : 'Ston' ;
r e q u i r e s : 'Spec-Glamour' ].
spec
g r o u p : 'Core' with: #( 'Grafoscopio' 'Roassal2' ) ;
g r o u p : 'Extended' with: #( 'Core' 'Dataviz' ) ].
2016-02-26 13:00:10 +00:00
]
2016-02-22 17:26:54 +00:00
{ #category : # accessing }
ConfigurationOfGrafoscopio >> customProjectAttributes [
" Edit to return a collection of any custom attributes e . g . for conditional loading: Array with: # 'Condition1' with: # ' Condition2 .
For more information see: h t t p : / / code . google . com / p / metacello / wiki / CustomProjectAttrributes "
^ #( ) .
]
{ #category : # ' symbolic versions ' }
ConfigurationOfGrafoscopio >> development: spec [
<symbolicVersion: #'development'>
2016-09-20 17:46:57 +00:00
spec for: # 'common' version: '0.7-baseline' .
2016-02-26 13:00:10 +00:00
]
2016-02-22 17:26:54 +00:00
2016-02-26 13:00:10 +00:00
{ #category : # ' as yet unclassified ' }
ConfigurationOfGrafoscopio >> postLoadForGrafoscopio [
GrafoscopioBrowser startDockingBar
2016-02-22 17:26:54 +00:00
]
{ #category : # accessing }
ConfigurationOfGrafoscopio >> project [
^ project ifNil: [
"Bootstrap Metacello if it is not already loaded"
(self class baseConfigurationClassIfAbsent: []) ensureMetacello .
"Construct Metacello project"
project := MetacelloMCProject new projectAttributes: self customProjectAttributes .
(Smalltalk at: #MetacelloVersionConstructor ) on: self project: project .
project loadType: #linear . "change to #atomic if desired"
project ]
]
2016-02-22 17:45:53 +00:00
{ #category : # ' symbolic versions ' }
ConfigurationOfGrafoscopio >> stable: spec [
<symbolicVersion: #'stable'>
2016-09-20 17:46:57 +00:00
spec for: # 'common' version: '1.1' .
2016-02-22 17:45:53 +00:00
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version01: spec [
<version: '0.1' imports: #('0.1-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.1' .
spec author: 'OffrayLuna' .
spec timestamp: '2/22/2016 17:43' .
spec project: 'Ston' with: '0.14' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.146' . ].
]
2016-02-26 13:00:10 +00:00
{ #category : # versions }
ConfigurationOfGrafoscopio >> version02: spec [
<version: '0.2' imports: #('0.2-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.2' .
spec author: 'OffrayLuna' .
spec timestamp: '2/22/2016 21:58' .
spec project: 'Ston' with: '0.14' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.146' . ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version03: spec [
<version: '0.3' imports: #('0.2-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.3' .
spec author: 'OffrayLuna' .
spec timestamp: '2/22/2016 22:43' .
spec project: 'Ston' with: '0.14' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.146' . ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version04: spec [
<version: '0.4' imports: #('0.3-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.4' .
spec author: 'OffrayLuna' .
spec timestamp: '2/23/2016 15:29' .
spec project: 'Ston' with: '0.14' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.146' . ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version05: spec [
<version: '0.5' imports: #('0.4-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.5' .
spec author: 'OffrayLuna' .
spec timestamp: '2/25/2016 11:43' .
spec project: 'Ston' with: '0.14' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.152' .
spec package: #Grafoscopio with: [ spec postLoadDoIt: #postLoadForGrafoscopio ] ].
]
2016-09-20 17:46:57 +00:00
{ #category : # versions }
ConfigurationOfGrafoscopio >> version06: spec [
<version: '0.6' imports: #('0.5-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.6' .
spec author: 'OffrayLuna' .
spec timestamp: '3/2/2016 18:47' .
spec project: 'Ston' with: '0.14' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.154' .
spec package: #Grafoscopio with: [ spec postLoadDoIt: #postLoadForGrafoscopio ] ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version07: spec [
<version: '0.7' imports: #('0.6-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'development' .
spec description: 'version 0.7' .
spec author: 'OffrayLuna' .
spec timestamp: '2016-04-10T11:32:35.169293-05:00' .
spec project: 'Ston' with: # 'stable' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.174' .
spec package: #Grafoscopio with: [ spec postLoadDoIt: #postLoadForGrafoscopio ] ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version08: spec [
<version: '0.8' imports: #('0.7-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.8' .
spec author: 'OffrayLuna' .
spec timestamp: '5/18/2016 17:51' .
spec
p r o j e c t : 'Ston' with: '0.17' ;
p r o j e c t : 'Roassal2' with: '1.23' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.183' . ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version09: spec [
<version: '0.9' imports: #('0.7-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 0.9' .
spec author: 'OffrayLuna' .
spec timestamp: '5/18/2016 17:56' .
spec
p r o j e c t : 'Ston' with: '0.17' ;
p r o j e c t : 'Roassal2' with: '1.23' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.184' . ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version11: spec [
<version: '1.1' imports: #('0.7-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'New GUI with Spec-Glamor bridge integration.' .
spec author: 'OffrayLuna' .
spec timestamp: '9/20/2016 17:46' .
spec
p r o j e c t : 'Ston' with: '0.19' ;
p r o j e c t : 'Roassal2' with: '1.35' .
spec package: #Grafoscopio with: 'Grafoscopio-OffrayLuna.215' . ].
]
{ #category : # versions }
ConfigurationOfGrafoscopio >> version1_0: spec [
<version: '1.0' imports: #('1.0-baseline' )>
spec for: # 'common' do: [
spec blessing: # 'stable' .
spec description: 'version 1.o' .
spec author: 'OffrayLuna' .
spec timestamp: '5/26/2016 17:56' .
spec
p r o j e c t : 'Ston' with: '0.17' ;
p r o j e c t : 'Roassal2' with: '1.23' ;
p r o j e c t : 'Dataviz' with: '1.0' .
spec
p a c k a g e : #Grafoscopio with: 'Grafoscopio-OffrayLuna.188' ;
p a c k a g e : 'Spec-Glamour' with: 'Spec-Glamour-johanfabry.2' ].
]