user/dev discussion of public-inbox itself
 help / color / 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, back to index

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

user/dev discussion of public-inbox itself

Archives are clonable:
	git clone --mirror http://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.org/gmane.mail.public-inbox.general

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/ public-inbox