Is it possible for a dart package to have a dependency on a private repository hosted by bitbucket?
196
You could set up SSH to create an authenticated connection to BitBucket and then use an SSH URL in the dependency like [email protected]:blah/secretrepo.git
![atreeon](https://i.stack.imgur.com/M7vPd.jpg?s=256&g=1)
Author by
atreeon
A big fat checkin stuffer now havin' a stutter wid-da flutter and a wee wobbly wid-da intellyjelly. It used to be. Entity Framework (or alternatives), MVC 2/3/4, C#, Javascript, JQuery, Web API, CSS, LINQ, SQL
Updated on December 04, 2022Comments
-
atreeon over 1 year
Is it possible to have a package that references a private bitbucket repository? Something like below but I would need to supply a password and username. Is this at all possible with Dart?
dependencies: secreterepo: git: https://[email protected]/blah/secretrepo.git
-
Günter Zöchbauer over 5 yearsYou could set up SSH to create an authenticated connection to BitBucket and then use an SSH URL in the dependency like
[email protected]:blah/secretrepo.git
-
atreeon over 5 yearsMany thanks @GünterZöchbauer that works well :)
-
Günter Zöchbauer over 5 yearsGlad to hear :)
-
-
atreeon over 5 yearsA link for anyone wanting to setup a bitbucket SSH key confluence.atlassian.com/bitbucket/…