some nasty antialiasing in that image, though perhaps those are just jpg artifects. do not use .jpg for screenshots please!
2012-05-17 13804, 2012
warp
:)
2012-05-17 13821, 2012
ocharles
adhawkins: what do you need in tig?
2012-05-17 13835, 2012
ocharles
because that looks like something git log is capable of
2012-05-17 13850, 2012
adhawkins
It's just a useful history browser. It's interactive as well, you can scroll through the commits and stuff.
2012-05-17 13817, 2012
ocharles
i know, but so is: git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --no-merges
2012-05-17 13818, 2012
adhawkins
In the screen shot, the bottom half is details of the selected commit.
2012-05-17 13831, 2012
ocharles
right, you can add that into git log too, but it'd be for every commit
2012-05-17 13854, 2012
adhawkins
Yeah, it's useful to be able to scroll to a specific commit to see what changed.
2012-05-17 13804, 2012
adhawkins
The app is tiny, has come in handy occasionally.
2012-05-17 13811, 2012
ocharles
sure, i'm not against it
2012-05-17 13816, 2012
ocharles
not my machine after all :)
2012-05-17 13844, 2012
adhawkins
It's in my home directory now anyway. Thought it might be useful to others, but as you're all Git Gods I guess you don't need anything that makes things easy :p
2012-05-17 13834, 2012
ocharles
i'm really not against it at all
2012-05-17 13858, 2012
adhawkins
Just pulling your leg...
2012-05-17 13858, 2012
ocharles
I use magit myself
2012-05-17 13800, 2012
ocharles
ok :)
2012-05-17 13804, 2012
adhawkins
magit
2012-05-17 13806, 2012
adhawkins googles
2012-05-17 13811, 2012
ocharles
it's an emacs plugin
2012-05-17 13818, 2012
adhawkins chunders
2012-05-17 13827, 2012
warp
ocharles: is it me, or is admin/InitDB.pl just a very unreadable version of script/create_test_db.sh? :)
2012-05-17 13803, 2012
ocharles
warp: haha
2012-05-17 13809, 2012
ocharles
warp: I have thoughts on InitDB actually...
2012-05-17 13814, 2012
ocharles
if you want to hear them now I can summarize
2012-05-17 13837, 2012
warp
ocharles: I'm trying to create the database in script/create_test_db.sh. and was attempting to make the database selectable in InitDB
2012-05-17 13844, 2012
warp
ocharles: I think I'm somewhat done, in the sense that things work. but the situation has only become messier, so I hesitate to submit this to review, I'm quite unhappy with it.
2012-05-17 13854, 2012
ocharles
understandable
2012-05-17 13821, 2012
warp
so yes, summarize if you have the time.
2012-05-17 13835, 2012
ocharles
The first thing I don't like is GenerateSQL
2012-05-17 13859, 2012
ocharles
I don't like that I have to manually keep Drop* up to date
2012-05-17 13807, 2012
warp
I can find no mention of that in InitDb.pl
2012-05-17 13813, 2012
ocharles
That's not used by InitDb.pl
2012-05-17 13818, 2012
ocharles
but it generates the drop scripts
2012-05-17 13820, 2012
warp
ah
2012-05-17 13849, 2012
ocharles
I'd rather have a program that is given <some input>, and an operation like 'create tables', 'index', 'drop foreign keys'
2012-05-17 13800, 2012
ocharles
As a developer, I now only have to maintain one file
2012-05-17 13829, 2012
ocharles
InitDb would initially be a script that makes a set of calls to this
2012-05-17 13804, 2012
ocharles
I like the concept of https://pyrseas.wordpress.com/ too, but for some reason the guy wants to add a web interface to that project
2012-05-17 13817, 2012
ocharles
which starts moving it towards phpMyAdmin or something, which is not what I want
2012-05-17 13857, 2012
ocharles
not sure if any of that is helpful/sensible
2012-05-17 13810, 2012
ocharles
I haven't started any work here because I couldn't find enough motivation; what we have now works
2012-05-17 13810, 2012
warp
hm
2012-05-17 13831, 2012
warp
ocharles: describing the database schema in something a bit more machine readable than scripts which need to run against an SQL server sounds like a good idea in theory.
2012-05-17 13846, 2012
warp
ocharles: I have no experience with such an approach.
2012-05-17 13831, 2012
ocharles
ditto
2012-05-17 13847, 2012
ocharles
but it can also still be comment annotated SQL
2012-05-17 13800, 2012
ocharles
but I think yaml is going to be more flexible
2012-05-17 13825, 2012
ocharles
it's nice because we could load a tree of dependencies and do a brief pre-copmile before even doing SQL
2012-05-17 13843, 2012
ocharles
but that's also not so important, because either way something will break :)
2012-05-17 13801, 2012
warp
but anything like that sounds like a fair amount of effort, and not important enough to work on now.
2012-05-17 13808, 2012
plaintext joined the channel
2012-05-17 13821, 2012
ocharles
yep
2012-05-17 13832, 2012
ocharles
but if we've got a big mess atm, then maybe it is worth looking at
2012-05-17 13837, 2012
warp
ocharles: do you have idea what kind of stuff InitDb can do which create_test_db.sh doesn't?
2012-05-17 13827, 2012
ocharles
well, take arguments for one, and kick off mbimport
2012-05-17 13841, 2012
ocharles
another thought is maybe we consider adopting mbslave as our official database importer/creater/replication thingy
2012-05-17 13847, 2012
ocharles
and remove all of this from mbserver
2012-05-17 13819, 2012
warp
I have no idea what that entails.
2012-05-17 13804, 2012
ijabz
the would make a lot of sense if you just need a replicated db, but don't some users actually need mbserver
2012-05-17 13800, 2012
warp obviously wants an mbserver.
2012-05-17 13845, 2012
warp
ocharles: anyway, now I'm still no step closer on deciding what to do about this work I'm doing now :)
2012-05-17 13858, 2012
hawke_1 joined the channel
2012-05-17 13810, 2012
adhawkins 'needs' mbserver too. I want a local webservice
2012-05-17 13844, 2012
warp
adhawkins: you can run a local webservice with just the replicated database.
2012-05-17 13801, 2012
warp
a full mbserver with everything is really only for development I'd say.
2012-05-17 13803, 2012
adhawkins
warp: I can? How?
2012-05-17 13817, 2012
ijabz
no u can't only gives u searcg
2012-05-17 13823, 2012
adhawkins
Just to clarify, my VM is configured as a slave.
2012-05-17 13827, 2012
ijabz
not lookup
2012-05-17 13858, 2012
ijabz
teatime , fish curry !
2012-05-17 13813, 2012
warp
huh? why wouldn't the webservice work on a replicated database?
2012-05-17 13841, 2012
nikki joined the channel
2012-05-17 13859, 2012
Leftmost joined the channel
2012-05-17 13834, 2012
ruaok joined the channel
2012-05-17 13823, 2012
warp
hello ruaok!
2012-05-17 13819, 2012
ruaok
hi
2012-05-17 13844, 2012
voiceinsideyou joined the channel
2012-05-17 13817, 2012
kepstin-work joined the channel
2012-05-17 13845, 2012
voiceinsideyou1 joined the channel
2012-05-17 13836, 2012
kepstin-laptop joined the channel
2012-05-17 13805, 2012
Joeshmoo joined the channel
2012-05-17 13842, 2012
Joeshmoo
having a problem with the schema update... anyone around can help?
2012-05-17 13814, 2012
ruaok
yep
2012-05-17 13815, 2012
Joeshmoo
I have a brand new server and I've downloaded everything using git
2012-05-17 13846, 2012
ruaok
if you're importing a clean data set, make sure to use HEAD, not the release tag.
2012-05-17 13854, 2012
Joeshmoo
so I have an empty DB because I can't import the latest bz2s of the database
2012-05-17 13802, 2012
ruaok
the release tag has a bug that doesn't cleanly import.
2012-05-17 13820, 2012
Joeshmoo
yep got the head from the schema change
2012-05-17 13839, 2012
ruaok
what is the commit you're working with
2012-05-17 13841, 2012
ruaok
?
2012-05-17 13859, 2012
Joeshmoo
I've created the empty DB using carton exec ./admin/InitDb.pl -- --createdb --clean
2012-05-17 13821, 2012
Joeshmoo
dec346a ?
2012-05-17 13811, 2012
ruaok
you want 18e31b9f02b1816
2012-05-17 13817, 2012
ruaok
otherwise imports fail.
2012-05-17 13832, 2012
ruaok
ocharles, warp: should I move the tag to this commit so import work?
2012-05-17 13843, 2012
ruaok
the v-2012-05-15-schema-change tag that is)
2012-05-17 13810, 2012
Joeshmoo
ok how do I get that directly? sorry a little shaky on git
2012-05-17 13824, 2012
ruaok
git fetch
2012-05-17 13832, 2012
ruaok
git checkout master
2012-05-17 13833, 2012
ruaok
git pull
2012-05-17 13835, 2012
warp
ruaok: the tag shouldn't be moved to include anything not running on production. but I assume 18e31b9f02b1816 is on production? if so, no objections.
2012-05-17 13836, 2012
ijabz
warp, maybe I'm misunderstanding but I thought mbslave just provided yo with a replicated database and no observer code
2012-05-17 13840, 2012
ruaok
that should get you there.
2012-05-17 13847, 2012
ijabz
therefore no code for the webservice
2012-05-17 13800, 2012
ijabz
s/observer/mbserver
2012-05-17 13805, 2012
ruaok
warp: its not on production.
2012-05-17 13819, 2012
ruaok
that code is never executed in production, so pushing a hotfix is silly.
2012-05-17 13858, 2012
warp
ruaok: yeah, I'm not worried about that particular commit
2012-05-17 13816, 2012
warp
ruaok: but I think there have been more commits between the release and your 18e31b9f02b181614c398aa277bea720eb3950fd commit.