From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/88870 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus backend for GitHub/GitLab? Date: Wed, 20 Nov 2019 12:33:56 +0100 Message-ID: <87v9reixy3.fsf@gnus.org> References: <8736ejsehi.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="142140"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: ding@gnus.org To: Adam =?utf-8?Q?Sj=C3=B8gren?= Original-X-From: ding-owner+M37074@lists.math.uh.edu Wed Nov 20 12:35:03 2019 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iXOGE-000aib-AN for ding-account@gmane.org; Wed, 20 Nov 2019 12:35:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.92.3) (envelope-from ) id 1iXOFO-0007zT-A1; Wed, 20 Nov 2019 05:34:10 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iXOFK-0007wo-Ad for ding@lists.math.uh.edu; Wed, 20 Nov 2019 05:34:06 -0600 Original-Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1iXOFH-00089v-Oq for ding@lists.math.uh.edu; Wed, 20 Nov 2019 05:34:06 -0600 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iXOFA-00075I-UL; Wed, 20 Nov 2019 12:33:59 +0100 In-Reply-To: <8736ejsehi.fsf@tullinup.koldfront.dk> ("Adam =?utf-8?Q?Sj?= =?utf-8?Q?=C3=B8gren=22's?= message of "Tue, 19 Nov 2019 23:11:53 +0100") List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:88870 Archived-At: Adam Sj=C3=B8gren writes: > It hit me that accessing comments on GitHub/GitLab seems like an obvious > candidate for a Gnus backend. > > * GitHub/GitLab-instance: a Gnus server > * Each project you're interested in: a subscribed group > * Each issue: a top-level article > * Each comment: replies to issues/other comments > * Label, State ...: headers that can be edited That would indeed be nice, but the main problem with the APIs that Gitlab provides is that... they're very chatty and aren't geared towards "show me what's changed since " (which is what Gnus thrives on). This means that you have to issue a whole bunch of API requests just to get the basic info, which means that things get very s-l-o-w. But I've just skimmed the Gitlab API documentation; perhaps it has what's needed to make things go fast. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no