Skip to content

Feature Request: remote branch name per configuration #38

Closed
@cnadeau

Description

@cnadeau

I'd like to know if it's possible to set the branch in the configuration from the Podfile to get something like:

config_cocoapods_binary_cache(
  cache_repo: {
    "default" => {
      "remote" => "git@cache_repo.git",
      "remote_branch" => "all_pods",  <<<<<<<
      "local" => "~/.cocoapods-binary-cache/prebuilt-frameworks"
    }
  },
  prebuild_config: "Debug"
)

We have an app that dictates the dependencies of 9 other internal pods. I'd love to build once from the app and be able to do something like

cd app
pod binary prebuild --push app_version
cd ../my_sub_pod 
pod binary fetch app_version 
pod install # to cleanup all unused cached pods
pod binary push my_sub_pod # update all cached pods for a specific sdk

Would it be something possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions