sasjs / server

Build Apps on Base SAS
https://server.sasjs.io
MIT License
20 stars 3 forks source link

sasjscore -> sasautos #318

Closed allanbowe closed 1 year ago

allanbowe commented 1 year ago

It seems there may have been an issue during the delivery of this feature: https://github.com/sasjs/server/issues/292

The sasjs_root/sasjscore folder should have moved to sasjs_root/sas/sasautos -> however it still exists in the deployed version

Also, it seems the versions of the macros in each location are different

Expected:

In addition it would be great to add the following file to the sasjs_root/sas/sasautos directory (called webout.sas):

%macro webout(action,ds,dslabel=,fmt=,missing=NULL,showmeta=NO,maxobs=MAX);
    %ms_webout(&action,ds=&ds,dslabel=&dslabel,fmt=&fmt
      ,missing=&missing
      ,showmeta=&showmeta
      ,maxobs=&maxobs
    )  
%mend;
allanbowe commented 1 year ago

On investigation it seems the sasjs_root/sasjscore library is likely a leftover from a previous installation.

The new structure (since https://github.com/sasjs/server/issues/310 was merged) is to have sasjs_root/drive/sasjsautos - which allows multiple instances to share the same sasautos directory.

So the fix is to simply use the latest version and manually clear up the old folders.

In the meantime we'll add the SASjs version of the webout() macro to the sasautos folder as part of the SASjs server build.

sasjsbot commented 1 year ago

:tada: This issue has been resolved in version 0.27.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: