Hey SAS-C,
Just FYI.
Bart
SAS Packages Framework, version 20260202
Available as usual at: https://github.com/yabwon/SAS_PACKAGES
The idea for this update was suggested to me by Magnus Mengelbier (guthub: mmengelbier). Thanks Magnus!
Changes and modifications:
A) If the hash= parameter is not provided the %verifyPackage() macro prints SHA256, SHA1, and MD5 check-sums for the package to the log now. If you need hashes as additional information in the log (e.g., for auditing purpose) you can now easily get them.
B) Small aesthetic fix in the %unbundlePackages() macro.
C) A bunch of general code simplifications.
D) Documentation updated.
E) Packages regenerated with the latest version of the framework:
- BasePlus, SHA256 for the package:
F*B762F900EEFF7035880891D89416C0F973E4D377BCB75486283363A9BDADBA82
- DFA, SHA256 for the package:
F*17C88537F5FA9BCFAA1AC4803D0F1EF47665C8446A44C82B5558A08315DF0C49
Examples
Example 1. With updates from the previous release printing audit information (including check-sums) for a package is now a piece of cake. Let's do it for the MacroArray package:
%let packageName=MacroArray; /* macrovariable for convenience */
%loadPackage(&packageName.)
%helpPackage(&packageName.)
%put Audit metadata for the: &packageName. package: ;
%put Authors: %&packageName.Meta(A);
%put Version: %&packageName.Meta(V);
%put Generation datetime: %&packageName.Meta(D);
%put Maintainers: %&packageName.Meta(M);
%put Required packages list: %&packageName.Meta(P);
%put Required SAS components list: %&packageName.Meta(S);
/* check-sums */
%verifyPackage(&packageName.)