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
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote:
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 Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
On 15-08-18 08:43 PM, Lex Trotman wrote:
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote:
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
On 19/08/15 05:46, Matthew Brush wrote:
On 15-08-18 08:43 PM, Lex Trotman wrote:
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote:
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
Le 21/08/2015 23:26, Enrico Tröger a écrit :
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 :)
On 15-08-21 02:26 PM, Enrico Tröger wrote:
On 19/08/15 05:46, Matthew Brush wrote:
On 15-08-18 08:43 PM, Lex Trotman wrote:
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote:
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
On 22 August 2015 at 09:54, Matthew Brush mbrush@codebrainz.ca wrote:
On 15-08-21 02:26 PM, Enrico Tröger wrote:
On 19/08/15 05:46, Matthew Brush wrote:
On 15-08-18 08:43 PM, Lex Trotman wrote:
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote:
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
Cheers, Matthew Brush
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
On 22/08/15 02:03, Lex Trotman wrote:
On 22 August 2015 at 09:54, Matthew Brush mbrush@codebrainz.ca wrote:
On 15-08-21 02:26 PM, Enrico Tröger wrote:
On 19/08/15 05:46, Matthew Brush wrote:
On 15-08-18 08:43 PM, Lex Trotman wrote:
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote:
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
On 15-08-22 12:51 AM, Enrico Tröger wrote:
On 22/08/15 02:03, Lex Trotman wrote:
On 22 August 2015 at 09:54, Matthew Brush mbrush@codebrainz.ca wrote:
On 15-08-21 02:26 PM, Enrico Tröger wrote:
On 19/08/15 05:46, Matthew Brush wrote:
On 15-08-18 08:43 PM, Lex Trotman wrote:
On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca wrote: > > 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
On 22/08/15 12:13, Matthew Brush wrote:
On 15-08-22 12:51 AM, Enrico Tröger wrote:
On 22/08/15 02:03, Lex Trotman wrote:
On 22 August 2015 at 09:54, Matthew Brush mbrush@codebrainz.ca wrote:
On 15-08-21 02:26 PM, Enrico Tröger wrote:
On 19/08/15 05:46, Matthew Brush wrote:
On 15-08-18 08:43 PM, Lex Trotman wrote: > > On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca > wrote: >> >> 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
Am 02.09.2015 um 22:13 schrieb Enrico Tröger:
On 22/08/15 12:13, Matthew Brush wrote:
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
On 02/09/15 22:58, Thomas Martitz wrote:
Am 02.09.2015 um 22:13 schrieb Enrico Tröger:
On 22/08/15 12:13, Matthew Brush wrote:
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
On 03/09/15 20:46, Enrico Tröger wrote:
On 02/09/15 22:58, Thomas Martitz wrote:
Am 02.09.2015 um 22:13 schrieb Enrico Tröger:
On 22/08/15 12:13, Matthew Brush wrote:
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
On 15-09-02 01:13 PM, Enrico Tröger wrote:
On 22/08/15 12:13, Matthew Brush wrote:
On 15-08-22 12:51 AM, Enrico Tröger wrote:
On 22/08/15 02:03, Lex Trotman wrote:
On 22 August 2015 at 09:54, Matthew Brush mbrush@codebrainz.ca wrote:
On 15-08-21 02:26 PM, Enrico Tröger wrote:
On 19/08/15 05:46, Matthew Brush wrote: > > On 15-08-18 08:43 PM, Lex Trotman wrote: >> >> On 19 August 2015 at 13:37, Matthew Brush mbrush@codebrainz.ca >> wrote: >>> >>> 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