[Trac] Post commit script
Matthew Good
trac at matt-good.net
Thu Feb 3 11:52:05 EST 2005
On Thu, 2005-02-03 at 10:48 -0500, Jason Stewart wrote:
> > Ack, NO! BAD! BAD! <smack>
> >
> > The database schema was updated, thus the reason for the new version
> > number. See: http://projects.edgewall.com/trac/wiki/TracUpgrade for
> > instructions on upgrading your environment.
>
> I understand and accept the reprimand BUT, in my defense, before doing
> this I did exactly as the docs say and was told that the database did
> not need to be upgraded. Also, I downloaded the source code about two
> weeks ago and I'm pretty sure it is the latest release. I used this
> installation to create a new database and the version number in the
> database is 7.
>
> I assumed that version 8 must refer to the latest version in
> subversion. If this is not the case then why is trac-admin telling me
> that everything is already correct?
Ah, yes, see Nigel's post. It looks like you're mixing the post-commit
script from the trunk with a 0.8 Trac installation. So, your db is in
sync with the trac-admin script, but not with the post-commit script.
Actually now that I look at it, the only change to the post-commit
script since 0.8 was to update the db version number, so you'll be safe
leaving your change to the script. Of course I would not recommend
blinding doing this in the future ;)
I'm curious how you installed Trac. It looks like the Debian package
doesn't include the contrib folder, which is sort of unfortunate. Maybe
we should encourage packagers to include these files in the doc folder
or something, so that people can get the appropriate scripts for their
version, and avoid this confusion.
--
Matthew Good <trac at matt-good.net>
More information about the Trac
mailing list