monkey Hi. I fixed the author and Disambiguation in this issue https://tickets.metabrainz.org/browse/BB-703. I also added loadGender middelware in series get request ```router.get('/:bbid', middleware.loadEntityRelationships, middleware.loadSeriesItems,middleware.loadGenders, (req, res) => {
_setSeriesTitle(res);
BrainzBot
BB-703: Series of authors are not displayed correctly
Siddhart1o1
entityRoutes.displayEntity(req, res);
});``` . can you help me with next steps?
pbryan
Hi Siddhart1o1, monkey's probably asleep right now.
monkey Thanks. Actually I Have not made new PR I wanted to some help in gender Field rest I have done. I added ```loadGenders``` middleware as you said, but I am not able to understand further.
I will wait for your further instruction. Meanwhile I will explore codebase, different projects and bugs. Thanks.
Or you can suggest some resources for the framework we are using, or any library. which will help me understand the codebase
kellnerd joined the channel
Siddhart1o1 has quit
Siddhart1o1 joined the channel
kellnerd has quit
Himanshu joined the channel
Siddhart1o1 has quit
Himanshu has quit
Deogee joined the channel
Deogee
Hello guys. I am interested in contributing to bookbrainz. I ran into an issue while setting up the project. I went through the chat backlog and couldnt find a solution.
The issue is that i'm getting the error "/usr/bin/env: ‘bash\r’: No such file or directory" when i run "/usr/bin/env: ‘bash\r’: No such file or directory"
i'm using wsl on windows
sorry i meant when i run ./scripts/database-init-docker.sh
If anyone could save me some time i'll appreiate
pbryan
Hi Deogee. Welcome!
What OS are you using?
Deogee
i'm using wsl on windows
pbryan
Heh, yeah, just saw you said that. Sorry. Slowpoke here.
OK, so are you in a bash shell when running the script?
Deogee
haha no worries
yes i am
pbryan
OK, standby...
Deogee
Alright
pbryan
So, you're trying to run the `./scripts/database-init-docker.sh` script?
Deogee
yes , i also tried navigating to th bookbrainz-site folder and running yarn install
But i get the same error
pbryan
How are you trying to run the script?
Deogee
i went inside the file and manually type the script
The first one is docker-compose up
Thats where i get the error
after running docker-compose up
pbryan
Oh, definitely do not try to type each line of the script, if that's what you mean.
Deogee
sorry i did'nt clarify that
Rohan11 joined the channel
pbryan
You should just let bash execute the script by typing ./scripts/database-init-docker.sh.
Rohan11 has quit
Deogee
i could'nt run this "`./scripts/database-init-docker.sh`" on wsl
pbryan
What happens when you try that?
Oh, and exclude the `backticks`.
Deogee
i still get "/usr/bin/env: ‘bash\r’: No such file or directory"
RohanSasne joined the channel
pbryan
Hmm.
What happens if you type /usr/bin/env in the bash shell?
RohanSasne
Hey Rohan this side, I would love to contribute to BookBrainz this summer :) currently going through the documentation for the project and will come with a draft proposal really soon :))
pbryan
Hi RohanSasne. Welcome!
Deogee
i'm trying to send a file of what i get
but its not working
its basically a bunch of stuffs
pbryan
You can't send files over IRC. You can paste as a gist in GitHub?
core.autocrlf true is the opposite of what we want here.
I would suggest setting it to input.
Deogee
what about core.safecrif
pbryan
Geez, the git docs aren't very clear. Reading...
Deogee
haha i'm going through them too
pbryan
OK.
So...
Things are recommending that for Windows, you should checkout with CRLF, but we don't want that here because we're going to run these in docker, which is a Linux environment, which rejects the CRs.