unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: 조성빈 <pcr910303@icloud.com>, "Eli Zaretskii" <eliz@gnu.org>
Cc: toon@iotcl.com, Dmitry Gutov <dgutov@yandex.ru>,
	monnier@iro.umontreal.ca, agrambot@gmail.com,
	emacs-devel@gnu.org
Subject: Re: [RFE] Migration to gitlab
Date: Fri, 10 May 2019 11:26:55 -0400	[thread overview]
Message-ID: <22f3aceb-e562-b1ee-03da-90d29b007b46@gmail.com> (raw)
In-Reply-To: <0C7B0831-187D-413C-B4F6-5AB542A7AA1A@icloud.com>

On 2019-05-10 11:00, 조성빈 wrote:
>> github.com/magit/forge

Forge is great, but we should evaluate it carefully before deciding that we want to depend on it.  Concretely, about a week ago, Eli wrote and asked how one could browse Gitlab issues from Emacs, e.g. the issue that Toon had created on the Gitlab repo about Emacs' needs.

I set out to write detailed instructions, but gave up halfway, because forge didn't work for that use case.  Indeed, the way forge deals with issues and merge requests is to download the full issue database of the project.  For Gitlab, with 27000 merge requests and 50000 issues, the software spent multiple of minutes attempting to download this humongous database, and then gave up and threw an exception.  Accordingly, I gave up and didn't post my instructions (Eli, they are below, if you are curious to try them on a smaller repository; forge is indeed great when it can handle the repo size).

I do not know whether Emacs' issue database is large enough to cause issues. Additionally, I understand that thigs may improve in the future, because forge currently uses an inefficient communication protocol to talk to Gitlab (but there are plans to support a better protocol in Gitlab, I think).  I do not know whether things will work better once Gitlab implements a better protocol (I hope they will!).  In the meantime, we should be careful about assuming that forge will solve the problem of browsing Gitlab issues from Emacs.

Below are the instructions I had started to write.

Clément.

On 2019-04-30 11:37, Eli Zaretskii wrote:
>> From: Dmitry Gutov <dgutov@yandex.ru>
>> Date: Tue, 30 Apr 2019 00:35:11 +0300
>> Cc: emacs-devel <emacs-devel@gnu.org>
>>
>> Speaking of GitLab clients, here's one: 
>> https://github.com/nlamirault/emacs-gitlab
>>
>> I haven't tried it myself yet, but it seems to include commenting 
>> functionality (gitlab-notes.el).
>
> Does anyone know how to use that to browse some GitLab issue, e.g. the
> one posted by Toon?  I tried to do that, but got only error messages.
> I suspect that I didn't understand how to use the package.

I haven't tried this particular package, but here is how to do it using magit and forge:

* Gitlab authentication:
  * Browse to https://gitlab.com/profile/personal_access_tokens ; check the 'api' box and give a name to the token (e.g. Emacs Forge) ; click 'Create personal access token'
  * Copy the resulting token into ~/.authinfo, on a new line like the following (make sure there is a final newline at the end of the file):
    machine gitlab.com/api/v4 login YOUR_GITLAB_USERNAME^forge password YOUR_TOKEN
  * Set your username: git config gitlab.user YOUR_GITLAB_USERNAME
  * Clone the gitlab-ce repository: git clone https://gitlab.com/gitlab-org/gitlab-ce.git/ --depth 1 SOMEWHERE_CONVENIENT
* Emacs setup:
  * Add MELPA to your package repositories: (add-to-list 'package-archives (cons "melpa" "https://melpa.org/packages/") t)
  * M-x package-list-packages; install 'magit' and 'forge'
  * C-u M-x magit-status; type the directory (SOMEWHERE_CONVENIENT) in which you cloned the repository above
  * M-: (require 'forge); then press f y (This retrieves the full collection of merge requests and bug reports for that repository; it fails, because gitlab-ce has 50000 issues and 27000 merge requests).
  * Once this completes, you have access in the `magit' buffer to a list of issues and merge requests; you press RET on any of them to view the discussion.



  reply	other threads:[~2019-05-10 15:26 UTC|newest]

Thread overview: 284+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-17  2:17 bug#34889: [RFE] Migration to gitlab Konstantin Kharlamov
2019-03-17  3:01 ` Konstantin Kharlamov
2019-03-17  3:34   ` bug#34889: " Konstantin Kharlamov
2019-03-17  8:20     ` Tim Cross
2019-03-17  9:51       ` Michael Albinus
2019-03-17 11:16       ` Konstantin Kharlamov
2019-03-17 18:05         ` Eli Zaretskii
2019-03-19  0:52           ` Dmitry Gutov
2019-03-19  1:43             ` Glenn Morris
2019-03-19  1:50               ` Glenn Morris
2019-03-20  2:28                 ` Richard Stallman
2019-03-19  7:57               ` Eli Zaretskii
2019-03-19  7:27             ` Philippe Vaucher
2019-03-19  8:47               ` Tadeus Prastowo
2019-03-19 12:31                 ` Philippe Vaucher
2019-03-19 12:46                   ` Tadeus Prastowo
2019-03-19 11:03               ` Ergus
2019-03-19  7:45             ` Eli Zaretskii
2019-03-19 14:13               ` Dmitry Gutov
     [not found]                 ` <message from DmitryGutovon Tue>
2019-03-19 18:15                 ` Eli Zaretskii
2019-03-19 21:59                   ` Konstantin Kharlamov
2019-03-20  6:13                     ` Eli Zaretskii
2019-03-20  6:56                       ` Konstantin Kharlamov
2019-03-20  7:23                         ` Eli Zaretskii
2019-03-21  8:28                           ` Philippe Vaucher
2019-03-21  9:02                             ` Tadeus Prastowo
2019-03-21  9:48                               ` Philippe Vaucher
2019-03-21  9:59                                 ` Tadeus Prastowo
2019-03-21 17:54                                   ` Philippe Vaucher
2019-03-21 19:03                                     ` Eli Zaretskii
2019-04-23 21:19                                       ` Toon Claes
2019-04-24  7:06                                         ` Eli Zaretskii
2019-04-25  7:52                                           ` Toon Claes
2019-03-22 10:37                                     ` Marcin Borkowski
2019-03-22 10:56                                       ` Jean-Christophe Helary
2019-03-22 18:52                                         ` Marcin Borkowski
2019-03-23  0:37                                           ` Jean-Christophe Helary
2019-03-22 11:24                                       ` Konstantin Kharlamov
2019-03-22 12:38                                         ` Philippe Vaucher
2019-03-22 13:27                                           ` Konstantin Kharlamov
2019-03-22 13:57                                             ` Stefan Monnier
2019-03-22 13:17                                       ` Eli Zaretskii
2019-03-22 13:50                                         ` Stefan Monnier
2019-03-22 14:05                                           ` Konstantin Kharlamov
2019-03-22 14:20                                           ` Teemu Likonen
2019-03-22 14:29                                             ` Stefan Monnier
2019-03-22 14:54                                             ` Eli Zaretskii
2019-03-22 15:19                                               ` Stefan Monnier
2019-03-22 15:38                                                 ` Eli Zaretskii
2019-03-22 15:58                                                   ` Stefan Monnier
2019-03-23 21:58                                             ` Juri Linkov
2019-03-22 14:41                                           ` Eli Zaretskii
2019-03-23  2:33                                         ` Richard Stallman
2019-03-23  7:18                                           ` Eli Zaretskii
2019-03-23 14:04                                             ` Konstantin Kharlamov
2019-03-23 14:28                                               ` Eli Zaretskii
2019-03-24  6:29                                                 ` Van L
2019-03-24 11:22                                                   ` Eli Zaretskii
2019-03-24  1:44                                             ` Richard Stallman
2019-03-22 10:01                           ` Konstantin Kharlamov
2019-03-22 10:16                             ` Eli Zaretskii
2019-03-22 10:34                               ` Konstantin Kharlamov
2019-03-22 13:44                                 ` Eli Zaretskii
2019-03-22 14:36                               ` Dmitry Gutov
2019-03-22 14:57                                 ` Stefan Monnier
2019-03-22 17:01                                   ` Dmitry Gutov
2019-03-22 15:28                                 ` Eli Zaretskii
2019-03-22 12:43                             ` Basil L. Contovounesios
2019-03-22 13:05                             ` Stefan Monnier
2019-03-22 13:30                               ` Konstantin Kharlamov
2019-03-22 13:44                                 ` Stefan Monnier
2019-03-22 16:46                                   ` Glenn Morris
2019-03-22 18:56                                     ` Stefan Monnier
2019-03-22 13:32                               ` Eli Zaretskii
2019-03-22 13:48                                 ` Stefan Monnier
2019-03-22 14:37                                   ` Eli Zaretskii
2019-03-22 14:50                                     ` Dmitry Gutov
2019-03-22 15:31                                       ` Eli Zaretskii
2019-03-22 16:46                                         ` Dmitry Gutov
2019-03-22 16:23                                     ` Michael Albinus
2019-03-22 16:37                                       ` Eli Zaretskii
2019-03-22 16:48                                         ` Michael Albinus
2019-03-22 17:22                                           ` Eli Zaretskii
2019-03-22 16:52                                       ` Glenn Morris
2019-03-22 16:57                                         ` Michael Albinus
2019-03-22 17:24                                           ` Eli Zaretskii
2019-03-24 13:53                                             ` Michael Albinus
2019-03-24 15:52                                               ` Eli Zaretskii
2019-03-25 16:29                                                 ` Michael Albinus
2019-03-25 17:09                                                   ` Eli Zaretskii
2019-03-25 17:52                                                     ` Tadeus Prastowo
2019-03-25 17:56                                                       ` Michael Albinus
2019-03-25 17:54                                                     ` Michael Albinus
2019-03-22 18:50                                           ` Glenn Morris
2019-03-22 19:00                                             ` Dmitry Gutov
2019-03-22 17:23                                         ` Eli Zaretskii
2019-04-20 23:26                           ` Dmitry Gutov
2019-04-21  5:43                             ` Eli Zaretskii
2019-04-21  7:58                               ` Michael Albinus
2019-04-25  1:17                                 ` Dmitry Gutov
2019-04-25  8:17                                   ` Michael Albinus
2019-04-25  1:06                               ` Dmitry Gutov
2019-04-25  9:22                                 ` Eli Zaretskii
2019-04-25 10:35                                   ` Dmitry Gutov
2019-04-25 10:55                                     ` Eli Zaretskii
2019-04-25 15:01                                       ` Dmitry Gutov
2019-04-25 19:54                                         ` Eli Zaretskii
2019-04-25 23:16                                           ` Dmitry Gutov
2019-04-26  7:52                                             ` Michael Albinus
2019-04-26 12:49                                               ` Dmitry Gutov
2019-04-26 13:03                                                 ` Michael Albinus
2019-04-26  8:05                                             ` Eli Zaretskii
2019-04-27  1:40                                               ` Dmitry Gutov
2019-04-27  9:43                                                 ` Eli Zaretskii
2019-05-15  2:04                                                   ` Dmitry Gutov
2019-05-15  2:30                                                 ` Lars Ingebrigtsen
2019-05-15  5:42                                                   ` Lars Ingebrigtsen
2019-05-15 13:45                                                     ` Dmitry Gutov
2019-05-15 14:34                                                     ` Eli Zaretskii
2019-05-16  3:57                                                       ` Lars Ingebrigtsen
2019-05-16 13:41                                                         ` Eli Zaretskii
2019-05-16 13:48                                                           ` Lars Ingebrigtsen
2019-05-16 14:09                                                             ` Eli Zaretskii
2019-05-16 14:34                                                               ` debbugs extensions (was: [RFE] Migration to gitlab) Michael Albinus
2019-05-16 23:40                                                                 ` Noam Postavsky
2019-05-17  7:30                                                                   ` debbugs extensions Michael Albinus
2019-05-17  8:40                                                                     ` Eli Zaretskii
2019-05-17  9:25                                                                       ` Michael Albinus
2019-05-17 10:45                                                                     ` Noam Postavsky
2019-05-15 13:37                                                   ` [RFE] Migration to gitlab Dmitry Gutov
2019-05-16  3:54                                                     ` Lars Ingebrigtsen
2019-04-26  8:42                                         ` Ricardo Wurmus
2019-04-26 19:41                                           ` Dmitry Gutov
2019-03-20  1:02                   ` Dmitry Gutov
2019-03-18  1:48         ` Richard Stallman
2019-03-18  2:41           ` Tim Cross
2019-03-18 13:19             ` Van L
2019-03-19  2:15             ` Richard Stallman
2019-03-19 14:24               ` Dmitry Gutov
2019-03-20  2:33                 ` Richard Stallman
2019-03-18 16:14           ` Karl Fogel
2019-03-17 16:48   ` Eric Abrahamsen
2019-03-17 18:05     ` Amin Bandali
2019-03-17  3:40 ` Eli Zaretskii
2019-03-17 12:37 ` Philippe Vaucher
2019-03-17 13:14   ` Tadeus Prastowo
2019-03-17 13:23     ` Konstantin Kharlamov
2019-03-17 13:49       ` Tadeus Prastowo
2019-03-17 14:06         ` Konstantin Kharlamov
2019-03-17 14:26           ` Tadeus Prastowo
2019-03-17 15:06   ` Stefan Monnier
2019-03-17 16:55     ` Eli Zaretskii
2019-03-17 17:45       ` Stefan Monnier
2019-03-17 17:29     ` Alex
2019-04-18  8:27       ` Toon Claes
2019-04-20 21:12         ` Dmitry Gutov
2019-04-23 21:08           ` Toon Claes
2019-04-24 15:26             ` Alex Gramiak
2019-04-25  8:24               ` Toon Claes
2019-04-25 13:45                 ` Alex Gramiak
2019-04-25  0:42             ` Dmitry Gutov
2019-04-25  8:32             ` Eli Zaretskii
2019-05-10  9:16               ` Toon Claes
2019-05-10  9:49                 ` Eli Zaretskii
2019-05-10 10:37                   ` 조성빈
2019-05-10 12:21                     ` Eli Zaretskii
2019-05-10 13:09                       ` 조성빈
2019-05-10 22:23                       ` Alex Gramiak
2019-05-11  2:12                         ` Alan Mackenzie
2019-05-11  3:47                           ` 조성빈
2019-05-11  7:01                             ` Eli Zaretskii
2019-05-11  7:38                               ` 조성빈
2019-05-11 10:02                                 ` Eli Zaretskii
2019-05-11 13:13                                   ` Dmitry Gutov
2019-05-11 13:49                                     ` Eli Zaretskii
2019-05-11 13:57                                       ` Dmitry Gutov
2019-05-11 14:04                                         ` Eli Zaretskii
2019-05-11 19:25                                   ` Basil L. Contovounesios
2019-05-11 19:25                               ` Basil L. Contovounesios
2019-05-11 19:24                             ` Basil L. Contovounesios
2019-05-11 19:22                           ` Basil L. Contovounesios
2019-05-12 15:50                             ` Alan Mackenzie
2019-05-12 20:51                               ` Basil L. Contovounesios
2019-06-18 15:36                                 ` Simon Leinen
2019-06-25 22:38                                   ` Basil L. Contovounesios
2019-06-26 18:01                                     ` Simon Leinen
2019-06-26 18:21                                       ` Basil L. Contovounesios
2019-05-12  0:58                           ` Alex Gramiak
2019-05-11  6:32                         ` Eli Zaretskii
2019-05-12  0:23                           ` Alex Gramiak
2019-05-12  5:31                             ` Eli Zaretskii
2019-05-12  7:04                               ` Tassilo Horn
2019-05-12 13:56                                 ` Eli Zaretskii
2019-05-13  4:32                                 ` Tassilo Horn
2019-05-13 14:51                                   ` Eli Zaretskii
2019-05-13 18:24                                     ` Clément Pit-Claudel
2019-05-13 16:41                                   ` [OFFTOPIC] size of issue tracker (was: [RFE] Migration to gitlab) Stefan Monnier
2019-05-13 17:42                                     ` Eli Zaretskii
2019-05-13 18:55                                       ` [OFFTOPIC] size of issue tracker Stefan Monnier
2019-05-13 18:59                                         ` Óscar Fuentes
2019-05-13 19:16                                           ` Stefan Monnier
2019-05-13 18:59                                       ` Tassilo Horn
2019-05-13 20:02                                         ` Tassilo Horn
2019-05-13 20:11                                           ` Tassilo Horn
2019-05-13 20:56                                             ` Stefan Monnier
2019-05-14  8:43                                         ` Toon Claes
2019-05-14 19:58                                     ` Stefan Monnier
2019-05-15  7:45                                       ` Toon Claes
2019-05-15 14:04                                         ` Stefan Monnier
2019-05-15 14:41                                         ` Eli Zaretskii
2019-05-16 17:54                                     ` Clemens Radermacher
2019-05-16 19:58                                       ` Stefan Monnier
2019-05-16 23:19                                         ` Jean-Christophe Helary
2019-05-16 23:31                                           ` Stefan Monnier
2019-05-19 19:34                                       ` Juri Linkov
2019-05-19 20:12                                         ` Stefan Monnier
2019-05-19 20:46                                           ` Juri Linkov
2019-05-20 11:57                                           ` Toon Claes
2019-05-20 12:29                                             ` Basil L. Contovounesios
2019-05-10 11:16                   ` [RFE] Migration to gitlab Dmitry Gutov
2019-05-10 12:54                     ` Eli Zaretskii
2019-05-10 13:56                       ` Dmitry Gutov
2019-05-10 14:19                         ` Eli Zaretskii
2019-05-10 14:32                           ` Tadeus Prastowo
2019-05-10 14:56                             ` Óscar Fuentes
2019-05-10 15:16                               ` Tadeus Prastowo
2019-05-10 15:00                           ` 조성빈
2019-05-10 15:26                             ` Clément Pit-Claudel [this message]
2019-05-11 12:13                               ` Eli Zaretskii
2019-05-11 15:37                                 ` Clément Pit-Claudel
2019-05-11 15:51                                   ` Eli Zaretskii
2019-05-11 15:57                                     ` Clément Pit-Claudel
2019-05-13  8:47                                   ` Toon Claes
2019-05-10 16:33                           ` Dmitry Gutov
2019-05-10 20:43                             ` Eli Zaretskii
2019-05-10 21:12                               ` Óscar Fuentes
2019-05-11  6:13                                 ` Eli Zaretskii
2019-05-11  6:16                                   ` 조성빈
2019-05-11 12:16                                     ` Eli Zaretskii
2019-05-11 12:34                                       ` Dmitry Gutov
2019-05-11 12:40                                         ` Eli Zaretskii
2019-05-11 13:29                                           ` Amin Bandali
2019-05-11 13:58                                             ` Eli Zaretskii
2019-05-11 14:06                                               ` Eli Zaretskii
2019-05-11 14:42                                                 ` Amin Bandali
2019-05-11 14:57                                                   ` Eli Zaretskii
2019-05-11 16:09                                                     ` Amin Bandali
2019-05-11 14:11                                               ` Amin Bandali
2019-05-11 15:41                                   ` 조성빈
2019-05-13  9:23                                     ` Toon Claes
2019-05-10 21:32                               ` Stefan Monnier
2019-05-10 21:56                               ` Alex Gramiak
2019-05-11  6:22                                 ` Eli Zaretskii
2019-05-11 19:19                               ` Basil L. Contovounesios
2019-05-13  1:43                               ` Dmitry Gutov
2019-05-13  1:45                                 ` Dmitry Gutov
2019-05-13 14:48                                 ` Eli Zaretskii
2019-05-13 18:14                                   ` Dmitry Gutov
2019-05-13  9:03                             ` Toon Claes
2019-05-13 18:22                               ` Dmitry Gutov
2019-05-14 10:23                                 ` EMBA enable Reply by Email (was: [RFE] Migration to gitlab) Toon Claes
2019-05-10 14:02                       ` [RFE] Migration to gitlab Óscar Fuentes
2019-05-10 14:28                         ` Eli Zaretskii
2019-05-10 14:54                           ` Óscar Fuentes
2019-05-10 15:34                             ` Eli Zaretskii
2019-05-10 16:23                             ` Alan Mackenzie
2019-05-12 19:09                         ` Juri Linkov
2019-05-12 22:24                           ` Óscar Fuentes
2019-05-14 13:13                             ` Stefan Monnier
2019-05-10 14:02                   ` Debbugs problems (was: [RFE] Migration to gitlab) Stefan Monnier
2019-05-10 14:24                     ` Debbugs problems Michael Albinus
2019-05-10 15:16                       ` Eli Zaretskii
2019-05-13  1:09                       ` Dmitry Gutov
2019-05-13 14:27                         ` Eli Zaretskii
2019-05-13 17:56                           ` Dmitry Gutov
2019-05-13 18:03                             ` Eli Zaretskii
2019-05-13 18:57                               ` Óscar Fuentes
2019-05-14 14:36                                 ` Eli Zaretskii
2019-05-13 20:20                               ` Dmitry Gutov
2019-05-14 14:36                                 ` Eli Zaretskii
2019-05-10 10:41                 ` [RFE] Migration to gitlab Dmitry Gutov
2019-05-10 15:23                   ` Toon Claes
2019-05-10 13:48                 ` Stefan Monnier
2019-03-17 17:49 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22f3aceb-e562-b1ee-03da-90d29b007b46@gmail.com \
    --to=cpitclaudel@gmail.com \
    --cc=agrambot@gmail.com \
    --cc=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=pcr910303@icloud.com \
    --cc=toon@iotcl.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).