you could put the shell script in /usr/local/bin I guess. though ~/bin seems just as suitable.
2012-10-31 30545, 2012
ianmcorvidae
which I should have known because people run search servers
2012-10-31 30515, 2012
warp
bitmap: there are errors in ./relationship-editor/Relationship.js and a few more places.
2012-10-31 30530, 2012
MBJenkins
* ianmcorvidae: MBS-5200: load language for error pages
2012-10-31 30531, 2012
MBJenkins
* ianmcorvidae: MBS-5200: introduce with_translations, migrate finalize_error/dispatch to use it
2012-10-31 30532, 2012
MBJenkins
* ianmcorvidae: MBS-5485: escape artist.comment in rdfa_macros
2012-10-31 30533, 2012
MBJenkins
* ianmcorvidae: MBS-4180: show preview and AC-being-changed separately
2012-10-31 30538, 2012
ianmcorvidae
meh, internet is so slow right now
2012-10-31 30544, 2012
bitmap
unzip: not found :/
2012-10-31 30530, 2012
ianmcorvidae
hah
2012-10-31 30531, 2012
ianmcorvidae
one sec
2012-10-31 30504, 2012
ianmcorvidae
should be installed now
2012-10-31 30501, 2012
bitmap
heh, of course it was the trailing commas again
2012-10-31 30509, 2012
ianmcorvidae
heh
2012-10-31 30523, 2012
bitmap
I need to break that habit now :/
2012-10-31 30527, 2012
Bookle joined the channel
2012-10-31 30523, 2012
adhawkins
Anyone advise on git workflow regarding this new vagrant stuff of ocharles'?
2012-10-31 30529, 2012
adhawkins
It's a repo with lots of submodules.
2012-10-31 30543, 2012
Freso
git pull --recurse-submodules
2012-10-31 30543, 2012
adhawkins
Do I just clone the top repro? Will that effectively clone the submodules too?
2012-10-31 30555, 2012
Freso
Use --recurse-submodule.
2012-10-31 30559, 2012
Freso
Or -submodules
2012-10-31 30503, 2012
Freso
Or something like that.
2012-10-31 30505, 2012
adhawkins
I want to make some modifications with a view to submitting a pull request later.
2012-10-31 30510, 2012
Freso
For the clone command as well.
2012-10-31 30516, 2012
adhawkins
They're on github. Do I fork the repro there or what?
2012-10-31 30537, 2012
Freso
adhawkins: Just fork ocharles' repo.
2012-10-31 30546, 2012
adhawkins
And that'll fork the submodules too?
2012-10-31 30549, 2012
Freso
adhawkins: The submodules point outside his repo.
2012-10-31 30553, 2012
Freso
No.
2012-10-31 30558, 2012
Freso
The submodules aren't forked.
2012-10-31 30501, 2012
adhawkins
Well, one of them is his. It's likely I'll want to modify that too.
2012-10-31 30505, 2012
Freso
They're stored separately.
2012-10-31 30527, 2012
Freso
You can fork that then, but you'll have to edit the submodule then, to point to your fork.
2012-10-31 30548, 2012
adhawkins
Erk...not really looked at submodules to be honest.
2012-10-31 30503, 2012
adhawkins
What about if I create a branch in ocharles' repo? Does that branch submodules too?
2012-10-31 30534, 2012
Freso
adhawkins: :)
2012-10-31 30542, 2012
Freso
Try to fork and clone his repo first.
2012-10-31 30558, 2012
Freso
You'll then notice a .gitmodules in the root of the repository.
2012-10-31 30503, 2012
adhawkins
Yep, seen that.
2012-10-31 30518, 2012
Freso
This is what points to the remote git repositories.
2012-10-31 30539, 2012
adhawkins
Yep
2012-10-31 30501, 2012
Freso
Each submodule is then additionally stored as a file or something in the git repository, only containing the remote git commit hash id.
2012-10-31 30518, 2012
Freso
And that's it.
2012-10-31 30525, 2012
adhawkins
Ok, better do some reading then I think!
2012-10-31 30530, 2012
Freso
No code of the submodule is stored in the git repository.
2012-10-31 30559, 2012
Freso
All that is stored is the hash id and the repository url.
2012-10-31 30527, 2012
adhawkins
So the hash points at a specific commit? It doesn't track a particular branch or master?
2012-10-31 30527, 2012
Freso
Which, OTOH, is also all you should need to replicate the code. :)
2012-10-31 30537, 2012
ianmcorvidae
yeah, it tracks a specific sha1
2012-10-31 30538, 2012
Freso
Yep. A specific commit.
2012-10-31 30548, 2012
ianmcorvidae
which can cause problems sometimes, but generally means more control
2012-10-31 30559, 2012
adhawkins
So how are you supposed to update one of the submodules and have the 'parent' pick up the changes?
2012-10-31 30507, 2012
adhawkins
You have to edit the sha1 every time?
2012-10-31 30530, 2012
ianmcorvidae
you cd into the directory and pull, generally, and then there's some sort of incantation you do in the parent repository to tell it to commit the changes
2012-10-31 30534, 2012
Freso
adhawkins: The SHA1 in the submodule "file" is updated.
2012-10-31 30544, 2012
Freso
You `git commit` that like any other file change.
2012-10-31 30551, 2012
ianmcorvidae
(you don't manually edit the submodule file, though)
2012-10-31 30556, 2012
Freso
No. :)(
2012-10-31 30558, 2012
Freso
* :)
2012-10-31 30514, 2012
adhawkins
Oh ok, so when you pull the submodule, the submodule file updates its sha1 automatically?
2012-10-31 30521, 2012
Freso
And there's no incantation to do in the parent directory.
2012-10-31 30523, 2012
Freso
ianmcorvidae: ^
2012-10-31 30530, 2012
Freso
git picks up the changed sha1 itself.
2012-10-31 30532, 2012
ianmcorvidae
okay
2012-10-31 30552, 2012
bitmap
ianmcorvidae: the github site isn't loading for me right now but I pushed a commit to my beta branch that removes offending commas
2012-10-31 30552, 2012
Freso has used/is using submodules extensively when deploying Drupal sites :)
2012-10-31 30516, 2012
Freso
adhawkins: Yep.
2012-10-31 30531, 2012
ianmcorvidae
bitmap: deploying now
2012-10-31 30543, 2012
adhawkins
I think I need to do some reading :)
2012-10-31 30550, 2012
Freso
adhawkins: You still need to `git add`/`git commit` the updated submodule "file" though.
2012-10-31 30558, 2012
adhawkins
Ok
2012-10-31 30502, 2012
Freso
adhawkins: It's really not as complicated as it sounds.
2012-10-31 30515, 2012
Freso
adhawkins: Just try and clone the repos and play around with it a bit.
2012-10-31 30534, 2012
Freso
(Well, I don't think it is anyway. :D)
2012-10-31 30534, 2012
MBJenkins
* ianmcorvidae: i18n: N_ functions didn't get re-added to the Makefile, evidently
2012-10-31 30535, 2012
MBJenkins
* ianmcorvidae: Update .pot files
2012-10-31 30555, 2012
adhawkins
Freso: ianmcorvidae: cheers.
2012-10-31 30516, 2012
Freso
adhawkins: You're welcome. :)
2012-10-31 30501, 2012
bitmap
ianmcorvidae: it works now :) thanks
2012-10-31 30507, 2012
ianmcorvidae
cool
2012-10-31 30529, 2012
Bookle
I'm working with a database dump of Musicbrainz data and am just wondering what the purpose of the release_coverart table is, as it is empty
2012-10-31 30542, 2012
ianmcorvidae
it stores coverart URLs?
2012-10-31 30544, 2012
ianmcorvidae
er
2012-10-31 30548, 2012
ianmcorvidae
that wasn't supposed to have the ?
2012-10-31 30550, 2012
ianmcorvidae
but anyway
2012-10-31 30550, 2012
Bookle
0 of them? :)
2012-10-31 30555, 2012
ianmcorvidae
yes, initially
2012-10-31 30504, 2012
ianmcorvidae
it's updated by a script
2012-10-31 30515, 2012
ianmcorvidae
and on production, that script uses some AWS keys that we can't make public
2012-10-31 30524, 2012
Bookle
ah...
2012-10-31 30531, 2012
ianmcorvidae
so yeah
2012-10-31 30538, 2012
reosarevok
Isn't licensing bullshit lovely :)
2012-10-31 30541, 2012
ianmcorvidae
you can run the script without it, and it'll update URLs for things other than amazon coverart
2012-10-31 30551, 2012
ianmcorvidae
or you can ignore it entirely and CAA coverart will still work
2012-10-31 30552, 2012
Bookle
is that script included in the VM? i.e. if I had that and just substitued my own keys would it work?
2012-10-31 30508, 2012
nikki
it should be there somewhere, and yes
2012-10-31 30531, 2012
adhawkins
Freso: Should have known it'd be covered in Pro Git :)
yeah but CAA coverart doesn't seem to have too much info at this point sadly (at least based on the things I've searched)
2012-10-31 30546, 2012
Freso
adhawkins: :)
2012-10-31 30556, 2012
ianmcorvidae
Bookle: admin/RebuildCoverArtUrls.pl
2012-10-31 30508, 2012
Bookle
awesome, thanks ianmcorvidae and nikki :)
2012-10-31 30508, 2012
Freso
adhawkins: I mostly just read the git man pages to figure things out. :p
2012-10-31 30511, 2012
ianmcorvidae
amazon is far and away the biggest one
2012-10-31 30520, 2012
ianmcorvidae
so without amazon keys you're not going to get much no matter what :)
2012-10-31 30526, 2012
Freso
adhawkins: I find that they're surprisingly well written, for being man pages.
2012-10-31 30502, 2012
adhawkins
Freso: Yeah, I generally use them to refer back to when I don't quite know how to do something. I used Pro Git to get the basic concepts down, so expect it'll cover submodules well too
2012-10-31 30518, 2012
Freso
:)
2012-10-31 30536, 2012
Freso
I should refer CallerNo6 to Pro Git, actually.
2012-10-31 30552, 2012
Freso
But he's logged off again. Ah well.
2012-10-31 30543, 2012
reosarevok
Bookle: working on it ;) But yes
2012-10-31 30548, 2012
reosarevok
Not yet :)
2012-10-31 30506, 2012
Bookle
yup, I'm sure someday it will be populated enough to use, the problem is I'm working on something that needs it today ;)
2012-10-31 30557, 2012
nikki
you could use the asins to guess the url
2012-10-31 30502, 2012
Bookle
another thing that I noticed that will be very cool down the road is the Bookbrainz stuff... definitely interested in that :)
2012-10-31 30507, 2012
nikki
in the same way the picard cover art stuff does
2012-10-31 30548, 2012
nikki
(but I said "guess" because amazon doesn't always store the image in predictable locations)
2012-10-31 30514, 2012
Bookle
nikki: yeah, I figured I would have to resort to playing around with Amazon urls in order to grab the cover art
2012-10-31 30518, 2012
Bookle
In the same vein as Bookbrainz... is anyone here interested in doing a Moviebrainz?
hawke_1: moviebrainz, tvbrainz, <thing that gets aired on a tv/radio station>brainz
2012-10-31 30517, 2012
hawke_1
(I mean, how can you toot the horn of something that doesn’t exist yet?)
2012-10-31 30550, 2012
reosarevok
Probably in an attempt to get someone to change that? ;)
2012-10-31 30505, 2012
dekarl
usualy its ranting about how bad the metadata sites in that domain are and that we really need someone to extend musicbrainz towards it ;)
2012-10-31 30500, 2012
reosarevok
dekarl, wait, wait, you don't like themoviedb and the like? :p
2012-10-31 30519, 2012
reosarevok
(and their nice extension towards music! :p)
2012-10-31 30521, 2012
dekarl
I mash up themoviedb, thetvdb and tv/radio stations data to produce a guide feed and its not fun to work around all their limitations. (these being the best sites I could find)
2012-10-31 30515, 2012
dekarl
reosarevok: well, its the best (as in amount of data, data model, license and editing process) site around. But its still so super primitive
2012-10-31 30547, 2012
reosarevok
dekarl: they thought MB was too complicated, so they started their own music site
2012-10-31 30557, 2012
reosarevok
(that uses MB data but keeps it "simple")
2012-10-31 30512, 2012
reosarevok
(well, it uses "their own" data, but imported from MB)