From 3a69f727968cdc7ca55b8795e845fbe3333f7deb Mon Sep 17 00:00:00 2001 From: Alistair Grant Date: Tue, 19 Oct 2021 11:33:51 +0200 Subject: [PATCH] BaselineOfZincHTTPComponentsCore: force packages that are part of `pharo-project` to be reloaded. --- .../instance/baseline..st | 1 + .../instance/postLoadCore..st | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/postLoadCore..st diff --git a/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/baseline..st b/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/baseline..st index 57fbffde..90670120 100644 --- a/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/baseline..st +++ b/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/baseline..st @@ -2,6 +2,7 @@ baseline baseline: spec spec for: #common do: [ + spec postLoadDoIt: #postLoadCore:. spec baseline: 'ZodiacCore' with: [ spec repository: 'github://feenkcom/zodiac/repository' ]. diff --git a/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/postLoadCore..st b/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/postLoadCore..st new file mode 100644 index 00000000..0bf0c1fc --- /dev/null +++ b/repository/BaselineOfZincHTTPComponentsCore.package/BaselineOfZincHTTPComponentsCore.class/instance/postLoadCore..st @@ -0,0 +1,9 @@ +private +postLoadCore: spec + "Packages that are part of `pharo-project/pharo`, e.g. `Zinc-HTTP` won't be updated to reflect this repository. + Force the packages to be reloaded." + | repository head | + + repository := IceRepository registry detect: [ :each | each name = 'zinc' ]. + head := repository head description. + repository checkoutBranch: head. \ No newline at end of file