Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error retrieving licenses for git SSH dependencies #29

Open
julianbraasch opened this issue Jan 5, 2022 · 4 comments
Open

Error retrieving licenses for git SSH dependencies #29

julianbraasch opened this issue Jan 5, 2022 · 4 comments
Labels
enhancement New feature or request P1 High prio

Comments

@julianbraasch
Copy link
Contributor

I have multiple Git dependencies from Bitbucket in my project. However, they are referenced by using SSH authentication because I'm also using Bitrise for CI and my SSH keys are stored there.

So the url is not "https://[email protected]/project-owner/project" but rather "[email protected]:project-owner/project".

Stacktrace from flutter packages pub run license_generator generate debug:

Fetching pub dev info from git dependency. (Because we were not able to fetch the detail from pub.dev for dart_extensions)
FatalException: with messsage: `This git url is not yet supported: [email protected]:REDACTED/REDACTED. Create an issue so we can make this plugin better. (https://github.com/icapps/flutter-icapps-license/issues)`
#0      PubDevWebservice._getGitPubDevData (file:///Users/user/.pub-cache/hosted/pub.dartlang.org/license_generator-1.0.1/bin/src/service/pubdev_webservice.dart:76:7)
@vanlooverenkoen
Copy link
Contributor

vanlooverenkoen commented Jan 14, 2022

This was already with 1.0.2 right?

Can you give me a reproducable pubspec

@vanlooverenkoen
Copy link
Contributor

vanlooverenkoen commented Jan 14, 2022

Bitbucket is not yet supported. So we need to add support for bitbucket

@vanlooverenkoen vanlooverenkoen added the enhancement New feature or request label Jan 14, 2022
@vanlooverenkoen
Copy link
Contributor

@julianbraasch if you want you can create a pull request to fix this.
Update the string extensions & pubdev_webservice

I will review your pull request once it is completed. (tests should be added to keep the 99,9% code coverage

@Adi8tya
Copy link

Adi8tya commented Aug 23, 2022

I have multiple dependencies such as flutter_advanced_networkimage, flutter_wallet and while generating license, I'm getting same errors
Screenshot 2022-08-23 at 3 27 17 PM

@vanlooverenkoen vanlooverenkoen added the P1 High prio label Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P1 High prio
Projects
Status: Todo
Development

No branches or pull requests

3 participants