Hello friends, i am having problem while setting up the development environment in my windows machine could help me sorting out this problem. does anyone know about this
2024-03-05 06513, 2024
Abhi4 has quit
2024-03-05 06559, 2024
Satyaraj[m] joined the channel
2024-03-05 06559, 2024
Satyaraj[m]
lucifer (IRC): the static_builder container still keeps exiting with the same error as previous
2024-03-05 06504, 2024
Satyaraj[m]
<lucifer> "Satyaraj: try running `./develop..." <- This too isn't working
2024-03-05 06517, 2024
relaxoMob has quit
2024-03-05 06524, 2024
mara42 joined the channel
2024-03-05 06531, 2024
yvanzo
Hi Abhi4, sure, what is this problem?
2024-03-05 06529, 2024
mara42 has quit
2024-03-05 06538, 2024
Dev20 joined the channel
2024-03-05 06517, 2024
Dev20 has left the channel
2024-03-05 06522, 2024
yellowhatpro
Hi @yvanzo, long time. I had exams going on so couldn't do much. Recently I explored report generation stuff you told me about. For now, I checked a couple of pre-made scripts, extracted their sql queries and ran in rust binary using sqlx. Printing stuff works well. One thing that we will have to do is, generating the rust types of the tables that are results of sql queries we run in reports.
2024-03-05 06548, 2024
yellowhatpro
But yeah, I think apart from generating rust based structs, it would mostly be sql work and what new reports we can come up with. Am I heading the right direction ??
Umm, nothing much to tell as of now. Just thinking what reports we can come up with. Also, what config do we have to make to run rust binaries on server?
2024-03-05 06501, 2024
yellowhatpro
Yeah will try to join meetings soon
2024-03-05 06509, 2024
yvanzo
Can the binding be automatically generated for any schema already or does it require some manual tweaks?
2024-03-05 06518, 2024
yellowhatpro
No manual tweaks, all I have to do is sql-gen generate with proper args, and it generates types and the functions
2024-03-05 06521, 2024
yellowhatpro
I am thinking to create a github repo for only this purpose, that way we can just put it in cargo file of any project.
In this repo there will be types, and if there is any schema change, I can just generate the schema again and push. Are there any caveats in this approach?
2024-03-05 06524, 2024
relaxoMob joined the channel
2024-03-05 06552, 2024
yvanzo
yellowhatpro: It’s a very good beginning but it’s missing higher level features that will probably require code to be added separately.
2024-03-05 06540, 2024
yvanzo
I’m not sure that we should go for a fully-fledged binding already though, probably just something basic that allows you to build a more interesting app.
2024-03-05 06527, 2024
lucifer
Satyaraj[m]: that is weird, but I am not at my laptop at the moment. I'll try to help fix it later.
2024-03-05 06534, 2024
yvanzo
Example of missing features that would be helpful with generating reports: higher-level structs (for example `event` to gather all the`event_*`), redis caching…
2024-03-05 06503, 2024
yvanzo
Looking at previously proposed ideas of background task, the IA integration could be fully implemented in Rust using the basic binding that you already have: https://wiki.musicbrainz.org/Development/Summer_o…
that looks like the tests DBDefs is misconfigured, since it should be downloading the images through ssssss, not archive.org
2024-03-05 06501, 2024
yvanzo
that too ^^
2024-03-05 06503, 2024
bitmap
however the actual failure is from it not being able to retrieve the index.json file from the artwork-redirect service (the 404s in the browser console should be harmless)
2024-03-05 06539, 2024
bitmap
since that just means it can't display the images, which isn't tested (but we should still fix)
2024-03-05 06541, 2024
bitmap
I've seen this in other PRs too, so unclear if it's related to those changes...I'll run them locally to be sure
Hi! aerozol lucifer (IRC) i was checking today project ideas for soc, and the project i chose has 90 hours allocated. But I was thinking can I like also add something so it would be more than 90 hours? I know it sounds strange, but I actually quite like what I am doing right now and wanted to contribute more. Do you have any ideas what can i also add to it? I decided to add also importing functions, but I feel like i need more