[squeak-dev] automated checking for new versions of a package in order to trigger a build cycle
tim at rowledge.org
Fri Nov 6 01:31:51 UTC 2020
Well it looks like one can do this without too much pain; always nice.
Once you have a config map saved in the repository it is possible to find the version number with sometihng like
| myRepo |
myRepo := MCHttpRepository
^(myRepo highestNumberedVersionNameForPackageNamed: configNameString) versionNumber
Keep track of the highest known value and compare to decide on whether to build.
This way you get a build if the map is updated, which actually solves the potential problem of several packages needing to be saved in a group.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Oxymorons: Advanced BASIC
More information about the Squeak-dev