suggestion: adding cufon version number in the comments

5 views
Skip to first unread message

nachomaans

unread,
Jun 10, 2009, 12:32:49 PM6/10/09
to cufón
Hello Simo,

Thank you for you hard work on cufon, it works great!

Would it be possible to include the version number in the comments in
the beginning of cufon.js?

/*!
* Copyright (c) 2009 Simo Kinnunen.
* Licensed under the MIT license.
* version 1.2.5 (10/06/09)
*/

The version number doesn't seem to be stated anywhere:

- http://cufon.shoqolate.com/js/cufon-yui.js
- http://github.com/sorccu/cufon/blob/288a3865dff92c086420cf1f48dbab7942b0580f/js/cufon.js

It would make it much easier to know which version is running, if it's
the latest etc.
If the version number actually appears and I missed it, please let me
know where and sorry for the spam!

Simo Kinnunen

unread,
Jun 13, 2009, 12:34:12 PM6/13/09
to cu...@googlegroups.com
Hi,

Yes, it's a good idea and obviously a must sooner or later. However,
it isn't really so simple, the project is quite active and I don't
really want to increase the version number manually after each commit.
Unfortunately git does not have revision numbers so that's out as well..

It's possible to tag certain commits in git, but then we'd have to
have a special build system to automatically add the commit tag to the
files. At the moment a github remote hook (combined with git pull)
keeps the server up to date, which is incredibly easy to maintain.

Do we have any git wizards in here? I'm open to suggestions.

Simo
Reply all
Reply to author
Forward
0 new messages