Could you guide me on how to contribute to the BookBrainz project?
2019-12-04 33814, 2019
CODEin_JDB joined the channel
2019-12-04 33815, 2019
outsidecontext
Hi sangeetk. That's great, help on Picard is always welcome :)
2019-12-04 33824, 2019
sangeetk
Hi outsidecontext, could you guide me on how to start contributing to the picard project?
2019-12-04 33805, 2019
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
2019-12-04 33843, 2019
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.
2019-12-04 33842, 2019
outsidecontext
sangeetk: do you have something specific in mind you want to do?
2019-12-04 33843, 2019
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
2019-12-04 33805, 2019
outsidecontext
great. I'm happy to help if you have some questions
2019-12-04 33821, 2019
sangeetk
Thank you
2019-12-04 33842, 2019
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.
2019-12-04 33824, 2019
outsidecontext
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
2019-12-04 33821, 2019
wdice
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.
2019-12-04 33852, 2019
alastairp
also, ensure you're using an administrator console, not a regular one
2019-12-04 33857, 2019
alastairp
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
2019-12-04 33819, 2019
Rishikesh
Yup its up, The problem was my CMD window was a regular one not an admin one. Thanks for the help
2019-12-04 33831, 2019
yvanzo
Thanks alastairp :)
2019-12-04 33809, 2019
alastairp
Rishikesh: it's worth pointing out that error message did actually say this, though perhaps not using terminology that you were familiar with
2019-12-04 33821, 2019
sbvkrishna
good to know it's resolved
2019-12-04 33829, 2019
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
2019-12-04 33828, 2019
Rishikesh
I'm trying to complete this bookBrainz task Migrate React-FontAwesome icons on BookBrainz.
2019-12-04 33826, 2019
Rishikesh
Okay so a similar issue is popping up again, but for a different file.
2019-12-04 33854, 2019
sbvkrishna
Rishikesh: I'm not sure if 3gb ram on windows can handle BookBrainz/MusicBrainz
2019-12-04 33816, 2019
alastairp
OK, bookbrainz has a smaller database, so hopefully it should work 👍
2019-12-04 33816, 2019
sbvkrishna
For BookBrainz, running dependencies alone(via Docker) use up 2.3gb available ram
2019-12-04 33847, 2019
Rishikesh
sbvkrishna I'm already starting to run into hiccups my computer crashed while trying to load BookBrainz.
2019-12-04 33856, 2019
Rishikesh
Will abandoning an Task affect me in a negative way in GCI?
2019-12-04 33827, 2019
sbvkrishna
Don't worry. you can use a work around
2019-12-04 33809, 2019
Rishikesh
What's that workaround?
2019-12-04 33855, 2019
thomasross joined the channel
2019-12-04 33852, 2019
sbvkrishna
Using a VM (virtual machine) for running those dependencies. I'll write about it as a comment on the task
2019-12-04 33816, 2019
Rishikesh
Okay thanks I'll Do it.
2019-12-04 33802, 2019
heyoni has quit
2019-12-04 33847, 2019
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
2019-12-04 33848, 2019
alastairp
on windows
2019-12-04 33801, 2019
Cyna
Im have provisioned 2gb ram on my docker desktop for both MM and BB
2019-12-04 33804, 2019
Cyna
*MB
2019-12-04 33812, 2019
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.
2019-12-04 33812, 2019
Mr_Monkey
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.
2019-12-04 33848, 2019
sbvkrishna
alastairp: opps I was actually referring to an EC2 instance
2019-12-04 33859, 2019
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 ;)
2019-12-04 33817, 2019
sbvkrishna
Mr_Monkey: That's working great
2019-12-04 33858, 2019
heyoni has quit
2019-12-04 33802, 2019
sbvkrishna
2.4gb to 160mb 😂
2019-12-04 33833, 2019
alastairp
sbvkrishna: ah right, great idea. on the free tier?
2019-12-04 33810, 2019
aidanlw17
Wow!
2019-12-04 33828, 2019
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
2019-12-04 33855, 2019
sbvkrishna
Rishikesh: did you make a "config.json" file ?
2019-12-04 33828, 2019
Rishikesh
I'm confused in that part.
2019-12-04 33835, 2019
sbvkrishna
I see
2019-12-04 33813, 2019
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
2019-12-04 33813, 2019
willm
references to them in the sql
2019-12-04 33858, 2019
sbvkrishna
Rishikesh: All you need to do is "create a copy of config.json.example and rename it to config.json".
2019-12-04 33813, 2019
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
2019-12-04 33850, 2019
alastairp
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
2019-12-04 33821, 2019
alastairp
this comes up often enough that we should add something about it to the readme
2019-12-04 33836, 2019
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.
2019-12-04 33845, 2019
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
2019-12-04 33859, 2019
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
2019-12-04 33818, 2019
Rishikesh
sbvkrishna I have made the config.jason file now what next?
2019-12-04 33816, 2019
willm
yes that was what I'm thinking alastairp, it will be my sysops colleague who can help there :)
2019-12-04 33834, 2019
alastairp
make it someone else's problem. I like it
2019-12-04 33818, 2019
Wassabi has quit
2019-12-04 33835, 2019
Wassabi joined the channel
2019-12-04 33806, 2019
alastairp
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