1. 16 Mar, 2015 2 commits
    • Brad King's avatar
      Switch developer setup to use the GitLab workflow · b1a0f22e
      Brad King authored
      In SetupForDevelopment, switch from setup-gerrit to setup-gitlab.
      Also invoke setup-upstream to switch the "origin" remote to GitLab.
      Update the version of the SetupForDevelopment script so that existing
      work tree hooks will ask developers to run the script again.
    • Brad King's avatar
      Disable gerrit-push and stage aliases · ac802c7c
      Brad King authored
      Teach SetupGitAliases to update old VTK development aliases to
      just print a message that the old methods are no longer used.
      Teach git-gerrit-push to print the same message as the alias
      in case users have not updated it.
  2. 20 Feb, 2015 1 commit
  3. 06 Jun, 2014 1 commit
    • Brad King's avatar
      Add option to exclude VTKData target from default build · fec99e56
      Brad King authored
      Add a "VTK_DATA_EXCLUDE_FROM_ALL" option to cause the VTKData
      to be marked with the EXCLUDE_FROM_ALL property so that it does not
      build unless explicitly requested by the user.  This may be useful to
      developers that want to get VTK built locally without waiting for
      all the test data to download.
      Within a dashboard build, hard-code the option to OFF since dashboards
      need the data.  Otherwise, select a default based on local
      configuration.  Teach the SetupExternalData developer setup script to
      prompt for a default.  If that does not provide one, check for an
      environment variable.  Otherwise, fall back to a default of OFF so that
      the basic build and test sequence works without extra steps.
      When the option is ON at the same time as BUILD_TESTING, produce a
      warning that a manual step may be needed after building and before
      running tests.
      Change-Id: Ie35e885c25d9d25bf64653088b97a9c7032b1d0b
  4. 27 May, 2014 1 commit
    • Brad King's avatar
      Fix ExternalData pre-commit hook on msysGit · b55c8ebf
      Brad King authored
      The "mv" command on msysGit does not have the "-n" option.
      Since the file names involved are computed from their content,
      replacing a file is unlikely to change it.
      Change-Id: Ia74d0dc5b9870a51b7bc460cc4dbeaa6ba023348
  5. 22 May, 2013 1 commit
    • Brad King's avatar
      Add option VTK_DATA_STORE to specify ExternalData object store · d7bf9e9a
      Brad King authored
      Replace the ExternalData_OBJECT_STORES cache entry with a VTK-specific
      name "VTK_DATA_STORE".  In the common use case there is only one store
      so make the option a "PATH" cache entry for easy handling in cmake-gui.
      In order to allow advanced users to configure multiple stores honor any
      ExternalData_OBJECT_STORES that is set but do not add the cache option
      by default.
      Select a default for VTK_DATA_STORE based on the results of local user
      configuration.  First, teach the SetupForDevelopment.sh script to run a
      SetupExternalData.sh script that prompts the developer for a default
      value.  Second, if no default was selected by developer setup, look for
      a VTKExternalData or ExternalData directory as a sibling to the source
      tree.  Third, if the previous two attempts failed, fall back to the
      environment variable ExternalData_OBJECT_STORES for advanced users.
      Change-Id: I964cb99aa204176010f27948a9bd40a00836532f
  6. 06 May, 2013 1 commit
    • Brad King's avatar
      Add ExternalData infrastructure · 43f0b283
      Brad King authored
      Port the ExternalData configuration from ITK 'master' as of 2013-05-06.
      Add a CMake/vtkExternalData.cmake module to include and configure the
      ExternalData module for VTK.  List MIDAS and vtk.org URLs.
      Include vtkExternalData from the top-level CMakeLists.txt file and from
      Testing/External/CMakeLists.txt so it works for both the main build and
      when building tests externally.
      Teach the VTK pre-commit hook to move staged .ExternalData_MD5_* files
      left by the ExternalData module into the store at the top of the source
      tree as .ExternalData/MD5/* and import them into Git as refs/data/MD5/*.
      Teach the VTK git-gerrit-push alias to push content from refs/data/MD5/*
      when commits referencing it are pushed to Gerrit.
      Add a .gitignore to tell Git to ignore .ExternalData* names.
      Change-Id: I8c0a91cb3ce350450e378e4f16a23c62e7f2de6f
  7. 17 Apr, 2012 1 commit
    • Brad King's avatar
      Use generalized developer GitSetup scripts · 4c625dbd
      Brad King authored
      Add Utilities/GitSetup/config to configure the generalized scripts
      for VTK.  Remove replaced Utilities/Scripts/*.sh scripts.  Teach
      Utilities/SetupForDevelopment.sh to run the generalized scripts.
      Change-Id: Icdd4221567eb41cba3d494cadcd4d333c949fb37
  8. 07 Feb, 2012 1 commit
    • Brad King's avatar
      Add VTK-specific local commit hooks · 31dd722a
      Brad King authored
      Add ".hooks-config.bash" to tell the main hooks to chain to our hooks.
      Add a pre-commit hook that cooperates with SetupForDevelopment.sh to
      ensure the user has run the most recent hook setup script.  Add a
      prepare-commit-msg hook to mention the "WIP:" prefix in the standard
      commented commit message instructions.
      Change-Id: I034afb64aa4fbbcaafd70d8a57493495d8736181
  9. 01 Feb, 2012 4 commits
    • Brad King's avatar
      SetupForDevelopment: Revise entire process · ed78e674
      Brad King authored
      Rewrite all setup scripts using clean bash conventions and &&-chains.
      Rewrite SetupGerrit to provide more information, instructions, and links
      to the user.  Also teach SetupGerrit to configure a http fetch url and
      ssh push url so that "git gerrit-push" does not need to access the SSH
      private key twice.
      Change-Id: I60d790cc23ff6296dee54d789ed492beb74a369c
    • Brad King's avatar
      SetupForDevelopment: Remove topic stage · 727a25eb
      Brad King authored
      The topic stage has been replaced by direct use of Gerrit Code Review.
      Change-Id: I99d48a5bf5127e64384b8c6f61768a3429f79776
    • Marcus D. Hanwell's avatar
      ENH: Deprecate the git stage aliases. · 9c85bf77
      Marcus D. Hanwell authored
      We have moved to Gerrit and so the stage aliases are no longer required.
      The instructions at http://www.vtk.org/Wiki/VTK/Git show the updated
      workflow. The gerrit-push alias should be used in conjunction with the
      Gerrit interface for review and merging of changes.
      Change-Id: Ic142ab8e6c7a80922a31496b663e5b45b094d1f3
    • Brad King's avatar
      Teach "git gerrit-push" new --dry-run option · 376d0b93
      Brad King authored
      This tells the script to do everything except actually make the final
      changes to the local and remote repositories.  It uses the --dry-run
      option of "git push".
      While at it, initialize the "refspec" variable and comment handling of
      the return code from the push.
      Change-Id: I0466be76f5c28122dbf9b7f23a7a679703ca6bb8
  10. 01 Dec, 2011 1 commit
    • Brad King's avatar
      BUG: Fix developer hooks setup after a build · b412145b
      Brad King authored
      Our CMake files write a sentinel .git/hooks/pre-commit file if it does
      not exist to tell the developer to run the setup scripts before
      committing.  Previously the SetupHooks.sh script was able to simply pull
      into a local repository inside the .git/hooks directory and overwrite
      the pre-commit sentinel with the real hook.  However, since that was
      developed Git has been fixed to not overwrite the untracked file.
      Replace the "pull" with "fetch" and "reset".  This tells Git that it is
      okay to overwrite the untracked sentinel pre-commit hook.
      Change-Id: I92a3b97eb713d542277185b4759e5b2d0f8ae973
  11. 08 Nov, 2011 1 commit
  12. 14 Apr, 2011 1 commit
    • Marcus D. Hanwell's avatar
      ENH: Fetch gerrit remote before pushing. · a601aa00
      Marcus D. Hanwell authored
      This reduces the size of the transfer if the gerrit remote is not up to
      date, by fetching its latest state before attempting to push to it.
      Change-Id: I895150563f48c37be158fc20b907efb1de80031c
  13. 13 Jan, 2011 1 commit
  14. 18 Oct, 2010 1 commit
  15. 14 Oct, 2010 2 commits