Skip to content
Snippets Groups Projects
  1. May 15, 2013
    • Steffen Müthing's avatar
      [dunecontrol] Fix parsing of Git configuration settings file · 4d1af34f
      Steffen Müthing authored
      dunecontrol fails to properly process Git settings where the value contains
      spaces. It was supposed to handle quoting the same way the shell does, but
      instead arguments were split at each space and quotes kept verbatim in the
      split arguments.
      
      The reason is the order in which the shell performs variable substitution and
      tokenizing, preventing the line with the Git configuration entry from being
      tokenized by the shell.
      
      This patch fixes the problem by first parsing the line into an array, which is
      then in turn expanded again with correct per-element quoting.
      
      In addition, make COMMENT helper variables local while we're at it.
      4d1af34f
  2. May 13, 2013
    • Christian Engwer's avatar
      [dunecontrol] · 8b16eb31
      Christian Engwer authored
      quick-fix to make CMAKE builds respect the DUNE_BUILDDIR entry in opts
      files
      8b16eb31
  3. May 11, 2013
  4. May 10, 2013
  5. May 08, 2013
  6. May 07, 2013
  7. May 06, 2013
  8. May 04, 2013
  9. May 03, 2013
    • Markus Blatt's avatar
      058666de
    • Oliver Sander's avatar
      Allow the user to override whitespace hook setting in dune.module · 73555c98
      Oliver Sander authored
      This patch makes it possible to bypass installation of the whitespace hook by specifying
      
      VCSETUP_FLAGS="DISABLEWHITESPACEHOOK=1"
      
      in the user's options. If dunecontrol encounters that flag, it will not attempt to install
      the hook in any module, uninstall the hook if it has already been installed and output a
      warning telling the user that he'll have to take care of whitespace by himself.
      
      [[Imported from SVN: r7471]]
      73555c98
    • Oliver Sander's avatar
      Apply user-supplied Git configuration settings during vcsetup · db72bf40
      Oliver Sander authored
      This patch allows the user to specify a file with Git configuration options that
      will be applied during the vcsetup phase, which might be used to set a custom identity
      within the repository (e.g. an @dune-project.org email address) or to set up personal
      aliases.
      
      In order to enable this feature, put the line
      VCSETUP_FLAGS="GIT_CONFIG_FILE=</path/to/your/config/file>"
      into your options file. The configuration file itself is fed to the command
      "git config" line-by-line, so you can normally set an option by simply having a
      line like "config_key value" in the configuration file. Lines starting with # are
      skipped and can be used for comments.
      
      [[Imported from SVN: r7470]]
      db72bf40
    • Oliver Sander's avatar
      Enable installation of whitespace hook · 9aa947fd
      Oliver Sander authored
      [[Imported from SVN: r7469]]
      9aa947fd
    • Oliver Sander's avatar
      Run vcsetup during "dunecontrol all" · 7aec6859
      Oliver Sander authored
      This patch hooks vcsetup into the standard "dunecontrol all" incantation
      that most users are likely invoke after cloning a repository. By running
      vcsetup that way, most Dune users will automatically have the whitespace hook
      installed, which should greatly improve the usability of user-submitted patches.
      
      [[Imported from SVN: r7468]]
      7aec6859
    • Oliver Sander's avatar
      Add new command "vcsetup" to dunecontrol · 7d9b3547
      Oliver Sander authored
      This patch adds the new command "vcsetup" to dunecontrol. This command
      is intended to perform various setup actions on a module that has been
      checked out from a version control system.
      
      For now, the command
      
      - installs the whitespace hook bin/git-whitespace-hook as a Git pre-commit hook
        if all of the following conditions are met:
        - the current module is a Git repository
        - the dune.module file contains the line "Whitespace-Hook: Yes"
        - there is no existing pre-commit hook that would be overwritten
        The script detects older versions of the whitespace hook and updates them
        if necessary.
      
      - applies Git configuration settings from the file .vcsetup/config.
        The contents of the file is simply fed to "git config" line by line. That
        way, Git configuration keys can be set by simply adding a line of the form
        "key value". Lines starting with "#" are filtered out and can thus be used
        for comments.
      
      - runs all executable files in the directory .vcsetup/run.d
        This can be used for more elaborate setups. Note that these scripts are run
        if any of the following files/directories are found: .git .svn CVS stamp-vc
      
      [[Imported from SVN: r7467]]
      7d9b3547
    • Oliver Sander's avatar
      Add local Git whitespace hook to bin/ directory · 78f7806b
      Oliver Sander authored
      bin/git-whitespace-hook is a Git pre-commit hook that enforces our
      whitespace policy for local commits. By installing this hook in a
      local Git repository, users can make sure that there won't be any
      nasty surprises when trying to merge their commits to the central
      repository later on.
      
      [[Imported from SVN: r7466]]
      78f7806b
  10. May 02, 2013
    • Markus Blatt's avatar
      cctype header was missing on some compilers. · 35346e05
      Markus Blatt authored
      Patch was kindly provided by Bernd Flemisch.
      
      [[Imported from SVN: r7465]]
      35346e05
    • Markus Blatt's avatar
      Added missing file from previous commit. · e89c0b0e
      Markus Blatt authored
      Moved add_dune_<package>_flags functions out of the
      Find<Package>.cmake modules, as they were missing with set
      CMAKE_DISABLE_<Package>=TRUE.
      
      Now they are in speparte modules Add<Package>Flags and thus can be
      used as exspected with disabled packages.
      
      [[Imported from SVN: r7464]]
      e89c0b0e
    • Markus Blatt's avatar
      Moved add_dune_<package>_flags functions out of the · cd13a837
      Markus Blatt authored
      Find<Package>.cmake modules, as they were missing with set
      CMAKE_DISABLE_<Package>=TRUE.
      
      Now they are in speparte modules Add<Package>Flags and thus can be
      used as exspected with disabled packages.
      
      [[Imported from SVN: r7463]]
      cd13a837
  11. May 01, 2013
  12. Apr 29, 2013
  13. Apr 25, 2013
    • Christian Engwer's avatar
      [dunecontrol] · ae0bbee3
      Christian Engwer authored
      fix incompatibility with mawk
      
      - explicitly state list of whitespaces
      - patch by Ansgar Burchardt
      
      [[Imported from SVN: r7452]]
      ae0bbee3
Loading