[FieldTrip] FieldTrip version
r.oostenveld at donders.ru.nl
Wed Sep 9 17:51:14 CEST 2015
Bummer. I recently deleted that signature file from out server, thinking that it was not used any more. However, I don’t think that the md5 hashes in that file were updated properly any more. Also, the planned functionality with that file (i.e. the user doing "ft_version update” in MATLAB) was never made to full completion.
I know that ft_version works fine in case you have a local copy that is checked out through SVN (as Jorn demonstrated). But I don’t think that the versioning is currently working for a version that you download from the ftp server.
I will look at the code of ft_version and see whether I can add a small “version” file to the content of the zip file and have ft_version check that. Regarding version naming, the release numbers provides a unique identifier, the date not so much (as there can be multiple commits on a day). But svn info also gives the date, so I could include that in the output.
Let’s follow this up on http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=1449
On 08 Sep 2015, at 17:09, Francois Jean Tadel, Mr <francois.tadel at mcgill.ca> wrote:
> Dear Jorn,
> In the last packages from the FTP, the file "signature.md5" contains an HTTP error 301 "Moved Permanently":
> This causes the call to ft_version to fail.
> Additional question: is there a reliable way to get the release date of a FieldTrip install?
> (when it is not possible to get it from the folder name, for instance if it was unzipped in a folder called simply "fieldtrip")
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
More information about the fieldtrip