I wonder whether it would make sense to move the Dockerfile and docker-compose.yml to bb-site instead, modify the Dockerfiles to reuse common components and then have a service that builds the repo and runs it
I guess you'd lose the advantage of tools like nodemon but would be able to test -site in a more production-like environment
Leftmost
I'd prefer to keep the existing Dockerfile in -site, as that's the one that's needed for deployment, but I think trying to use docker for running an actual development server would be kind of a pain, since you'd have to rebuild the image for it to take local changes into consideration.
Leo_Verto
Yeah, although that shouldn't take much longer than restarting the server with a properly structured image
I think the problem with the current Dockerfile in -site is that it isn't clearly marked as prod-only which results in people trying to use it for development
Leftmost
Using a docker-compose to run the necessary ancillary services makes a lot of sense to me and would allow us to provide a good testing database and the like. Running the actual BB service manually and having it use those services, though, seems a lot easier to manage than trying to do it as a Dockerfile.
Leo_Verto
Yeah, that's probably what most BB devs are doing anyways just without a compose, right?
Leftmost
Hmm. I'm open to ideas on that, though I'd like to keep it in the repo and we could maybe document things better in the README.
Yep.
Leo_Verto
Maybe renaming it to something like Dockerfile.prod would make it less confusing?
Leftmost
Could do. I don't know what the deployment process would look like for zas, so it might help to coordinate with him, but renaming it sounds good in theory.
Leo_Verto
What I dislike about the current situation is that there seems to be a lot of duplication regarding docker stuff, for example bookbrainz-docker even has a site-prod service
Leftmost
My hope would be that -docker could be archived eventually and the necessary bits and bobs could be integrated into -site, where they'll be most discoverable and useful.
Leo_Verto
Yeah, it has a really useful script for automatically setting up the latest dump in postgres
D4RK-PH0ENiX has quit
D4RK-PH0ENiX joined the channel
demonimin has quit
Nyanko-sensei joined the channel
D4RK-PH0ENiX has quit
Nyanko-sensei has quit
D4RK-PH0ENiX joined the channel
Leo_Verto_ joined the channel
Leo_Verto has quit
Leo_Verto_ is now known as Leo_Verto
Cyna has quit
dolina has quit
Protab joined the channel
Rotab has quit
dolina joined the channel
dolina has quit
dolina joined the channel
dolina has quit
loujine has quit
loujine joined the channel
dolina joined the channel
outsidecontext joined the channel
github joined the channel
github
[picard-plugins] phw opened pull request #185: Update gpl2 or later licenses (2.0...update-gpl2-or-later-licenses) https://git.io/fpzZh
there is more chatter about moving the blog away from the musicbrainz.org domain to metabrainz.
but we desperately need a new wordpress theme for the blog.
I don't think we need a custom one per se, but a nicer one that maybe uses our colors a bit.
chhavi_
Yep alive and can do better cooking than before :p
ruaok
LOLOLOL, I'm still finding random indian food items in my kitchen.
and I'm going to try the student noodles before too long.
I found a pack of noodles.
chhavi_
Oh that can be done. I don't have much experience with wordpress, but sure can figure it out.
lol, guilty of leaving bits and bombs of Indian food in your kitchen.
ruaok
I think the main skill is more about picking a good theme, then anything wordpress related.
so, our blog is hosted by wordpress.com and we pay for the service.
this might be as simple as logging into the blog and tinkering with the theme.
chhavi_
I have the author rights. Seems like to customize, I need admin rights? But I can still pick a theme using my personal account and ask Freso or you to use it
ruaok
you're an admin now.
chhavi_
Yep can see the themes now. Will have a look and get back by evening :)
ruaok
<3
reosarevok
Suddenly, the blog is now called "chhavi_'s student cooking blog for busy people"
Rotab joined the channel
ruaok
zas: ping
Mr_Monkey
Leo_Verto, Leftmost : Yeah, the satet of dockerfiles for BB is pretty bad.
I've been using more or less the bookbrainz-docker repo's docker-compose file to run the dependencies, and running the site manually alongside.
That's been working well. As Leo pointed out there are some useful scripts in bb-docker for setting up the DB that I'd like to incorporate.
ruaok
let me know if you want some quality time on the docker files, Mr_Monkey.
that something we might go to the office and collaborate on for a day.
Mr_Monkey
Hey, that's be great
I started working on it a bit, but it's a good mess at the moment
chhavi_
reosarevok: I hope you are subscribed to it :p
ruaok
tomorrow?
Mr_Monkey
And I want to make it as easy as running one or two commands to set everything up for a first time user, which is complex.
ruaok
I'm finally motivated to get the 2016 report written today and that will take me most of the day.
Mr_Monkey
ruaok: Yes, can do tomorrow!
ruaok
Mr_Monkey: yep, for the we have develop.sh -- which does exactly that.
that should be our first goal.
from there we can figure out what is needed for production docker files.
ok, tomorrow it is!
Mr_Monkey
Great :)
zas
ruaok: poong
ruaok
heya.
zas
mooin
ruaok
I'm collecting data for the 2016 annual report.
in broad strokes, how would you characterize our traffic for 2016?
I'm looking to collect about a paragraph worth of description.
zas
you mean pre-hetzner ?
ruaok
I know we have precious little data.
yes, and the short hetzner period on 2016.
I don't think there was much change.
zas
the main point is that we introduce better "bad" traffic filtering when we moved, so the traffic decreased partly, but at the same time the QNAP shit started (in fact, it started something like 3 months before the great move)
ruaok
even more than that.
it started in dec 2015.
zas
the thing is we were also limited by our servers before the move, remember we had a lot of refused queries on ws (for example) because of limited resources we had (server capacity, and limited traffic). We increased the traffic a bit (at a cost) partly to compensate extra traffic (which, later, was identified as due to QNAP thing)
and services were very instable, with a lot of failures, mostly due to limited capacity
ruaok remembers all of that.
in this regard the switch to hetzner started to improve the situation (which is even better now)
ruaok
now let's destill this into a paragraph. :)
zas
but what do you want to know exactly ?
ruaok
that. just recapped into a paragraph.
zas
hmmm, i may actually need a bit more of caffeine, but let's try: pre-move, we had limited bandwidth, old servers, limited human resources, the move to hetzner, helped on all those fields, bandwidth is a non-issue atm, rented servers with an excellent performance/cost ratio, and more incomes (because we can handled more), leading to more human resources
Nyanko-sensei has quit
non-legit traffic is also more in control now, so the waste of resources reduced
D4RK-PH0ENiX joined the channel
ruaok can wait for a post coffee ver2
ruaok
:)
zas
overall, we all know we had to do "something", and it happened facts are showing we did a not-too-bad choice: cutting useless costs (direct or indirect) while increasing significantly the infrastructure capacity, while keeping the overall cost on the same level. Extra incomes are going mostly to human resources.
the JSON-LD contract is one example, but the GSOC mentor stipends are also part of that.
reosarevok
"4030 Income - Consulting - General 6,300.00"
ruaok
GSoC.
and code-in.
reosarevok
Ooh, ok :)
ruaok
I might create a new category for those that is more clear.
reosarevok
I mean it's not a huge deal, just was curious :) But it wouldn't hurt
ruaok
yeah. I can do that for next year. too late for this.
antara joined the channel
antara
hi, I'm wondering how to add aliases to an instrument in the musicbrainz database
and what exactly the rules for addition are
because I've read the alias documentation details but for some instruments that I want to add the name is the same in more than one language, and strangely some different instruments seem to have the same aliases