4 ms·
This inspires me to update my script that converted opensource.apple.com into Github repos [0] (even creating the repo using the Github API). It needed more wor
by jevinskie 12y ago
This inspires me to update my script that converted opensource.apple.com into Github repos [0] (even creating the repo using the Github API). It needed more work because some of the Apple source releases are messed up and include another copy of the source tree in a directory at the root of a tarball!
I asked Github if it was OK to upload the tens of gigabytes of source that the entirety of opensource.apple.com is and I got a "Sure, why not?" response. =)
I think the last time I updated these repos was around 10.7 or 10.8
[0]: https://github.com/Apple-FOSS-Mirror/ https://github.com/Apple-FOSS-Mirror/
Edit: I was always wondering how I could manipulate git such that anyone could checkout my scripts and create identical git repos (same commit hashes and all) with a single command. I am somewhat hesitant to update the repos now because it would involve rewriting old commits since I haven't solved this problem yet.
- voltagex_ 12y agoThat's a brilliant idea. Couldn't you test a newer version of your script against a new branch?
- jevinskie 12y agoYeah... once I find it on my old backups. =) Ironically, my script that produces git repos was not itself version controlled. Lesson learned (for the umpteenth time). I wasn't comfortable putting it public due to sloppiness and I didn't yet have my own GitLab server. I now have the latter and am motivated to fix the former (put the script itself on Github). =)
- voltagex_ 12y agoLet me know how you go. Contact details are in my profile. I've got way too many projects to finish right now, but I'd like to boot XNU in a VM at some point.
- malkia 12y agoYup. Great idea. Along with "github-backup" like tool (I use this one - https://github.com/joeyh/github-backup https://github.com/joeyh/github-backup) then I could spend days browsing and reading :)
- aktau 12y agoFor those interested, a great github repo with the OSX Libc is here: https://github.com/aosm/Libc https://github.com/aosm/Libc Very easy to switch between OSX releases with the tags.