Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserving / Accessing Raku IRC Log History #280

Closed
lizmat opened this issue Apr 28, 2021 · 8 comments
Closed

Preserving / Accessing Raku IRC Log History #280

lizmat opened this issue Apr 28, 2021 · 8 comments
Assignees
Labels
infrastructure Servers, hosting, cloud, monitoring, backup and automation

Comments

@lizmat
Copy link
Collaborator

lizmat commented Apr 28, 2021

The Raku Programming Language has a long history of development. A large part of that history is preserved in blog posts: keeping that history is hopefully possible with the CCR project.

Another large part of the Raku history happened on IRC. Currently, these logs are kept on an external website: https://colabti.org. Although this is a great service, it is a service that has been without significant development for the past 13 years. And it has been offline for a few days in the past without a clear indication of who to call to get it back up again.

I think the Raku community needs to be holding up its own in that respect.

I therefor propose the following:

  • keep a log of all Raku IRC channels in a Github Repo under the "Raku" organisation. Note that I have such a repo already for testing: it would simply be a matter of moving that here

  • have a Raku channel logger running doing our own logging. Note that I have developed the IRC::Client::Plugin::Logger for that purpose (logging in Colabti format), and that has been running stable internally as LizBot on the #raku, #raku-dev and #moarvm channels for a week now. I will be able to run that service locally for the foreseeable future.

  • have an API to access the IRC logs. Note that I have developed IRC::Log::Colabti and IRC::Channel::Log for that purpose.

  • have a Cro-based server / webservice to provide a web presence of these logs in a way that does not look like it's 1995 (or 2008 for that matter). I'm working on that, but could use some help with the HTML / Javascript frontend. I will be able to run this service in the short-term, possibly even in the longer term.

All of this should result in a service to the Raku community, and be a nice showcase of the use of the Raku Programming Language (no nqp:: ops were involved in any of the code written so far). And possibly, if properly containerized / configurable, it could well be an app that other communities that use IRC channels would want to use as well.

@lizmat lizmat added the infrastructure Servers, hosting, cloud, monitoring, backup and automation label Apr 28, 2021
@lizmat lizmat self-assigned this Apr 28, 2021
@lizmat
Copy link
Collaborator Author

lizmat commented Apr 28, 2021

@lizmat
Copy link
Collaborator Author

lizmat commented Apr 28, 2021

In order to create a never ending scrollable view of the IRC logs, the web server API should be able to produce JSON for a given number of messages before / after a given message.

lizmat added a commit that referenced this issue Apr 28, 2021
Note, this is only part of solving issue #280.
@AlexDaniel
Copy link
Member

AlexDaniel commented Apr 28, 2021

Although this is a great service, it is a service that has been without significant development for the past 13 years. And it has been offline for a few days in the past without a clear indication of who to call to get it back up again.

If anything happens, talk to user feb on #irclogger. They respond very quickly and usually all issues are resolved in a timely manner. Moreover they were kind enough to spend time on importing logs from the previous logging server when it went down. Not to discourage you from creating a new logger, just pointing out how to get help with the current one. Also, they will likely be able to provide you with dumps to preseed your new logger with historical data.

@patrickbkr
Copy link
Member

What's the reason for keeping the logs on GitHub? Intuitively I'd kept them in plain text files on our own infrastructure (and maybe as backup on GitHub) as they don't really need any versioning. Or is that already what's happening?

@lizmat
Copy link
Collaborator Author

lizmat commented Apr 29, 2021

Or is that already what's happening?

To my knowledge, nothing is kept on Raku infrastructure at this moment. If you'd consider Moritz' server as "our infrastructure", then it was until he decided to not run the risk of any GDPR issues.

kept them in plain text files

This is how they exist on the Colabti site, and now in my private repo, one day per file.

maybe as backup on GitHub

Well, if we're going to keep them on Github, why not make them publicly accessible as well. And make that the primary "backup" ?

In any case, there have been cases when the logs have been adapted, e.g. to remove spam. Keeping them on Github thus allows keeping track of changes.

@jnthn
Copy link
Contributor

jnthn commented Jun 9, 2021

@lizmat Is this issue resolved through the merge of #281?

@lizmat
Copy link
Collaborator Author

lizmat commented Jun 10, 2021

No. There will be another pull request once the temporary server is production ready. That PR will be about the integration into the rest of raku.org. In honor of the original IRC log web site, I was thinking of using the URL "irclogs.raku.org".

@gfldex
Copy link

gfldex commented Jun 17, 2021

"chatlogs.raku.org" may be better. We already got a Discord server and more platforms may follow.

@lizmat lizmat closed this as completed Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Servers, hosting, cloud, monitoring, backup and automation
Projects
None yet
Development

No branches or pull requests

5 participants