Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Fix qt5 HEAD #23890

Closed
wants to merge 1 commit into from
Closed

Fix qt5 HEAD #23890

wants to merge 1 commit into from

Conversation

nox
Copy link
Contributor

@nox nox commented Nov 2, 2013

No description provided.

@nox
Copy link
Contributor Author

nox commented Nov 2, 2013

Please note that I only changed how HEAD builds are made, so obviously the tests are irrelevant here.

# Qt components need to be in their Git repos to build HEAD.
sub_cmd = %W{ln -s #{downloader.cached_location}/$path/.git #{Dir.pwd}/$path/.git}
cd downloader.cached_location do
safe_system 'git', 'submodule', '--quiet', 'foreach', *sub_cmd
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our HEAD checkout should support submodules? Would be good to know if we can fix this somehow.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our HEAD checkout should use Qt 5's own init-repository script.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do that then?

@nox
Copy link
Contributor Author

nox commented Nov 5, 2013

@MikeMcQuaid I now use init-repository. There may be a remaining bug if someone had already cloned the Qt repos because we can't use a shallow clone anymore.

ohai "Checking out #@ref_type #@ref"
else
@clone.cd { reset }
end
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taken straight from GitDownloadStrategy#stage, no idea.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it.

@nox
Copy link
Contributor Author

nox commented Nov 7, 2013

@MikeMcQuaid Ping?

@nox nox deleted the qt5-head branch November 9, 2013 11:54
yriveiro pushed a commit to yriveiro/homebrew that referenced this pull request Nov 26, 2013
Closes Homebrew#23890.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
ehershey pushed a commit to ehershey/homebrew that referenced this pull request Apr 4, 2014
Closes Homebrew#23890.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants