Could you guide me on how to contribute to the BookBrainz project?
CODEin_JDB joined the channel
outsidecontext
Hi sangeetk. That's great, help on Picard is always welcome :)
sangeetk
Hi outsidecontext, could you guide me on how to start contributing to the picard project?
outsidecontext
how to get into it depends a bit on what you want to do, what your experience with Python and PyQt is and where you need some help. But most contributors start but fixing something small in Picard, either something they personally like to see fixed or some issue reported on https://tickets.metabrainz.org/projects/PICARD
Mr_Monkey
Sure. It depends on what type of contribution you're looking for. There are two main areas: editing the database (adding or correcting entries on the website), and coding (that can be writing new features, fixing bugs or writing docs or tests, etc.)
Sure @outsidecontext, thank you so much for the help.
outsidecontext
sangeetk: do you have something specific in mind you want to do?
sangeetk
Getting my feet wet by getting familiar with the codebase. Would discuss with you once I have something specific that I would like to work on
outsidecontext
great. I'm happy to help if you have some questions
sangeetk
Thank you
outsidecontext
Oh, some other thing to get into Picard is working on a plugin. Plugins are isolated enough to be usually easy to understand even without being familiar with Picard's internals, but you still get to know some basics, e.g. how Picard handles tags etc.
https://github.com/metabrainz/picard-plugins , existing plugins can serve as an example, and also there are some issues on github that are waiting for someone to tackle them ;)
psql:/musicbrainz-server/admin/sql/Extensions.sql:6: ERROR: could not open extension control file "/opt/bitnami/postgresql/share/extension/musicbrainz_unaccent.control": No such file or directory
anyone come across this before? Can get around it by commenting out the 2 musicbrainz extentions in the sql file
Ok, you can try 'net start com.docker.service' now.
alastairp
also, ensure you're using an administrator console, not a regular one
also, it's a small thing, but the command that you have to run is "docker run hello-world", with a hyphen between hello and world. Without it you'll get a different error message
Rishikesh
Yup its up, The problem was my CMD window was a regular one not an admin one. Thanks for the help
yvanzo
Thanks alastairp :)
alastairp
Rishikesh: it's worth pointing out that error message did actually say this, though perhaps not using terminology that you were familiar with
sbvkrishna
good to know it's resolved
alastairp
Rishikesh: which project are you planning on installing? with only 3gb of ram you're going to have a lot of trouble trying to install musicbrainz
Rishikesh
I'm trying to complete this bookBrainz task Migrate React-FontAwesome icons on BookBrainz.
Okay so a similar issue is popping up again, but for a different file.
sbvkrishna
Rishikesh: I'm not sure if 3gb ram on windows can handle BookBrainz/MusicBrainz
alastairp
OK, bookbrainz has a smaller database, so hopefully it should work 👍
sbvkrishna
For BookBrainz, running dependencies alone(via Docker) use up 2.3gb available ram
Rishikesh
sbvkrishna I'm already starting to run into hiccups my computer crashed while trying to load BookBrainz.
Will abandoning an Task affect me in a negative way in GCI?
sbvkrishna
Don't worry. you can use a work around
Rishikesh
What's that workaround?
thomasross joined the channel
sbvkrishna
Using a VM (virtual machine) for running those dependencies. I'll write about it as a comment on the task
Rishikesh
Okay thanks I'll Do it.
heyoni has quit
alastairp
sbvkrishna: I'm curious as to why you see that a virtual machine is faster? docker uses a virtual machine in the background too
on windows
Cyna
Im have provisioned 2gb ram on my docker desktop for both MM and BB
*MB
Mr_Monkey
Rishikesh: One of our dependencies, (ElasticSearch, a search server) uses a lot of resources. For the task you're working on, I don't think you'll need it running.
What you could try is modifying the `docker-compose.yml` file so that it doesn't run `elasticsearch`.
I commented out any mention of elasticsearch. You can try running like that, see if it works any better. For info, you'll get a couple of errors appear in the console, but they won't stop the project from running.
sbvkrishna
alastairp: opps I was actually referring to an EC2 instance
Rishikesh
Mr_Monkey can you tell me how exactly am I going to modify it?
And when you get to the stage of comitting your work, don't forget *not* to commit that docker-compose.yml file ;)
sbvkrishna
Mr_Monkey: That's working great
heyoni has quit
2.4gb to 160mb 😂
alastairp
sbvkrishna: ah right, great idea. on the free tier?
aidanlw17
Wow!
Rishikesh
I'm getting the error for the config.jason again. I think I will start the entire process from the beginning, would anyone here mind sharing step by step instructions?
sbvkrishna I'm kinda confused my the instructions on github
sbvkrishna
Rishikesh: did you make a "config.json" file ?
Rishikesh
I'm confused in that part.
sbvkrishna
I see
willm
hey, attempting to put 3 of the musicbrainz-docker containers into a kubernetes cluster (without the db one as using aws rds) running the create db script gives "psql:/musicbrainz-server/admin/sql/Extensions.sql:8: ERROR: Extension "musicbrainz_unaccent" is not supported by Amazon RDS" How important are the custom extensions? I could comment out
references to them in the sql
sbvkrishna
Rishikesh: All you need to do is "create a copy of config.json.example and rename it to config.json".
alastairp
willm: hi, what's your end goal for the server? just API access? unfortunately this extension and the collate extension are used significantly in data loading in the MB server
even if you didn't install it, you'd fail to build some indexes and run many queries, as musicbrainz_collate is used for text ordering
this comes up often enough that we should add something about it to the readme
yvanzo
hi willm(/wdice?), this is not needed if you just want to mirror the PostgreSQL database, but the rest might not work correctly as alastairp explained.
willm
yes API access mainly, ok thanks - yes wdice from earlier, had to reconnect. Can look at hosting the postgres differently rather than using RDS
alastairp
from a pragmatic point of view, spinning up another EC2 in a kube cluster is cheaper than the same spec RDS :-P, though I understand completely that getting someone else to deal with postgres is nice
Rishikesh
sbvkrishna I have made the config.jason file now what next?
willm
yes that was what I'm thinking alastairp, it will be my sysops colleague who can help there :)
alastairp
make it someone else's problem. I like it
Wassabi has quit
Wassabi joined the channel
willm: we do some tweaking of shared_buffers, and sometimes work_mem, you'll want to look into that to make the server run better