Skip to content

Inline membrane gem#4898

Open
kathap wants to merge 10 commits intomainfrom
inline-membrane
Open

Inline membrane gem#4898
kathap wants to merge 10 commits intomainfrom
inline-membrane

Conversation

@kathap
Copy link
Contributor

@kathap kathap commented Mar 3, 2026

Inline archived membrane gem (last update in 2014).

  • A short explanation of the proposed change:
    This change vendors (inlines) the membrane gem directly into the Cloud Controller repository under lib/membrane and removes the external gem dependency from the Gemfile.
    A lightweight shim (lib/membrane.rb) ensures that existing require "membrane" statements continue to work without modification.

  • An explanation of the use cases your change solves
    Removes dependency on an archived upstream repository:
    The upstream cloudfoundry/membrane repository is archived and no longer maintained. Inlining eliminates reliance on an external, inactive dependency.

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@kathap kathap marked this pull request as draft March 3, 2026 08:42
@kathap kathap force-pushed the inline-membrane branch from 7c02fcf to f618e64 Compare March 3, 2026 09:25
@kathap kathap force-pushed the inline-membrane branch from f618e64 to 2edcd61 Compare March 3, 2026 09:32
@kathap kathap force-pushed the inline-membrane branch from 6e6f4c3 to 8f64bac Compare March 3, 2026 12:27
@kathap kathap force-pushed the inline-membrane branch from 0f01c10 to 65936ec Compare March 3, 2026 13:58
@kathap kathap marked this pull request as ready for review March 4, 2026 10:35
@@ -0,0 +1,17 @@
# frozen_string_literal: true

require_relative '../membrane_spec_helper'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

require 'membrane_spec_helper' does not work?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. The file is at spec/unit/lib/membrane/membrane_spec_helper.rb, which is not in the root of any load path directory. Ruby would need the full path like: require 'unit/lib/membrane/membrane_spec_helper'.

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.

2 participants