Changeset e6f9145 in git


Ignore:
Timestamp:
Feb 1, 2012, 6:42:58 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
40d23c7f77e530a11d3b7573dcfcb5f33ffcaac6
Parents:
af6ba3f929c9985b0ca72e5dd515335e6d734f7e
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-02-01 18:42:58+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-13 17:13:26+01:00
Message:
setting up the git tagging with $Id$: libs + singular version

FIX: cleanning the mess of legacy Singular versioning (only started)

NOTE: for expanding tags for Singular/version.h do as follows:
add "Singular/version.h filter=expand_id" to .gitattributes or .git/info/attributs
and run something line the following:
$ git config filter.expand_id.smudge expand_id
$ git config filter.expand_id.clean 'perl -pe "s/\\\$Id[^\\\$]*\\\$/\\\$Id\\\$/"'

expand_id can be as follows

data = STDIN.read
last_date = git log --pretty=format:"%H, %cd" -1
puts data.gsub('$Id$', '$Id: ' + last_date.to_s + '$')
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/misc_ip.cc

    raf6ba3 re6f9145  
    770770{
    771771  StringSetS("");
    772   StringAppend("Singular for %s version %s (%d-%s)  %s\nwith\n",
    773                S_UNAME, S_VERSION1, SINGULAR_VERSION,
    774                feVersionId,singular_date);
     772  StringAppend("Singular for %s version %s (%s %s)  %s\nwith\n", // %d-
     773               S_UNAME, S_VERSION1, // SINGULAR_VERSION,
     774               PACKAGE_VERSION, feVersionId, singular_date);
    775775  StringAppendS("\t");
    776776#ifdef HAVE_FACTORY
  • Singular/tesths.cc

    raf6ba3 re6f9145  
    151151" by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \\   %s\n"
    152152"FB Mathematik der Universitaet, D-67653 Kaiserslautern        \\\n"
    153 , S_VERSION1,S_VERSION2);
     153, PACKAGE_VERSION, feVersionId);
    154154  if (feOptValue(FE_OPT_NO_SHELL)) Warn("running in restricted mode:"
    155155    " shell invocation and links are disallowed");
  • Singular/version.h

    raf6ba3 re6f9145  
    11/* dummy version.h */
    2 #define feVersionId " spielwiese "
    3 #include "config.h"
     2// #include "config.h"
     3#define feVersionId "$Id$"
    44
Note: See TracChangeset for help on using the changeset viewer.