Skip to content

rustpkg fails to install package from git repo #7744

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

Closed
fabiand opened this issue Jul 12, 2013 · 4 comments
Closed

rustpkg fails to install package from git repo #7744

fabiand opened this issue Jul 12, 2013 · 4 comments

Comments

@fabiand
Copy link
Contributor

fabiand commented Jul 12, 2013

It seems as if rustpkg doesn#t detect the git:// prefix properly, at least it's trying to fetch the git repo using https ...

$ rustpkg install git://github.com/mozilla/servo.git
WARNING: The Rust package manager is experimental and may be unstable
note: Fetching package: git clone https://git:/github.com/mozilla/servo.git /home/fabiand/src/git:/github.com/mozilla/servo.git-0.1 ~[]
note: fetching https://git:/github.com/mozilla/servo.git failed: can't clone repository
note: Fetching package: git clone https://git:/github.com/mozilla/servo.git /home/fabiand/src/git:/github.com/mozilla/servo.git-0.1 ~[]
note: fetching https://git:/github.com/mozilla/servo.git failed: can't clone repository
rust: task failed at 'Unhandled condition: nonexistent_package: ({remote_path: {__field__: {is_absolute: false, components: ~[~"git:", ~"github.com", ~"mozilla", ~"servo.git"]}}, local_path: {__field__: {is_absolute: false, components: ~[~"git:", ~"github.com", ~"mozilla", ~"servo.git"]}}, short_name: ~"servo", version: NoVersion}, ~"supplied path for package dir does not exist, and couldn\'t interpret it as a URL fragment")', /builddir/build/BUILD/rust-0.7/src/libstd/condition.rs:44
rust: domain main @0x1c55d50 root task failed
@graydon
Copy link
Contributor

graydon commented Jul 12, 2013

Rustpkg operates on pkgids, not urls. But perhaps it should notice when passed a url!

@fabiand
Copy link
Contributor Author

fabiand commented Jul 12, 2013

@graydon oh - I saw the usage (using an url) in one of the examples, either in the rustpkg help or one of the related documents.

@thestinger
Copy link
Contributor

This is still an issue.

@z0w0
Copy link
Contributor

z0w0 commented Feb 26, 2014

Rustpkg is no longer part of the Rust suite. This can be closed.

@z0w0 z0w0 closed this as completed Feb 26, 2014
flip1995 pushed a commit to flip1995/rust that referenced this issue Oct 7, 2021
…ednet

Correctly handle signs in exponents in numeric_literal::format()

Fixes rust-lang#7744

changelog: Correctly handle signs in exponents in `numeric_literal::format()`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants