Skip to content

Commit

Permalink
Merge pull request #33 from zweidenker/remove-iceberg-dependency
Browse files Browse the repository at this point in the history
Remove iceberg dependency
  • Loading branch information
stonesong authored Jan 24, 2020
2 parents ae9e701 + d2c4bcf commit 735089b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 11 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ARG CACHEBUST=1
RUN \
/opt/pharo /opt/SnapDump.image eval --save "Metacello new repository: 'filetree:///opt/source'; baseline: #SnapDump; load: #('server')" && \
/opt/pharo /opt/SnapDump.image eval --save "SnapDump prepareForDeployment" && \
/opt/pharo /opt/SnapDump.image eval --save "SDServer version: '$DOCKER_TAG'" && \
rm -rf /opt/pharo-local

RUN \
Expand Down
9 changes: 1 addition & 8 deletions source/SnapDump-Server/SDServer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ SDServer class >> port: aNumber path: aFileReference [
yourself
]

{ #category : #accessing }
SDServer class >> repositoryDescription [
| snapDumpRepo |
snapDumpRepo := IceRepository registry detect: [ :each | each name = 'SnapDump' ].
^ snapDumpRepo head description
]

{ #category : #'as yet unclassified' }
SDServer class >> startOnPort: aNumber path: aFileReference [
^ self instance
Expand All @@ -51,7 +44,7 @@ SDServer class >> stop [

{ #category : #accessing }
SDServer class >> version [
^ version
^ version ifNil: [ 'None' ]
]

{ #category : #accessing }
Expand Down
2 changes: 1 addition & 1 deletion source/SnapDump-Server/SDServerDelegate.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ SDServerDelegate >> serverError: request exception: exception [

[ self store storeSnapshot: (exception asSnapshot
projectName: 'SnapDump';
versionString: (SDServer version ifNil: [ 'None' ]);
versionString: SDServer version;
yourself ) ]
on: Error do: [ :err | "nothing we can do here" ] .
^ super serverError: request exception: exception
Expand Down
2 changes: 1 addition & 1 deletion source/SnapDump-Server/SDServerVersionCall.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ SDServerVersionCall class >> path [
SDServerVersionCall >> get [
response := ZnResponse ok: (
ZnEntity
with: SDServer repositoryDescription
with: SDServer version
type: ZnMimeType applicationJson setCharSetUTF8)
]
2 changes: 1 addition & 1 deletion source/SnapDump-Server/SnapDumpAPI.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SnapDumpAPI class >> rootCallClass [
SnapDumpAPI >> info [
^ OAInfo new
description: 'SnapDump API';
version: '0.7';
version: SDSnapshot apiVersion;
title: 'SnapDump API';
contact: (OAContact new
name: 'Norbert Hartl';
Expand Down

0 comments on commit 735089b

Please sign in to comment.