-
Notifications
You must be signed in to change notification settings - Fork 92
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
use 'git clone' instead of downloading tar files from github #32
Comments
To what end? If you are going to develop one of the packages built by ps3toolchain, I don't think it would be very convenient to use ps3toolchain to build it every time, and so you'd probably have it cloned elsewhere instead (I know I do...) |
It was a suggestion from a user as grabbing a tar file can apparently be very taxing on the server. |
I think repo would work well here ?xml version="1.0" encoding="UTF-8"?> manifest> remote name="ps3dev" fetch="git://github.com/ps3dev/" /> remote name="HACKERCHANNEL" fetch="git://github.com/HACKERCHANNEL/" />
/manifest> (removed leading < ) curl http://android.git.kernel.org/repo >~/bin/repo repo init -u git://github.com/ps3dev/manifest.git -b master just an example to highlight some of the basics, like ability to pin to a commit |
Ok, I figured the tar files would be cached, but if it's undue load on the server it should be avoided of course. Not that a git:// clone is for free either... I'd suggest using shallow clones if going that way though, since only the tree of head is wanted anyway. I.e. use Another possibility would be to use git submodules, which has the same commit pinning feature as repo without the need for annoying external python scripts. :-) I don't think they can be shallow though. |
I'd like to avoid adding extra dependencies like python scripts, etc... I'm going to assign this a low priority as there's no need for it yet. |
Related to this issue - the tarball that 009-ps3libraries.sh attempts to download (ps3libraries.tar.gz) is now gone. Using a git clone statement there allowed me to continue with the toolchain installation - my local copy of 009-ps3libraries.sh now looks like this - Download the source code.git clone git://github.com/ps3dev/ps3libraries.git Compile and install../libraries.sh IMHO a git clone here should be preferred over an attempt to download a tarball that might no longer exist (such as is the case right now) unless you want to give users the impression that either the project is dead or it's no longer regularly maintained when issues like this happen. Also, wgetting the URLs to Cairo tarballs/pixman seem to be crawling below acceptable speeds (perhaps the servers it grabs it from are throttled and/or really slow) - perhaps this was a temporary issue because I didn't get it again after trying it out later. IMHO Cairo should only be installed with the toolchain if the user absolutely requires it - in my case for RetroArch I will have no need for it - the toolchain installer should just install the bare essentials or provide some option to install external dependencies optionally. |
|
I should also mention that the idea behind ps3libraries was to give the widest variety of ported software available. It normally wouldn't be built more than once by most users so there isn't a lot of reason to be worried about how long it took to build. As more libraries get added this may change but in the meantime I believe that the more we can make available to all developers as a standard suite the better. |
See topic.
The text was updated successfully, but these errors were encountered: