Skip to content
Snippets Groups Projects
  1. May 15, 2013
    • Steffen Müthing's avatar
    • Steffen Müthing's avatar
      [dunecontrol] Improve path quoting in vcsetup command · 6ac1f433
      Steffen Müthing authored
      Make sure to always quote paths that are relative to PREFIX_DIR, as that variable
      may contain spaces.
      6ac1f433
    • Steffen Müthing's avatar
      [dunecontrol] Add support for Git submodules · bcde7bfa
      Steffen Müthing authored
      Some Dune users like to aggregate all the Dune modules required for a project by
      creating a Git repository with a Git submodule for every submodule. Unfortunately,
      dunecontrol currently doesn't recognize the submodule repositories currently because
      Git aggregates all repositories in the .git directory of the superproject (more
      preciselyin in the subdirectory .git/modules/). In the submodule, .git is a regular
      file that contains a referral to the actual repository directory.
      
      This patch fixes the problem by
      
      - Detecting Git directories by looking for both directories and regular files called
        .git in the module directory.
      
      - Following the referral in submodules for the hook setup to make sure the hook gets
        installed in the correct location.
      
      Fixes FS#1303.
      bcde7bfa
  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 10, 2013
  4. May 03, 2013
    • 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
      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
  5. Apr 29, 2013
  6. Apr 24, 2013
  7. Feb 19, 2013
    • Markus Blatt's avatar
      [Merge][CMake] Merged revisions : 7117 · 2f56a10d
      Markus Blatt authored
      Revision 7117
      .----------------------
      Make autotools the default build system. 
      
      One can select CMake using the --use-cmake switch. This prepares
      the merge to the trunk.
      
      
      
      [[Imported from SVN: r7360]]
      2f56a10d
  8. Feb 13, 2013
  9. Feb 01, 2013
  10. Sep 27, 2012
    • Markus Blatt's avatar
      - List the cmake modules explicitly (file(GLOB will not detect changes · 3a203878
      Markus Blatt authored
        after configure)
      - Make CMake module installation path configurable
      - Detect CMAKE_MODULE_PATH automatically
        + First call find_package(dune-common) to query its CMAKE_MODULE_PATH
        + Then setup the module path
        + After each find_package of dune module update the CMAK_MODULE_PATH
        + each module exports ist own <package-name>_MODULE_PATH in the
        + package configuration files
      - Adapted dunecontrol and duneproject accordingly.
      
      [[Imported from SVN: r6996]]
      3a203878
  11. Sep 09, 2012
    • Christoph Grüninger's avatar
      [dunecontrol] · 36048e87
      Christoph Grüninger authored
      Add new command bexec, a copy of exec with executes the given commands
      in the build directory.
      
      [[Imported from SVN: r6984]]
      36048e87
  12. Sep 06, 2012
  13. Sep 04, 2012
  14. Sep 03, 2012
    • Christoph Grüninger's avatar
      [dunecontrol] · dfd8fc4a
      Christoph Grüninger authored
      Use BUILDIR from opts file only if not empty string (=is set).
      
      [[Imported from SVN: r6955]]
      dfd8fc4a
    • Christoph Grüninger's avatar
      [dunecontrol] · dc82f144
      Christoph Grüninger authored
      Change default build dir from cmake-build to build-cmake to facilitate tab completion.
      
      [[Imported from SVN: r6951]]
      dc82f144
  15. Aug 28, 2012
  16. Aug 20, 2012
  17. Aug 16, 2012
  18. Aug 10, 2012
  19. Jul 18, 2012
  20. Jul 11, 2012
    • Christian Engwer's avatar
      [dunecontrol] · 4a870395
      Christian Engwer authored
      fix verbose suggestions output
      (thanks to Tobias Malkmus)
      
      [[Imported from SVN: r6861]]
      4a870395
  21. Jul 10, 2012
    • Christian Engwer's avatar
      [dunecontrol] · a5ca714b
      Christian Engwer authored
      add an option to print the sorted list of modules, including the info
      if it is a dependency or a suggestion
      
      [[Imported from SVN: r6860]]
      a5ca714b
    • Christian Engwer's avatar
      [dunecontrol] · f2a9d5e4
      Christian Engwer authored
      remove debug output
      
      [[Imported from SVN: r6854]]
      f2a9d5e4
  22. Jul 09, 2012
  23. Jun 09, 2012
  24. May 29, 2012
    • Oliver Sander's avatar
      Bugfix: · ce34b534
      Oliver Sander authored
      - Remove unnecessary path to control file (It was needed for building
        installed modules which we do not do any more
      - Test for ../../pkgconfig/$modname.pc to decide whether a module is 
        installed or not. Fixes flyspray 1100.
      
      
      [[Imported from SVN: r6779]]
      ce34b534
    • Oliver Sander's avatar
      - Corrected test whether a module is installed (true if both files tested · 3af7d3e2
      Oliver Sander authored
        do exist, as they are actually one file for installed modules.)
      - Only build modules that are not installed
      - Store relative path of CONTROL file and use it during running
        commands (on second thought I am not sure whether this is really
        needed).
      
      Fixes flyspray 1112.
      
      [[Imported from SVN: r6778]]
      3af7d3e2
Loading