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 installing Git Library with specific git branch #2825

Open
3 tasks done
marvelous opened this issue Jan 25, 2025 · 0 comments
Open
3 tasks done

Error installing Git Library with specific git branch #2825

marvelous opened this issue Jan 25, 2025 · 0 comments
Labels
type: imperfection Perceived defect in any part of project

Comments

@marvelous
Copy link

Describe the problem

Using the --git-url option with a specific branch gives error Error installing Git Library: Library install failed: reference not found

To reproduce

arduino-cli.yaml config file:

library:
  enable_unsafe_install: true

Failing command:

arduino-cli --config-file arduino-cli.yaml lib install --git-url 'https://github.com/mcauser/Adafruit_SSD1306.git#esp8266-64x48'

Expected behavior

Successful installation of the library branch.

Arduino CLI version

arduino-cli Version: nightly-20250117 Commit: f47399b Date: 2025-01-17T01:33:56Z

Operating system

Linux

Operating system version

Fedora 41

Additional context

The default branch does work though:

arduino-cli --config-file arduino-cli.yaml lib install --git-url 'https://github.com/mcauser/Adafruit_SSD1306.git#master'

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the nightly build
  • My report contains all necessary details
@marvelous marvelous added the type: imperfection Perceived defect in any part of project label Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

1 participant