Discussion:
[Geany-Devel] Github Comment Mails
Matthew Brush
2015-08-19 03:37:06 UTC
Permalink
Hi,

Is it possible to make an archived mailing list which can contain
threads of comments posted to Github (maybe using Github API)? We have
sometimes when squash commits it deletes Github comments, but I thought
maybe we could have some stable backup + URL to link to (ex. in commit
messages, on the mailing list, etc) which could be searchable and
googlable and not be deleted by rebase.

Cheers,
Matthew Brush
Lex Trotman
2015-08-19 03:43:25 UTC
Permalink
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Cheers,
Matthew Brush
_______________________________________________
Devel mailing list
https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Matthew Brush
2015-08-19 03:46:28 UTC
Permalink
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.

Cheers,
Matthew Brush
Enrico Tröger
2015-08-21 21:26:00 UTC
Permalink
Post by Matthew Brush
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is "services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.

I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.

One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.

If you agree, I could work on this.


Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Colomban Wendling
2015-08-21 21:35:15 UTC
Permalink
Post by Enrico Tröger
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
Sounds like an interesting solution :)
Matthew Brush
2015-08-21 23:54:59 UTC
Permalink
Post by Enrico Tröger
Post by Matthew Brush
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is "services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.
I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
If you agree, I could work on this.
Sounds like a good idea.

Did you look at the Github API proper? We could probably hack up a
script to harvest the comments that way (it's really easy to use IIRC,
it's just some URL queries and JSON responses). It might still need a
service hook or cron event or something to trigger, but it might be
workable.

Cheers,
Matthew Brush
Lex Trotman
2015-08-22 00:03:25 UTC
Permalink
Post by Matthew Brush
Post by Enrico Tröger
Post by Matthew Brush
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is "services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.
I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
If you agree, I could work on this.
Sounds like a good idea.
Did you look at the Github API proper? We could probably hack up a script to
harvest the comments that way (it's really easy to use IIRC, it's just some
URL queries and JSON responses). It might still need a service hook or cron
event or something to trigger, but it might be workable.
Could probably just get them daily for this purpose.

Cheers
Lex
Post by Matthew Brush
Cheers,
Matthew Brush
_______________________________________________
Devel mailing list
https://lists.geany.org/cgi-bin/mailman/listinfo/devel
Enrico Tröger
2015-08-22 07:51:49 UTC
Permalink
Post by Lex Trotman
Post by Matthew Brush
Post by Enrico Tröger
Post by Matthew Brush
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is "services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.
I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
If you agree, I could work on this.
Sounds like a good idea.
Did you look at the Github API proper? We could probably hack up a script to
harvest the comments that way (it's really easy to use IIRC, it's just some
URL queries and JSON responses). It might still need a service hook or cron
event or something to trigger, but it might be workable.
Could probably just get them daily for this purpose.
I don't which way to go.
Grabbing the comments from the API is possible as I said above, I know
the API is quite easy to use, did so for the IRC commit messages and the
commit mails.

The Geany account notifications are very quick to setup. I don't
volunteer to write a script using the Github API although easy. If you
want to, I'd be happy to help setting it up if necessary.


Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Matthew Brush
2015-08-22 10:13:18 UTC
Permalink
Post by Enrico Tröger
Post by Lex Trotman
Post by Matthew Brush
Post by Enrico Tröger
Post by Matthew Brush
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have sometimes when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be deleted by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is "services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.
I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
If you agree, I could work on this.
Sounds like a good idea.
Did you look at the Github API proper? We could probably hack up a script to
harvest the comments that way (it's really easy to use IIRC, it's just some
URL queries and JSON responses). It might still need a service hook or cron
event or something to trigger, but it might be workable.
Could probably just get them daily for this purpose.
I don't which way to go.
Grabbing the comments from the API is possible as I said above, I know
the API is quite easy to use, did so for the IRC commit messages and the
commit mails.
The Geany account notifications are very quick to setup. I don't
volunteer to write a script using the Github API although easy. If you
want to, I'd be happy to help setting it up if necessary.
The email notifications way sounds clean and simple. If it turns out not
to work right, we could try more elaborate API scripts and such.

Cheers,
Matthew Brush
Enrico Tröger
2015-09-02 20:13:31 UTC
Permalink
Post by Matthew Brush
Post by Enrico Tröger
Post by Lex Trotman
Post by Matthew Brush
Post by Enrico Tröger
Post by Matthew Brush
Post by Lex Trotman
Hi,
Is it possible to make an archived mailing list which can contain threads of
comments posted to Github (maybe using Github API)? We have
sometimes
when
squash commits it deletes Github comments, but I thought maybe we could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be
deleted
by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is
"services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.
I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
If you agree, I could work on this.
Sounds like a good idea.
Did you look at the Github API proper? We could probably hack up a script to
harvest the comments that way (it's really easy to use IIRC, it's just some
URL queries and JSON responses). It might still need a service hook or cron
event or something to trigger, but it might be workable.
Could probably just get them daily for this purpose.
I don't which way to go.
Grabbing the comments from the API is possible as I said above, I know
the API is quite easy to use, did so for the IRC commit messages and the
commit mails.
The Geany account notifications are very quick to setup. I don't
volunteer to write a script using the Github API although easy. If you
want to, I'd be happy to help setting it up if necessary.
The email notifications way sounds clean and simple. If it turns out not
to work right, we could try more elaborate API scripts and such.
Done: http://lists.geany.org/pipermail/github-comments/

This is the new mailing list.
I added the list address as notification email address to the geanyadmin
user and make this user to watch all repositories of the Geany Github
organization.
We just need to remember to make the geanyadmin user watch any new
repositories we create or even any other repositories on Github as
necessary.

I don't think it's that useful to subscribe to this list, the archive is
probably more interesting.

For now, I didn't set up Gmane to archive this list. It might be useful
to have the archive searchable. If anyone wants to do it, feel free.

Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Thomas Martitz
2015-09-02 20:58:45 UTC
Permalink
Post by Enrico Tröger
Post by Matthew Brush
The email notifications way sounds clean and simple. If it turns out not
to work right, we could try more elaborate API scripts and such.
Done: http://lists.geany.org/pipermail/github-comments/
This is the new mailing list.
I added the list address as notification email address to the geanyadmin
user and make this user to watch all repositories of the Geany Github
organization.
We just need to remember to make the geanyadmin user watch any new
repositories we create or even any other repositories on Github as
necessary.
I don't think it's that useful to subscribe to this list, the archive is
probably more interesting.
For now, I didn't set up Gmane to archive this list. It might be useful
to have the archive searchable. If anyone wants to do it, feel free.
Thanks for your effort!

I guess making it searchable is the entire point, e.g. to find comments
that have been deleted on github main page already.

Best regards
Enrico Tröger
2015-09-03 18:46:51 UTC
Permalink
Post by Thomas Martitz
Post by Enrico Tröger
Post by Matthew Brush
The email notifications way sounds clean and simple. If it turns out not
to work right, we could try more elaborate API scripts and such.
Done: http://lists.geany.org/pipermail/github-comments/
This is the new mailing list.
I added the list address as notification email address to the geanyadmin
user and make this user to watch all repositories of the Geany Github
organization.
We just need to remember to make the geanyadmin user watch any new
repositories we create or even any other repositories on Github as
necessary.
I don't think it's that useful to subscribe to this list, the archive is
probably more interesting.
For now, I didn't set up Gmane to archive this list. It might be useful
to have the archive searchable. If anyone wants to do it, feel free.
Thanks for your effort!
I guess making it searchable is the entire point, e.g. to find comments
that have been deleted on github main page already.
Ok, I submitted a request to Gmane to include the list there. As it will
be manually processed at their side, it might take some time. I'll keep
you posted about progress.

For the records, it seems as simple as filing the form at
http://gmane.org/subscribe.php. This is what I've just done.

Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Enrico Tröger
2015-09-03 20:22:26 UTC
Permalink
Post by Enrico Tröger
Post by Thomas Martitz
Post by Enrico Tröger
Post by Matthew Brush
The email notifications way sounds clean and simple. If it turns out not
to work right, we could try more elaborate API scripts and such.
Done: http://lists.geany.org/pipermail/github-comments/
This is the new mailing list.
I added the list address as notification email address to the geanyadmin
user and make this user to watch all repositories of the Geany Github
organization.
We just need to remember to make the geanyadmin user watch any new
repositories we create or even any other repositories on Github as
necessary.
I don't think it's that useful to subscribe to this list, the archive is
probably more interesting.
For now, I didn't set up Gmane to archive this list. It might be useful
to have the archive searchable. If anyone wants to do it, feel free.
Thanks for your effort!
I guess making it searchable is the entire point, e.g. to find comments
that have been deleted on github main page already.
Ok, I submitted a request to Gmane to include the list there. As it will
be manually processed at their side, it might take some time. I'll keep
you posted about progress.
Gmane subscription finished.
The next message to the list should be visible also on Gmane.


Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Matthew Brush
2015-09-03 00:26:16 UTC
Permalink
Post by Enrico Tröger
Post by Matthew Brush
Post by Enrico Tröger
Post by Lex Trotman
Post by Matthew Brush
Post by Enrico Tröger
Post by Matthew Brush
Post by Lex Trotman
Post by Matthew Brush
Hi,
Is it possible to make an archived mailing list which can contain
threads of
comments posted to Github (maybe using Github API)? We have
sometimes
when
squash commits it deletes Github comments, but I thought maybe we
could have
some stable backup + URL to link to (ex. in commit messages, on the mailing
list, etc) which could be searchable and googlable and not be
deleted
by
rebase.
Or by the remote deleting the branch
Yeah, it would be archived and not affected by force pushes, delete
branches or editing of comments.
Nice idea.
The mailing list itself would be no problem at all. It's more difficult
to get the data from Github.
On https://github.com/geany/geany/settings/hooks there is
"services" and
they support "Email" but it will send mails only on pushes, not what we
want.
An alternative would a web hook where you can choose detailed on which
events the hook is triggered. But then you need something on the
receiving side which takes the event and transform it into a mail to
send it to the mailing list. Possible but requires some work.
I just had a quick look at the available other services
(https://api.github.com/hooks) to find one which support commit and PR
comments and support something self-hosted (i.e. no new dependency on
some third-party service) but didn't find anything suitable.
One more option might be to use the Geany Github account and watch the
Geany repositories with this account to get notifications this way.
We just need to take care to setup a separate email address in the
Github account settings for notifications because the primary address
will be used for account settings/notifications/password resets. Those
should not be sent to a public mailing list :).
Should be possible and probably the easiest way.
If you agree, I could work on this.
Sounds like a good idea.
Did you look at the Github API proper? We could probably hack up a script to
harvest the comments that way (it's really easy to use IIRC, it's just some
URL queries and JSON responses). It might still need a service hook or cron
event or something to trigger, but it might be workable.
Could probably just get them daily for this purpose.
I don't which way to go.
Grabbing the comments from the API is possible as I said above, I know
the API is quite easy to use, did so for the IRC commit messages and the
commit mails.
The Geany account notifications are very quick to setup. I don't
volunteer to write a script using the Github API although easy. If you
want to, I'd be happy to help setting it up if necessary.
The email notifications way sounds clean and simple. If it turns out not
to work right, we could try more elaborate API scripts and such.
Done: http://lists.geany.org/pipermail/github-comments/
This is the new mailing list.
I added the list address as notification email address to the geanyadmin
user and make this user to watch all repositories of the Geany Github
organization.
We just need to remember to make the geanyadmin user watch any new
repositories we create or even any other repositories on Github as
necessary.
I don't think it's that useful to subscribe to this list, the archive is
probably more interesting.
For now, I didn't set up Gmane to archive this list. It might be useful
to have the archive searchable. If anyone wants to do it, feel free.
Thanks!

It would definitively be useful to be searchable, but I have no idea how
to hack on that mailman (Gmane?) thing, or however it goes.

Cheers,
Matthew Brush
Continue reading on narkive:
Loading...