Emily
How To Add Dependency Sourced From Bitbucket Private Repository?
If this is the Hex.pm version:
def deps do
[{:repository_name, “~> 0.1.0”}]
end
What’s the Bitbucket private repository equivalent?
-
How/where do I specify repository access credentials?
-
How do I define the repository location?
Most Liked
NobbZ
No. You simply specify a git dependency using git protocol (git@bitbucket.com:...). Everything else is handled by your local git and ssh installs.
Qqwy
Exactly! If mix then has problems downloading it because ssh requires a password, then you can use ssh-copy-id and/or the SSH-settings in Bitbucket to make this problem go away
.
John-Goff
I would not edit a dependency in your deps folder, no. Instead you should clone the dependency, make your changes there, and submit it back upstream if it’s an external dependency or just push it if it’s something you control. Then pull in the updated version in your current project.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









