Show HN: ugit – Learn Git Internals by Building Git in Python
1–10 of 31 posts
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#2Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#3There is also write you a git: https://wyag.thb.lt/
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#4[1] relevant xkcd: https://xkcd.com/1597/
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#5Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#6Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#7Looks great! I'm wondering if there are other tutorials like this but for Ruby?
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#8Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#9From a cursory glance though, it doesn't seem to support reading packfiles. This was the big thing that prevented me from using a fully custom Git implementation when I wrote my git churn calculator[2]. For larger repositories, it seems that almost all files are stored in packfiles, rather than the conceptually simpler "loose" format.
For me, the most valuable resource was reading the Git / libgit2 source and reference documentation.
Re: Show HN: ugit – Learn Git Internals by Building Git in Python
#10Looks neat! This reminds me heavily of the excellent Building Git by James Coglan[1]. From a cursory glance though, it doesn't seem to support reading packfiles. This was the big thing that prevented me from using a fully custom Git implementation when I wrote my git churn calculator[2]. For larger repositories, it seems that almost all files are stored in packfiles, rather than the conceptually simpler "loose" forma…