Hi Nicolas,

I guess the Akka/Pekko project was built up on a git repo and there
are features of the build that assume you are using a checked out git
repo.

Some but maybe not all these issues can be worked around when using
the source tgz by setting a version number in sbt.

The version number setting is documented in
https://github.com/apache/incubator-pekko-management#running-the-build

Example:
sbt "set ThisBuild / version := \"1.0.0-RC1\"; +publishM2"

When you have a git checkout, the version number used by default in
sbt is based on the last git tag. When you don't have a git check, the
default version is HEAD plus a timestamp.

The integration tests are the most complicated part of the
incubator-pekko-management build. They require that you have already
built the incubator-pekko-management jars and that they can be
accessed.

I'm really not sure how to proceed. I think people are probably going
to have to be pragmatic with the source distributions. They are
required by the ASF. With a bit of trial and error you can use the
source distribution to do build and test. We can't release the Maven
Central jars if people are not happy with the source release. So if
people start voting -1, it's back to the drawing board. I really don't
know how much effort is required to make the
incubator-pekko-management source distribution so simple to use that
you can just type in one command and everything works.

When I run builds locally, I often look at the GitHub CI workflow yml
files to work out the order of the events needed to get certain tests
to work.



On Mon, 7 Aug 2023 at 07:58, Nicolas Vollmar <nvoll...@gmail.com> wrote:
>
> I can build the tag on the repo, but building from the source package fails
> for me with:
>
> [error] stack trace is suppressed; run last
> integration-test-marathon-api-docker / update for the full output
>
> [error] (integration-test-marathon-api-docker / update) found version
> conflict(s) in library dependencies; some are suspected to be binary
> incompatible:
>
> [error]
>
> [error] *
> org.apache.pekko:pekko-management-cluster-bootstrap_2.13:HEAD+20230807-0854
> (semver-spec) is selected over HEAD
>
> [error]     +-
> org.apache.pekko:bootstrap-demo-marathon-api-docker_2.13:HEAD+20230807-0854
> (depends on HEAD+20230807-0854)
>
> [error]     +-
> org.apache.pekko:pekko-management-cluster-bootstrap_2.13:HEAD (depends on
> HEAD)
>
> [error]
>
> [error] *
> org.apache.pekko:pekko-discovery-marathon-api_2.13:HEAD+20230807-0854
> (semver-spec) is selected over HEAD
>
> [error]     +-
> org.apache.pekko:bootstrap-demo-marathon-api-docker_2.13:HEAD+20230807-0854
> (depends on HEAD+20230807-0854)
>
> [error]     +- org.apache.pekko:pekko-discovery-marathon-api_2.13:HEAD
> (depends on HEAD)
>
> [error]
>
> [error] *
> org.apache.pekko:pekko-management-cluster-http_2.13:HEAD+20230807-0854
> (semver-spec) is selected over HEAD
>
> [error]     +-
> org.apache.pekko:bootstrap-demo-marathon-api-docker_2.13:HEAD+20230807-0854
> (depends on HEAD+20230807-0854)
>
> [error]     +- org.apache.pekko:pekko-management-cluster-http_2.13:HEAD
> (depends on HEAD)
>
> [error]
>
> [error]
>
> [error] this can be overridden using libraryDependencySchemes or
> evictionErrorLevel
>
> [error] Total time: 47 s, completed 7 Aug 2023, 08:55:11
>
>
> On Sat, 5 Aug 2023 at 22:23, PJ Fanning <fannin...@apache.org> wrote:
>
> > Hello Pekko Community,
> >
> > This is a call for a vote to release Apache Pekko(incubating)
> > Management version 1.0.0-RC2.
> >
> > There are some license fixes since 1.0.0-RC1.
> >
> > The discussion thread:
> >
> > https://lists.apache.org/thread/g1hhcsvzbd8o1zdholds41k0jrknrx3q
> >
> > The release candidate:
> >
> >
> > https://dist.apache.org/repos/dist/dev/incubator/pekko/MANAGEMENT-1.0.0-RC2/
> >
> > This release has been signed with a PGP key available here:
> >
> > https://dist.apache.org/repos/dist/dev/incubator/pekko/KEYS
> >
> > Release Notes:
> >
> >
> > https://pekko.apache.org/docs/pekko-management/current/release-notes/index.html
> >
> > Git branch for the release:
> >
> > https://github.com/apache/incubator-pekko-management/tree/v1.0.0-RC2
> > Git commit ID: c1bab5a116b7f4c654f9d7ae3886a344e0f3771e
> >
> > Please download, verify, and test.
> >
> > We have also staged jars in the Apache Nexus Repository. These were
> > built with the same code
> > as appears in this Source Release Candidate. We would appreciate if
> > users could test with these too.
> > If anyone finds any serious problems with these jars, please also
> > notify us on this thread.
> >
> > https://repository.apache.org/content/groups/staging/org/apache/pekko/
> >
> > In sbt, you can add this resolver.
> >
> > resolvers += "Apache Pekko Staging" at
> > "https://repository.apache.org/content/groups/staging";
> >
> >
> > The VOTE will pass if we have more positive votes than negative votes
> > and there must be a minimum of 3 approvals from Pekko PPMC members.
> > Anyone voting in favour of the release, could you please provide a
> > list of the checks you have done?
> > The vote will be left open until 21:00 UTC on 8 August 2023.
> >
> > [ ] +1 approve
> > [ ] +0 no opinion
> > [ ] -1 disapprove with the reason
> >
> > To learn more about Apache Pekko, please see https://pekko.apache.org/
> >
> > Checklist for reference:
> >
> > [ ] Download links are valid.
> > [ ] Checksums and signatures.
> > [ ] LICENSE/NOTICE files exist
> > [ ] No unexpected binary files
> > [ ] Source files have ASF headers
> > [ ] Can compile from source
> >
> > To compile from the source, please refer to:
> >
> >
> > https://github.com/apache/incubator-pekko-management/blob/main/README.md#building-from-source
> >
> > Some notes about verifying downloads can be found at:
> >
> > https://pekko.apache.org/download.html#verifying-downloads
> >
> >
> > Here is my +1.
> >
> > Thanks,
> >
> > PJ Fanning (Apache Pekko PPMC member)
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@pekko.apache.org
> > For additional commands, e-mail: dev-h...@pekko.apache.org
> >
> >

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pekko.apache.org
For additional commands, e-mail: dev-h...@pekko.apache.org

Reply via email to