Repository navigation
build: drop unused sbt-github-packages plugin - #747
Conversation
yshyn-iohk
left a comment
There was a problem hiding this comment.
Reviewed c61c089 against a505bd1. The complete change removes the conditional sbt-github-packages plugin from project/plugins.sbt. I checked the build configuration, remaining plugins, CI and Docker release workflow: there are no GitHub Packages publishing settings depending on it, and Docker publishing still uses native-packager. No runtime, public API, authentication or data-model change is introduced.
Observed CI for this revision: all 13 checks passed, including CI, integration tests, dependency-review, CodeQL, SonarCloud, lint, DCO and PR-title validation. CI logs show 33 unit tests passing; the integration report shows 17 tests across 20 runs, with no failures. CI sets GITHUB_TOKEN, exercising the configuration that previously loaded this plugin. I inspected CI results, not local test execution. No unresolved review objections found.
This removes one sbt 2 migration blocker; it does not establish that #743 or the remaining plugin upgrades are compatible.
`project/plugins.sbt` conditionally adds `com.codecommit:sbt-github-packages` whenever `GITHUB_TOKEN` is set, which is true in CI. Nothing in the build uses it: there are no `githubPackages*` settings and no `publishTo` pointing at GitHub Packages anywhere in the repo, and no documentation mentions it. Its only observable effect is to be resolved on every build, and since sbt-github-packages has no `_sbt2_3` artifact (last release 0.5.3, 2021) it is one of the plugins that stops the sbt 2 upgrade in #743. Signed-off-by: Pat Losoponkul <patextreme@hotmail.com>
c61c089 to
f5185da
Compare
|



project/plugins.sbtaddscom.codecommit:sbt-github-packages:0.5.3wheneverGITHUB_TOKENis set:CI always sets
GITHUB_TOKEN, so the plugin is resolved on every build — but nothing uses it. Verified:githubPackages*settings anywhere inbuild.sbtorproject/*.scalapublishTopointing at GitHub Packages (the onlypublish / skiplines are for non-published modules)It is also one of the plugins blocking the sbt 2 upgrade in #743:
sbt-github-packageshas no_sbt2_3artifact (last release 0.5.3, 2021), sosbt 2.0.12dies at plugin resolution withVerification
CI here is the check: it runs with
GITHUB_TOKENset, so it exercises exactly the branch that previously added the plugin. If the removal were wrong, the build would fail on a missinggithubPackagesPublishor similar — nothing references it, so it should be a no-op apart from one fewer plugin to resolve.This removes one of six sbt 2 blockers. The others (
sbt-converter,sbt-web-scalajs-bundler,sbt-jsdependencies,sbt-coveralls,sbt-revolver) still have no sbt 2 artifacts.