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

Installing private repository as depedencies is not working #9717

Closed
2 tasks done
0xAurelou opened this issue Jan 20, 2025 · 1 comment · Fixed by #9726
Closed
2 tasks done

Installing private repository as depedencies is not working #9717

0xAurelou opened this issue Jan 20, 2025 · 1 comment · Fixed by #9726
Assignees
Labels
Cmd-forge-pm Command: forge install/update/remove T-bug Type: bug

Comments

@0xAurelou
Copy link

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.3.0 (a038646 2025-01-20T00:26:01.931617999Z)

What version of Foundryup are you on?

No response

What command(s) is the bug in?

forge install private-org/private-repo.git --no-commit

Operating System

macOS (Apple Silicon)

Describe the bug

I am trying to install a private foundry project as depedencies for an another repo.
However it doesn't seems to be supported or working.

Command tried :

forge install https://ghp_mytoken@github.com/private-org/precompiles-solidity.git --no-commit

Output:

Installing private in root/another-private-repo/lib/private-repo (url: Some("https://github.com/https://ghp_mytoken@prtivate-org/private-repo"), tag: None)

Seems like there is a parsing issue when putting a token in the url to install the depedencie.

@0xAurelou 0xAurelou added T-bug Type: bug T-needs-triage Type: this issue needs to be labelled labels Jan 20, 2025
@github-project-automation github-project-automation bot moved this to Todo in Foundry Jan 20, 2025
@grandizzy grandizzy added Cmd-forge-pm Command: forge install/update/remove and removed T-needs-triage Type: this issue needs to be labelled labels Jan 20, 2025
@grandizzy grandizzy self-assigned this Jan 20, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Foundry Jan 21, 2025
@0xAurelou
Copy link
Author

Thanks @grandizzy for the fix 🙏

@grandizzy grandizzy moved this from Done to Completed in Foundry Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cmd-forge-pm Command: forge install/update/remove T-bug Type: bug
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

2 participants