rogerluan / arkana

Store your keys and secrets away from your source code. Designed for Android and iOS projects.
BSD 2-Clause "Simplified" License
361 stars 18 forks source link

Make available via Homebrew #44

Open pjtnt11 opened 9 months ago

pjtnt11 commented 9 months ago

Feature request: make available via homebrew. The main reason I am suggesting this is because it would make using Arkana easier when using Xcode cloud.

Bundler is not installed by default on Xcode Cloud and running gem install arkana requires both to specify not the latest version (1.4.0) due to outdated ruby by default on Xcode Cloud, but also requires a workaround since running gem install requires sudo by default. If Arkana was available via homebrew, if I understand correctly, both of these issues could be averted.

I admitably know very little about what it would take do to this, but just throwing out the idea.

rogerluan commented 9 months ago

Hi @pjtnt11, thanks for this suggestion!

I've intentionally refrained from distributing tools via homebrew in the past due to complexity and lack of versioning, but I'll take this request into consideration and see if we could be distributing it via brew in the future 🙏

Regarding your Xcode Cloud situation, don't you have any bundle dependencies in your iOS project? i.e. a Gemfile with other dependencies, such as fastlane, danger, cocoapods, etc...? Using https://bundler.io is a considered the best practice to manage gem dependencies and versioning, and I strongly encourage you to look into it to manage your gems, like Arkana 😊 this should also resolve your issue completely, and with the added benefit of moving your dependency versioning to git versioning, as recommended by 12-factor best practices (e.g. https://ios-factor.com/dependencies) 😃