LWN: Comments on "Development quotes of the week" https://lwn.net/Articles/756261/ This is a special feed containing comments posted to the individual LWN article titled "Development quotes of the week". en-us Fri, 19 Sep 2025 20:26:30 +0000 Fri, 19 Sep 2025 20:26:30 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Re: Joey Hess https://lwn.net/Articles/756996/ https://lwn.net/Articles/756996/ jhhaller See <a href=https://gerrit-review.googlesource.com/Documentation/note-db.html>Note-db</a>, which is how Gerrit stores almost all data in git since release 2.15. Only the reviewed flag is stored in a database, for performance reasons. While Gerrit doesn't have an issue system, it does have user accounts and code review records, all of which are stored in Git. While some information has external indices for performance, the primary data is still in git. Gerrit is used in a number of high-profile projects, including OpenStack, Eclipse, and Android. Not all Gerrit instances have completely migrated from the older database, but support for the external database will be removed in the 3.0 release. Fri, 08 Jun 2018 21:35:13 +0000 rate limited API https://lwn.net/Articles/756920/ https://lwn.net/Articles/756920/ jwilk <p>You shouldn't back up forks. It wasn't submitted upstream == it doesn't exist. <p>Also, anybody can make a fork and fill it with garbage. If you're backing up all forks blindly (like <a href="https://github-backup.branchable.com/">github-backup</a> does by default), you're susceptible to DoS. Fri, 08 Jun 2018 09:31:22 +0000 Re: Joey Hess https://lwn.net/Articles/756906/ https://lwn.net/Articles/756906/ rahulsundaram <div class="FormattedComment"> <font class="QuotedText">&gt;To my knowledge aside from FOSSIL, none actually exist that receive any kind of real-world usage (pet projects aside, one of which was mentioned here).</font><br> <p> Pagure is sponsored by Red Hat, used extensively by Fedora and was strongly considered by Debian and it works this way. <br> </div> Thu, 07 Jun 2018 23:54:24 +0000 Re: Joey Hess https://lwn.net/Articles/756882/ https://lwn.net/Articles/756882/ excors <div class="FormattedComment"> Judging by discussions around <a href="https://lwn.net/Articles/754779/">https://lwn.net/Articles/754779/</a> on GitHub vs GitLab, projects often prefer GitHub primarily because it's more popular, meaning more potential contributors are familiar with it and already have accounts there, lowering the barriers to them becoming actual contributors. That's what makes GitHub's millions of users so valuable to Microsoft - they will continue to use GitHub, even if it were technically trivial to migrate to another service, and will attract more users, simply because of the network effects that apply to any online service with interaction between users.<br> <p> <a href="https://docs.gitlab.com/ee/user/project/import/github.html">https://docs.gitlab.com/ee/user/project/import/github.html</a> makes it look straightforward to copy data from GitHub anyway, so their choice to not implement issue tracking with an awkward and inefficient form of database (i.e. something layered on Git) doesn't seem to be a significant obstacle to getting your data out.<br> </div> Thu, 07 Jun 2018 19:55:04 +0000 rate limited API https://lwn.net/Articles/756887/ https://lwn.net/Articles/756887/ dw <div class="FormattedComment"> <font class="QuotedText">&gt; Finding comments attached to commits is additional API calls (and there was not a way to discover them other than trying every commit in turn last I checked</font><br> <p> Seems that wasn't any time recently:<br> <p> - <a href="https://developer.github.com/v3/issues/comments/#list-comments-in-a-repository">https://developer.github.com/v3/issues/comments/#list-com...</a><br> - <a href="https://developer.github.com/v3/issues/events/#list-events-for-a-repository">https://developer.github.com/v3/issues/events/#list-event...</a><br> <p> <font class="QuotedText">&gt; 12 hours to check something out is not fertile ground for a distributed ecosystem to develop</font><br> <p> To be clear it was 12 hours to sync 40k tickets and then per the APIs above, O(changes) thereafter.<br> <p> <p> </div> Thu, 07 Jun 2018 19:24:18 +0000 rate limited API https://lwn.net/Articles/756881/ https://lwn.net/Articles/756881/ joey <div class="FormattedComment"> Checking each issue for new comments takes an API call. The API is paginated == more API calls the more issues and comments there are. Finding comments attached to commits is additional API calls (and there was not a way to discover them other than trying every commit in turn last I checked). Repositories can have forks, which can have issues, which can have comments, for piles more API calls. (I know about this in some detail because I've written software to deal with all of it. It's constantly rate limited.)<br> <p> And then, most developers are not involved with a single software project. It's not uncommon to have dozens of dependencies you want to keep an eye on or are tangentially involved with in your work on a single project. Out of all your other projects.<br> <p> 12 hours to check something out is not fertile ground for a distributed ecosystem to develop: As evidence see the lack of such an ecosystem.<br> </div> Thu, 07 Jun 2018 18:48:32 +0000 Re: Joey Hess https://lwn.net/Articles/756877/ https://lwn.net/Articles/756877/ dw <div class="FormattedComment"> Finally a cursory search reveals the "rate limited API" permits 5,000 authenticated requests per hour. The largest repo I could find (Ansible) has only 42k tickets all time, or to put it another way, less than 12 hours for an export cron job to complete. This doesn't even slightly count as lock-in.<br> </div> Thu, 07 Jun 2018 17:53:17 +0000 Development quotes of the week https://lwn.net/Articles/756874/ https://lwn.net/Articles/756874/ Cyberax <div class="FormattedComment"> Why should the data like issues and PR metadata be stored in git? Flat files are awful for these sorts of things.<br> <p> This data just needs to be accessible for export.<br> </div> Thu, 07 Jun 2018 17:47:32 +0000 Re: Joey Hess https://lwn.net/Articles/756873/ https://lwn.net/Articles/756873/ dw <div class="FormattedComment"> I find the dig at Microsoft deeply distasteful, they are hardly pioneers of "Git with bag on the side" style project management tools. To my knowledge aside from FOSSIL, none actually exist that receive any kind of real-world usage (pet projects aside, one of which was mentioned here).<br> <p> The idea of stashing everything in Git is a great one, and of course it occurred to more than just the comment author, however if you explore this space even slightly, it's clear that stuffing everything in a DB *is much simpler* than giving control of a set of complex interlinked structures to end-users who can barely work a Git desktop interface at the best of times, all while somehow keeping a best-in-class project management UI in sync with whatever atrocities the users unleash behind the scenes.<br> <p> If I use 'git rebase' to modify a far right-leaning issue comment's author to Linus Torvalds, what should show up in the UI? Should I have the right to purge comments from the UI at leisure? Should the purges be tracked historically somewhere? (In a DB? In Git.. again?) Can I do a pull request for a change to a project's tickets? But a pull request is a type of ticket!<br> <p> Of course the simplest explanation is also the cheapest, most crowdpleasing and most paranoid one, and I'm very sad to see it repeated in LWN.<br> </div> Thu, 07 Jun 2018 17:42:48 +0000 "Is that data stored in a git repository?" https://lwn.net/Articles/756859/ https://lwn.net/Articles/756859/ mattdm <div class="FormattedComment"> <font class="QuotedText">&gt; Is that data stored in a git repository? </font><br> <p> If you like this, please consider helping build Pagure, git forge software built around this idea. "Easy fix" tickets here: <a href="https://pagure.io/pagure/issues?status=Open&amp;tags=easyfix">https://pagure.io/pagure/issues?status=Open&amp;tags=easyfix</a><br> </div> Thu, 07 Jun 2018 14:50:51 +0000