Changeset 1392 for trunk


Ignore:
Timestamp:
Jul 12, 2011, 4:56:29 AM (9 years ago)
Author:
Peter Johansson
Message:

merge patch release 0.9.3 into trunk

Location:
trunk
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/Makefile.am

    r1373 r1392  
    6464.PHONY: check-svn_revision
    6565
     66FORCE:
     67
    6668check-svn_revision:
    6769  @$(SVNVERSION) | $(EGREP) '^[0-9]+$$' || \
     
    8082
    8183# run in end of release target
    82 RELEASE_HOOK = build_support/Portfile.v$(VERSION)
     84RELEASE_HOOK = build_support/Portfile.diff
     85
     86macport_url = http://svn.macports.org/repository/macports/trunk/dports/devel/svndigest
     87
     88build_support/Portfile.diff: build_support/Portfile FORCE
     89  test -e build_support/macport \
     90  || svn co $(macport_url) build_support/macport
     91  svn revert -R build_support/macport
     92  svn update build_support/macport
     93  cp build_support/Portfile build_support/macport/Portfile
     94  svn diff build_support/macport/Portfile > $@
     95  svn revert build_support/macport/Portfile
    8396
    8497edit = $(SED) \
     
    8699  -e 's|@VERSION[@]|$(VERSION)|g'
    87100
    88 build_support/Portfile.v$(VERSION): Makefile build_support/Portfile.in
     101build_support/Portfile: $(distdir).tar.gz Makefile build_support/Portfile.in
    89102  @rm -f $@ $@.t
    90103  @openssl version > /dev/null || exit 1
  • trunk/NEWS

    r1373 r1392  
    1414    http://dev.thep.lu.se/svndigest/svn/branches/0.9-stable
    1515
     16Version 0.9.3 (released 12 July 2011)
     17  - svncopyright now preserves file permissions (bug #505)
     18
     19  A complete list of closed tickets can be found here [[br]]
     20  http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.9.3
     21
    1622Version 0.9.2 (released 10 June 2011)
    1723  - Section [svn-props] in config file is now respected (bug #501).
    1824
    1925  A complete list of closed tickets can be found here [[br]]
    20   http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.9.2
     26  http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.9.2
    2127
    2228Version 0.9.1 (released 18 November 2010)
     
    2531
    2632  A complete list of closed tickets can be found here [[br]]
    27   http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.9.1
     33  http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.9.1
    2834
    2935Version 0.9 (released 6 November 2010)
     
    3743
    3844  A complete list of closed tickets can be found here [[br]]
    39   http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.9
     45  http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.9
    4046
    4147svndigest 0.8.x series from
     
    4652
    4753  A complete list of closed tickets can be found here [[br]]
    48   http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.8.1
     54  http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.8.1
    4955
    5056Version 0.8 (released 25 August 2010)
     
    6369
    6470  A complete list of closed tickets can be found here [[br]]
    65   http://dev.thep.lu.se/svndigest/query?status=closed&milestone=0.8
     71  http://dev.thep.lu.se/svndigest/query?status=closed&milestone=svndigest+0.8
    6672
    6773svndigest 0.7.x series from
  • trunk/lib/CopyrightVisitor.cc

    r1376 r1392  
    179179   
    180180    // finally rename file
     181    struct stat nodestat;
     182    stat(path.c_str(), &nodestat);
    181183    rename(tmpname, path);
     184    chmod(path, nodestat.st_mode);
    182185  }
    183186
  • trunk/lib/utility.cc

    r1322 r1392  
    33/*
    44  Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
    5   Copyright (C) 2010 Peter Johansson
     5  Copyright (C) 2010, 2011 Peter Johansson
    66
    77  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    7575
    7676
     77  void chmod(const std::string& filename, mode_t mode)
     78  {
     79    if (::chmod(filename.c_str(), mode))
     80      throw yat::utility::errno_error("chmod: ");
     81  }
     82
     83
    7784  std::string concatenate_path(std::string dir, std::string base)
    7885  {
  • trunk/lib/utility.h

    r1203 r1392  
    77  Copyright (C) 2005 Peter Johansson
    88  Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
    9   Copyright (C) 2009, 2010 Peter Johansson
     9  Copyright (C) 2009, 2010, 2011 Peter Johansson
    1010
    1111  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    5959
    6060  /**
     61   */
     62  void chmod(const std::string& filename, mode_t mode);
     63
     64  /**
    6165     wrapper around GNU C Library function chdir
    6266
  • trunk/m4/apache_LICENSE-2.0.txt

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • trunk/m4/find_apr.m4

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • trunk/m4/pkg.m4

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • trunk/m4/version.m4

  • trunk/m4/yat_add_flag.m4

    • Property svn:mergeinfo changed (with no actual effect on merging)
  • trunk/test/Makefile.am

    r1376 r1392  
    4646distributed_TESTS += error_test.sh
    4747distributed_TESTS += link_root_test.sh
     48distributed_TESTS += permission_test.sh
    4849distributed_TESTS += repo_status_test.sh
    4950distributed_TESTS += repo_test.sh
     
    103104copyright_cache_test.log:init.sh $(top_builddir)/bin/svncopyright$(EXEEXT) $(repo_stamp)
    104105link_root_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT) $(repo_stamp)
     106permission_test.log:init.sh $(top_builddir)/bin/svncopyright$(EXEEXT) $(repo_stamp)
    105107repo_status_test.log:init.sh
    106108repo_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT) $(repo_stamp)
Note: See TracChangeset for help on using the changeset viewer.