apache / apache/pekko-grpc

reproducible builds: pekko-grpc-sbt-plugin pom extraDependencyAttributes

Open
#787 2 comments 0 reactions 1 assignee Claimed by @raboof View on GitHub
Dominant language
Scala
Stars
55
Forks
30
Avg merge
23h 12m
Merged PRs (30d)
34

Description

Checking for reproducible builds, we found a difference in the pom for pekko-grpc-sbt-plugin, notably in the `extraDependencyAttributes` property

```
+organisation:#@#:+com.thesamet:#@#:+branch:#@#:+@#:NULL:#@:#@#:+e:sbtVersion:#@#:+1.0:#@#:+module:#@#:+sbt-protoc_2.12_1.0:#@#:+revision:#@#:+1.1.0-RC2:#@#:+e:scalaVersion:#@#:+2.12:#@#:
+organisation:#@#:+com.github.sbt:#@#:+branch:#@#:+@#:NULL:#@:#@#:+e:sbtVersion:#@#:+1.0:#@#:+module:#@#:+sbt2-compat_2.12_1.0:#@#:+revision:#@#:+0.1.0:#@#:+e:scalaVersion:#@#:+2.12:#@#:
```
vs
```
+e:sbtVersion:#@#:+1.0:#@#:+module:#@#:+sbt-protoc_2.12_1.0:#@#:+e:scalaVersion:#@#:+2.12:#@#:+organisation:#@#:+com.thesamet:#@#:+branch:#@#:+@#:NULL:#@:#@#:+revision:#@#:+1.1.0-RC2:#@#:
+e:sbtVersion:#@#:+1.0:#@#:+module:#@#:+sbt2-compat_2.12_1.0:#@#:+e:scalaVersion:#@#:+2.12:#@#:+organisation:#@#:+com.github.sbt:#@#:+branch:#@#:+@#:NULL:#@:#@#:+revision:#@#:+0.1.0:#@#:
```

This attribute is added by sbt, and it seems the ordering is not stable. We should further diagnose this and ideally fix it upstream in sbt, otherwise in post-processing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.