Skip to content

Error installing Git Library with specific git branch #2825

@marvelous

Description

@marvelous

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

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy