Skip to content

Attribute OwSink.combine to Akka's Sink.combine (Lightbend copyright) - #22

Closed
pjfanning wants to merge 1 commit into
apache:0.9.0from
pjfanning:akka-sink-combine-attribution
Closed

pjfanning wants to merge 1 commit into
apache:0.9.0from
pjfanning:akka-sink-combine-attribution

Conversation

@pjfanning

@pjfanning pjfanning commented Sep 30, 2026 •

Copy link
Copy Markdown
Member

Part of apache/openserverless#265.

OwSink.combine in openwhisk/common/scala/src/main/scala/org/apache/openwhisk/core/containerpool/logging/DockerToActivationFileLogStore.scala says it is "basically copied from Sink.combine". Apache OpenWhisk added it in 2017 (apache/openwhisk@d69f8db02), when it built against Akka 2.5.6. Akka 2.5.6's Sink.scala is Apache-2.0 and carries:

Copyright (C) 2014-2017 Lightbend Inc. <http://www.lightbend.com>

The file only had the ASF header. This PR keeps the ASF header and adds the upstream Lightbend notice below it:

/*
 * OwSink.combine is derived from Sink.combine in Akka 2.5.6:
 * Copyright (C) 2014-2017 Lightbend Inc. <http://www.lightbend.com>
 */

This follows the pattern ConcurrentMapBackedCache.scala already uses for the code it derives from Spray.

Comment-only change. Akka 2.5.6 ships no NOTICE file, so nothing needs to be added to NOTICE. The matching entry in the top-level LICENSE is apache/openserverless#270.

(apache/openserverless#265 has two errors. It gives the Akka version as 2.6.12, which is the version the build uses today, not the one the code was copied from. It also suggests re-deriving from Apache Pekko, but that would not help: Pekko's Sink.scala still carries the Lightbend copyright header, so the attribution would be needed either way.)

🤖 Generated with Claude Code

OwSink.combine in DockerToActivationFileLogStore.scala was adapted from
Sink.combine in Akka 2.5.6 (Apache-2.0) when Apache OpenWhisk added it in
2017 (apache/openwhisk d69f8db02). Keep the upstream Lightbend copyright
notice alongside the ASF header, as ConcurrentMapBackedCache.scala does
for the code it derives from Spray.

Part of apache/openserverless#265.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant