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

Fastd HEAD url broken #26

Closed
MoritzFago opened this issue Apr 3, 2016 · 7 comments
Closed

Fastd HEAD url broken #26

MoritzFago opened this issue Apr 3, 2016 · 7 comments
Labels
bug Reproducible Homebrew/homebrew-core bug

Comments

@MoritzFago
Copy link
Contributor

Bug reports:

This Commit broke the --HEAD Build of Fastd. Would it be okay to change the head url back to the old value?

brew gist-logs <formula>
brew install fastd --HEAD
==> Cloning https://git.universe-factory.net/fastd/ Updating /Library/Caches/Homebrew/fastd--git fatal: dumb http transport does not support --depth Error: Failed to download resource "fastd" Failure while executing: git fetch -q origin --unshallow

@tdsmith
Copy link
Contributor

tdsmith commented Apr 3, 2016

Please try again after running rm -rf /Library/Caches/Homebrew/fastd--git.

@tdsmith
Copy link
Contributor

tdsmith commented Apr 3, 2016

(this should only happen once)

@tdsmith tdsmith added the user configuration User configuration rather than a Homebrew issue label Apr 3, 2016
@apjanke
Copy link
Contributor

apjanke commented Apr 3, 2016

If that was the issue, this might be considered a brew bug, too, since it can't handle the download type of a git repo resource changing over time.

@MikeMcQuaid
Copy link
Member

If that was the issue, this might be considered a brew bug, too, since it can't handle the download type of a git repo resource changing over time.

Agreed 👍

@MoritzFago
Copy link
Contributor Author

The solution provided by @tdsmith worked for me, thank you! If it's not a brew bug it can be closed. To determine if it is a bug maybe someone could test it on their machine?

@MikeMcQuaid
Copy link
Member

I think this is a brew bug, thanks @MoritzFago.

@dunn dunn added bug Reproducible Homebrew/homebrew-core bug and removed user configuration User configuration rather than a Homebrew issue labels Apr 8, 2016
@apjanke
Copy link
Contributor

apjanke commented Apr 12, 2016

I can reproduce under a fresh Homebrew install on 10.9.5.

[/usr/local/Library/Taps/homebrew/homebrew-core on ⇄ master]
$ gco 4f01edd92cff700e95eac5362583e76c003615c2 2>/dev/null
[/usr/local/Library/Taps/homebrew/homebrew-core on ⇄ 4f01edd]
$ brew fetch --HEAD fastd
==> Cloning git://git.universe-factory.net/fastd/
Cloning into '/Library/Caches/Homebrew/fastd--git'...
remote: Counting objects: 214, done.
remote: Compressing objects: 100% (208/208), done.
remote: Total 214 (delta 48), reused 61 (delta 1)
Receiving objects: 100% (214/214), 267.95 KiB | 164.00 KiB/s, done.
Resolving deltas: 100% (48/48), done.
Checking connectivity... done.
==> Checking out branch master
[/usr/local/Library/Taps/homebrew/homebrew-core on ⇄ 4f01edd]
$ gco master
Previous HEAD position was 4f01edd... googler 2.1 (new formula)
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
[/usr/local/Library/Taps/homebrew/homebrew-core on ⇄ master]
$ brew fetch --HEAD fastd
==> Cloning https://git.universe-factory.net/fastd/
Updating /Library/Caches/Homebrew/fastd--git
fatal: dumb http transport does not support --depth
Error: Failed to download resource "fastd"
Failure while executing: git fetch -q origin --unshallow
[✘ /usr/local/Library/Taps/homebrew/homebrew-core on ⇄ master]
$

That should not happen. Gonna say this is indeed a brew bug.

I opened a homebrew/brew bug for this general pattern at Homebrew/brew#73.

Closing this issue out because OP has a resolution to this particular failure, and they probably don't want notifications on whatever we do with the internals to fix this in the future. (If you actually do care about the internals on this, feel free to subscribe to the new bug.)

@apjanke apjanke closed this as completed Apr 12, 2016
@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Reproducible Homebrew/homebrew-core bug
Projects
None yet
Development

No branches or pull requests

5 participants