Topic: Howto use GIT for Server Update 2012-07-09 (and back to v-2012-06-25)?
I have a working MusicBrainz (Mirror/Slave) Server checked out with the v-2012-06-25 tag. I can start it and make a successfull search for artist "Madonna".
If I do a
cd musicbrainz-server
git checkout 2ea12b1d41ea (-> http://blog.musicbrainz.org/?p=1481)
carton exec -- plackup -Ilib -rI can still start the server, but then I get some errors like
Caught exception in MusicBrainz::Server::Controller::Search->external "Attribute (database) does not pass the type constraint because: Validation failed for 'MusicBrainz::Server::Database' with value undef at constructor MusicBrainz::Server::Connector::new (defined at lib/MusicBrainz/Server/Connector.pm line 67) line 38
MusicBrainz::Server::Connector::new('MusicBrainz::Server::Connector', 'database', undef) called at lib/MusicBrainz/Server/DatabaseConnectionFactory.pm line 48
MusicBrainz::Server::DatabaseConnectionFactory::get_connection('MusicBrainz::Server::DatabaseConnectionFactory', 'READONLY') called at lib/MusicBrainz/Server/Context.pm line 30
....Which commands I should use to get ALL the updates from http://blog.musicbrainz.org/?p=1481 ?
Could please someone tell me the correct GIT-commands?
If I want to go back to the working tag v-2012-06-25, should this work?
cd musicbrainz-server
git reset v-2012-06-25
git reset --hardThank you for your help!