I am bringing my Reddit example back up to date 
(https://medium.com/concerning-pharo/reddit-st-in-10-cool-pharo-classes-1b5327ca0740)
 for an upcoming Pharo Booklet.

I used to depend on and load Glorp+PostgreSQL in my Configuration as follows:

spec project: 'Glorp' with: [
  spec
    className: 'ConfigurationOfGlorp';
    versionString: #stable;
    repository: 'http://www.smalltalkhub.com/mc/DBXTalk/Configurations/main' ].

spec project: 'PostgresV2' with: [
  spec
    className: 'ConfigurationOfPostgresV2';
    versionString: #bleedingEdge;
    repository: 'http://www.smalltalkhub.com/mc/PharoExtras/PostgresV2/main' ].

spec 
  package: 'GlorpDriverPostgreSQL' 
  with: [ 
    spec 
      repository: 'http://www.smalltalkhub.com/mc/PharoExtras/PostgresV2/main';
      postLoadDoIt: #postLoadGlorpPostgresNativeDriverDBXTalkPharo;
      requires: #( 'Glorp' 'PostgresV2' ) ].

This works fine in Pharo 6 now.

My first question is, is this the 'correct' way of loading Glorp+PostgreSQL ? 
Do I get the latest, maintained code this way ?

My second question is, why is #stable not available for Pharo 6 for PostgresV2, 
what should be done to fix this and could someone add it ?

Thx,

Sven


Reply via email to