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

Share:
196
atreeon
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, 2022

Comments

  • atreeon
    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
      Günter Zöchbauer over 5 years
      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
      atreeon over 5 years
      Many thanks @GünterZöchbauer that works well :)
    • Günter Zöchbauer
      Günter Zöchbauer over 5 years
      Glad to hear :)
  • atreeon
    atreeon over 5 years
    A link for anyone wanting to setup a bitbucket SSH key confluence.atlassian.com/bitbucket/…