From 34e9c21a6b8884bfce3f0306d489a2ab932de4da Mon Sep 17 00:00:00 2001 From: Gabriel Omar Cotelli Date: Tue, 9 Apr 2024 20:17:07 -0300 Subject: [PATCH 1/3] Fail loading step on undeclared warnings --- .smalltalkci/.loading.tools.ston | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.smalltalkci/.loading.tools.ston b/.smalltalkci/.loading.tools.ston index 47b6fca..8437338 100644 --- a/.smalltalkci/.loading.tools.ston +++ b/.smalltalkci/.loading.tools.ston @@ -4,7 +4,8 @@ SmalltalkCISpec { #baseline : 'Buoy', #directory : '../source', #load : [ 'Tools' ], - #platforms : [ #pharo ] + #platforms : [ #pharo ], + #failOn : [ #Warning ] } ], #testing : { From fb7bba06304b188e1bea8fe43e57b6fa2a3e446e Mon Sep 17 00:00:00 2001 From: Gabriel Omar Cotelli Date: Tue, 9 Apr 2024 20:18:34 -0300 Subject: [PATCH 2/3] Add warning handling --- .smalltalkci/.loading.dependent-sunit-extensions.ston | 3 ++- .smalltalkci/.loading.deployment.ston | 3 ++- .smalltalkci/.loading.development.ston | 3 ++- .smalltalkci/.loading.tests.ston | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.smalltalkci/.loading.dependent-sunit-extensions.ston b/.smalltalkci/.loading.dependent-sunit-extensions.ston index aa0c153..e411af3 100644 --- a/.smalltalkci/.loading.dependent-sunit-extensions.ston +++ b/.smalltalkci/.loading.dependent-sunit-extensions.ston @@ -4,7 +4,8 @@ SmalltalkCISpec { #baseline : 'Buoy', #directory : '../source', #load : [ 'Dependent-SUnit-Extensions' ], - #platforms : [ #pharo ] + #platforms : [ #pharo ], + #failOn : [ #Warning ] } ], #testing : { diff --git a/.smalltalkci/.loading.deployment.ston b/.smalltalkci/.loading.deployment.ston index 2e8727c..7676fa4 100644 --- a/.smalltalkci/.loading.deployment.ston +++ b/.smalltalkci/.loading.deployment.ston @@ -4,7 +4,8 @@ SmalltalkCISpec { #baseline : 'Buoy', #directory : '../source', #load : [ 'Deployment' ], - #platforms : [ #pharo ] + #platforms : [ #pharo ], + #failOn : [ #Warning ] } ], #testing : { diff --git a/.smalltalkci/.loading.development.ston b/.smalltalkci/.loading.development.ston index aa0a0e0..a2ffa05 100644 --- a/.smalltalkci/.loading.development.ston +++ b/.smalltalkci/.loading.development.ston @@ -4,7 +4,8 @@ SmalltalkCISpec { #baseline : 'Buoy', #directory : '../source', #load : [ 'Development' ], - #platforms : [ #pharo ] + #platforms : [ #pharo ], + #failOn : [ #Warning ] } ], #testing : { diff --git a/.smalltalkci/.loading.tests.ston b/.smalltalkci/.loading.tests.ston index b2382cd..df95180 100644 --- a/.smalltalkci/.loading.tests.ston +++ b/.smalltalkci/.loading.tests.ston @@ -4,7 +4,8 @@ SmalltalkCISpec { #baseline : 'Buoy', #directory : '../source', #load : [ 'Tests' ], - #platforms : [ #pharo ] + #platforms : [ #pharo ], + #failOn : [ #Warning ] } ], #testing : { From 9a499c665d8fef0b82395d9d297cc917806c046c Mon Sep 17 00:00:00 2001 From: Gabriel Omar Cotelli Date: Tue, 9 Apr 2024 20:24:01 -0300 Subject: [PATCH 3/3] Move extension to Pharo 12 package --- source/BaselineOfBuoy/BaselineOfBuoy.class.st | 9 ++++++++- .../TonelWriterV3.extension.st | 2 +- source/Buoy-Development-Tools-Pharo-12/package.st | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) rename source/{Buoy-Development-Tools => Buoy-Development-Tools-Pharo-12}/TonelWriterV3.extension.st (96%) create mode 100644 source/Buoy-Development-Tools-Pharo-12/package.st diff --git a/source/BaselineOfBuoy/BaselineOfBuoy.class.st b/source/BaselineOfBuoy/BaselineOfBuoy.class.st index f5ab283..9799fc5 100644 --- a/source/BaselineOfBuoy/BaselineOfBuoy.class.st +++ b/source/BaselineOfBuoy/BaselineOfBuoy.class.st @@ -30,7 +30,14 @@ BaselineOfBuoy >> baseline: spec [ group: 'CI' with: 'Tests'; group: 'Development' with: #('Tools' 'Tests'); group: 'default' with: 'Development' - ] + ]. + spec for: #'pharo12.x' do: [ + spec + package: 'Buoy-Development-Tools-Pharo-12' + with: [ spec requires: 'Buoy-Development-Tools' ]; + group: 'Tools' with: 'Buoy-Development-Tools-Pharo-12' + ] + ] { #category : #baselines } diff --git a/source/Buoy-Development-Tools/TonelWriterV3.extension.st b/source/Buoy-Development-Tools-Pharo-12/TonelWriterV3.extension.st similarity index 96% rename from source/Buoy-Development-Tools/TonelWriterV3.extension.st rename to source/Buoy-Development-Tools-Pharo-12/TonelWriterV3.extension.st index 7ffdee7..777ada5 100644 --- a/source/Buoy-Development-Tools/TonelWriterV3.extension.st +++ b/source/Buoy-Development-Tools-Pharo-12/TonelWriterV3.extension.st @@ -1,6 +1,6 @@ Extension { #name : 'TonelWriterV3' } -{ #category : '*Buoy-Development-Tools' } +{ #category : '*Buoy-Development-Tools-Pharo-12' } TonelWriterV3 >> typeClassDefinitionOf: aClassDefinition [ | definition | diff --git a/source/Buoy-Development-Tools-Pharo-12/package.st b/source/Buoy-Development-Tools-Pharo-12/package.st new file mode 100644 index 0000000..6dae745 --- /dev/null +++ b/source/Buoy-Development-Tools-Pharo-12/package.st @@ -0,0 +1 @@ +Package { #name : 'Buoy-Development-Tools-Pharo-12' }