user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* Random idea: Exporting GitHub to mailing lists
@ 2019-04-23 16:59 Leah Neukirchen
  2019-04-23 18:53 ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Leah Neukirchen @ 2019-04-23 16:59 UTC (permalink / raw)
  To: meta

Hey,

just a random idea that occurred to me after a project was deleted on
Github, and while its source exists in many checkouts, issues and PRs
are probably lost: it would be nice to have a tool to incrementally
fetch issues (and their comments) and PR on Github and feed them into
a mailing list (which is then backed by public-inbox), for archival
and non-web subscription.

If anyone needs a project to hack on. ;)

cu,
-- 
Leah Neukirchen  <leah@vuxu.org>  http://leahneukirchen.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Random idea: Exporting GitHub to mailing lists
  2019-04-23 16:59 Random idea: Exporting GitHub to mailing lists Leah Neukirchen
@ 2019-04-23 18:53 ` Eric Wong
  2019-04-30  9:22   ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Wong @ 2019-04-23 18:53 UTC (permalink / raw)
  To: Leah Neukirchen; +Cc: meta

Leah Neukirchen <leah@vuxu.org> wrote:
> Hey,
> 
> just a random idea that occurred to me after a project was deleted on
> Github, and while its source exists in many checkouts, issues and PRs
> are probably lost: it would be nice to have a tool to incrementally
> fetch issues (and their comments) and PR on Github and feed them into
> a mailing list (which is then backed by public-inbox), for archival
> and non-web subscription.

The Samba team had something that did that on their mailing lists when
they were on GitHub.  Not sure if they have something similar now
they're on GitLab (I would hope so).

There's also https://github-backup.branchable.com/ which at least
fetches the data locally into git and could be send-email-ed.

> If anyone needs a project to hack on. ;)

The code definitely exists somewhere in some Samba repo and
it'd probably be easily adapted :>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Random idea: Exporting GitHub to mailing lists
  2019-04-23 18:53 ` Eric Wong
@ 2019-04-30  9:22   ` Eric Wong
  2019-04-30 13:39     ` Leah Neukirchen
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Wong @ 2019-04-30  9:22 UTC (permalink / raw)
  To: Leah Neukirchen; +Cc: meta

Eric Wong <e@80x24.org> wrote:
> The code definitely exists somewhere in some Samba repo and
> it'd probably be easily adapted :>

Did you find that?

Btw, there's also GitGitGadget, which works for pull requests;
but AFAIK not comments/issues:

   https://github.com/gitgitgadget/gitgitgadget.git

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Random idea: Exporting GitHub to mailing lists
  2019-04-30  9:22   ` Eric Wong
@ 2019-04-30 13:39     ` Leah Neukirchen
  2019-05-01 12:44       ` Leah Neukirchen
  0 siblings, 1 reply; 6+ messages in thread
From: Leah Neukirchen @ 2019-04-30 13:39 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta

Eric Wong <e@80x24.org> writes:

> Eric Wong <e@80x24.org> wrote:
>> The code definitely exists somewhere in some Samba repo and
>> it'd probably be easily adapted :>
>
> Did you find that?

Yes, #samba-technical helped me find
https://github.com/abartlet/gh-mailinglist-notifications

> Btw, there's also GitGitGadget, which works for pull requests;
> but AFAIK not comments/issues:
>
>    https://github.com/gitgitgadget/gitgitgadget.git

I know of that one, but merged PR are usually self-documenting enough.

-- 
Leah Neukirchen  <leah@vuxu.org>  http://leah.zone

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Random idea: Exporting GitHub to mailing lists
  2019-04-30 13:39     ` Leah Neukirchen
@ 2019-05-01 12:44       ` Leah Neukirchen
  2019-05-14  1:03         ` Eric Wong
  0 siblings, 1 reply; 6+ messages in thread
From: Leah Neukirchen @ 2019-05-01 12:44 UTC (permalink / raw)
  To: Eric Wong; +Cc: meta

Leah Neukirchen <leah@vuxu.org> writes:

> Eric Wong <e@80x24.org> writes:
>
>> Eric Wong <e@80x24.org> wrote:
>>> The code definitely exists somewhere in some Samba repo and
>>> it'd probably be easily adapted :>
>>
>> Did you find that?
>
> Yes, #samba-technical helped me find
> https://github.com/abartlet/gh-mailinglist-notifications

I have set this up for
https://github.com/leahneukirchen/mblaze/
now at
https://inbox.vuxu.org/mblaze-github/

Code is at
https://github.com/leahneukirchen/gh-mailinglist-notifications

It does, however, require installing a webhook, so I cannot be used to
monitor foreign repositories.

-- 
Leah Neukirchen  <leah@vuxu.org>  http://leahneukirchen.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Random idea: Exporting GitHub to mailing lists
  2019-05-01 12:44       ` Leah Neukirchen
@ 2019-05-14  1:03         ` Eric Wong
  0 siblings, 0 replies; 6+ messages in thread
From: Eric Wong @ 2019-05-14  1:03 UTC (permalink / raw)
  To: Leah Neukirchen; +Cc: meta

Leah Neukirchen <leah@vuxu.org> wrote:
> Code is at
> https://github.com/leahneukirchen/gh-mailinglist-notifications
> 
> It does, however, require installing a webhook, so I cannot be used to
> monitor foreign repositories.

Ability to monitor foreign repos could make it a killer feature :)

I actually tried github-mirror the other day, and it seems
great for monitoring repos without needing an account.

Unfortunately, it serializes to a Haskell-only format which
makes interop for Haskell illiterates (me) difficult.

I suppose one could parse it to a better format with some REs
using Perl, as I haven't found existing parsers...

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-05-14  1:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23 16:59 Random idea: Exporting GitHub to mailing lists Leah Neukirchen
2019-04-23 18:53 ` Eric Wong
2019-04-30  9:22   ` Eric Wong
2019-04-30 13:39     ` Leah Neukirchen
2019-05-01 12:44       ` Leah Neukirchen
2019-05-14  1:03         ` Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.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).