-
reosarevok
And after that I do sudo docker-compose restart musicbrainz ?
-
yvanzo
reosarevok: Not sure which file you edited?
-
reosarevok
DBDefs.pm I mean
-
yvanzo
in the container?
-
or in build/musicbrainz-dev/ or build/musicbrainz/ ?
-
reosarevok
No, locally. But I guess I should edit it in the container, from that question
-
yvanzo
you mean in your local git working tree?
-
reosarevok
Ye
-
*Yes
-
yvanzo
make a copy of that file just in case docker reset it.
-
Iām not sure restarting the container is even required but it should do no harm.
-
Oops, no, it will reset it :P
-
reosarevok
Ok
-
Will check again
-
yvanzo
Modify /DBDefs.pm in the container instead.
-
reosarevok
So far, it all seems to be ignored and it still uses the sample DB
-
In the container as in, after docker-compose exec musicbrainz bash ?
-
yvanzo
/musicbrainz-server/lib/DBDefs.pm is replaced with /DBDefs.pm on container startup.
-
yes
-
c1e0 has quit
-
You can try something as: cat /musicbrainz-server/lib/DBDefs.pm > /DBDefs.pm
-
reosarevok
Ok, so if I have ssh -L 172.17.0.1:65401:localhost:65401 pink -N
-
Then I should have host => "127.17.0.1", port => "65401" inside the container?
-
Or is the host different inside there?
-
yokel has quit
-
yvanzo
?
-
No, just copy the PROD_STANDBY :)
-
You can find the original values in build/musicbrainz-dev/DBDefs.pm (in musicbrainz-docker)
-
s/127/172/ probably
-
yokel joined the channel
-
nelgin: interesting
-
iliekcomputers
ooh, LB crossed 11k users today
-
fun
-
shivam-kapila
congrats
-
reosarevok
yvanzo: duh, typo, thanks
-
yvanzo: ok, changed this:
-
-
(so, more or less what I used to do locally to get what I wanted)
-
But it's still using the old DB. Do I need to tell it something so that it will re-check this and change DBs?
-
yvanzo
not sure, RT_SLAVE maybe?
-
Restarting the container should be fine if you modified /DBDefs.pm
-
You can also backup this file as follows: sudo docker cp musicbrainz-docker_musicbrainz_1:/DBDefs.pm /tmp/backup-DBDefs.pm
-
v6lur has quit
-
v6lur joined the channel
-
reosarevok
Restarting the container overwrote it again :)
-
So I guess that can't be the way to do this
-
With my usual plackup thing IIRC any changes to dbdefs would be understood and dealt with without any extra changes on my part
-
But this doesn't seem to do the same
-
Unless I'm changing something weird. I should still be changing lib/DBDefs.pm, just inside the container, right? There's no separate DBDefs this uses
-
iliekcomputers
the LB user growth chart would be interesting to see, i have a feeling the rate has increased since we shipped stats
-
yokel has quit
-
yvanzo
reosarevok: are you changing /DBDefs.pm (at container's root /)?
-
reosarevok
No, the lib one, I didn't realize there was a second
-
yvanzo
13:21 < yvanzo> /musicbrainz-server/lib/DBDefs.pm is replaced with /DBDefs.pm on container startup.
-
reosarevok
Yeah
-
yvanzo
:)
-
reosarevok
I thought you meant my local one with the container one
-
Didn't notice this has a separate one in a place I didn't expect :D
-
Ok, let's change that :D
-
yvanzo
Oh sorry, I didn't imagine your local one was installed under /musicbrainz-server as well.
-
reosarevok
Well, it's under home, whatever, musicbrainz-server, but I didn't think that much :D
-
Aaanyway
-
Let's try again :)
-
Sorry I'm slow
-
yvanzo
-
reosarevok
whoo, I'm in pink
-
(that sounds like I'm wearing a princess dress... sadly I don't own any)
-
ruaok
I'd pay good $$$ to see that!
-
sigh. which is it that they never sell pink pricess dresses for adult males??
-
ruaok would've mailed one to reosarevok
-
reosarevok
No you wouldn't
-
You wouldn't wait 3 to 5 hours even for that
-
ruaok
ok, fair, I'd order you one online
-
yokel joined the channel
-
shivam-kapila
ruaok planning to order summit dresses instead of tees for reo?
-
reosarevok
Fuck it
-
ruaok
shivam-kapila: yep. are you more of a pink sort of programmer or a light blue one??
-
reosarevok
Summit dresses for everyone
-
shivam-kapila
ruaok: light blue... blue is my fav
-
reosarevok: the only satidfied customer will be pristine___
-
ruaok
customink doesn't sell mini dresses. that would've been perfect.
-
oh good. I found a supplier.
-
š
-
pristine___ like dresses. Will suit her new look.
-
yokel has quit
-
Lotheric
reosarevok, get kilts
-
:)
-
yokel joined the channel
-
reosarevok
-
ruaok
-
niiice!
-
ruaok wants one
-
diru1100
That's my school's kindergarten dress š®
-
shivam-kapila
lmao
-
yokel has quit
-
ruaok: I think diru1100 also wantys one
-
diru1100
thank you, next š
-
Also LB got 11k+ users, noice !!
-
shivam-kapila
I am tired of assignments
-
diru1100
iliekcomputers: looking forward to read more blogs of yours!!
-
I don't have assignments, but tests started :/
-
yokel joined the channel
-
lol what
-
you can always upgrade
-
btw by gamification in cb mean like a reward point system?
-
shivam-kapila
maybe badges?
-
like bb
-
diru1100
yea
-
i am taking a poll from my friend circle what they wish they want in CB. And also about BB and CB integration
-
goodreads is famous among people who read a lot of books
-
I thought of having an upvote option instead of "was it useful" will make the user interface more
-
Also a thread kinda thing for each review to extend the discussion
-
shivam-kapila
reddit
-
diru1100
yea...
-
shivam-kapila
list them in a doc... we will add
-
diru1100
quora and reddit basically.
-
will do :)
-
shivam-kapila
then discuss with the team what to hack on
-
CatQuest
I think we should keep "was it useful" up/down but i think a reply fucntion might be interesting
-
yokel has quit
-
yokel joined the channel
-
yokel has quit
-
yokel joined the channel
-
pristine___
ishaanshah: shivam-kapila can you please review #1042. I really need a lot of react tips
-
And shivam-kapila thank you so much for helping me all along the way :)
-
yokel has quit
-
ruaok
19 files changed. :(
-
shivam-kapila
pristine___: most welcome
-
pristine___
ruaok: only two python files.
-
But all of this should be done in one PR :(
-
ruaok
something is odd about this PR. how come it adds a view for delete_listen?
-
pristine___
Link?
-
ruaok
-
diru1100
why does CB have a like option as well as a was it useful thing?
-
like option looks like its linked with fb but i dont think it is
-
yokel joined the channel
-
yokel has quit
-
ruaok
pristine___: that's quite a of tests you've written for these features. which is great in general. but....
-
isn't this basically for a feature for a limited time?
-
I'm just wondering about spending so much time on tests for a feature that might go away in a few weeks.
-
pristine___
Yes. But it should work well in that limited time.
-
Hmm.
-
ruaok
oh, for sure.
-
few things are going to get past those tests!
-
pristine___
Hmmm.
-
ruaok
you see my point?
-
pristine___
Yeah, I understand.
-
Will keep this in mind.
-
ruaok: so should I remove a few tests?
-
ruaok
no, not at all.