Skip to content

Commit

Permalink
Merge pull request #95 from mantidproject/feature/10730_disable_usage…
Browse files Browse the repository at this point in the history
…_config_key

Add a key to the properties file for controlling usage reports
  • Loading branch information
peterfpeterson committed Dec 9, 2014
2 parents 0b002bc + a7c2f36 commit 41a5dee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/Framework/Kernel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ set ( PV_PLUGINS "./pvplugins" )
set ( IGNORE_PARAVIEW "0" )
set ( QTPLUGINS "." )
set ( UPDATE_INSTRUMENT_DEFINTITIONS "0" )
set ( ENABLE_USAGE_REPORTS "0" )
set ( PYTHONPLUGIN_DIRS "${MANTID_ROOT}/Framework/PythonInterface/plugins" )
set ( DATADIRS ${MANTID_ROOT}/../../Test/AutoTestData;${MANTID_ROOT}/../../Test/AutoTestData/UsageData;${MANTID_ROOT}/instrument )
set ( COLORMAPS_FOLDER ${MANTID_ROOT}/Installers/colormaps/ )
Expand Down Expand Up @@ -506,6 +507,7 @@ endif ()
set ( PLUGINS ${MANTID_ROOT}/plugins )
set ( PYTHONPLUGIN_DIRS "${PLUGINS}/python" )
set ( UPDATE_INSTRUMENT_DEFINTITIONS "1" )
set ( ENABLE_USAGE_REPORTS "1" )
set ( DATADIRS "" )
set ( MANTIDPUBLISHER "http://upload.mantidproject.org/scriptrepository/payload/publish" )
set ( HTML_ROOT ../share/doc/html )
Expand Down
3 changes: 3 additions & 0 deletions Code/Mantid/Framework/Properties/Mantid.properties.template
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ instrumentDefinition.directory = @MANTID_ROOT@/instrument
UpdateInstrumentDefinitions.OnStartup = @UPDATE_INSTRUMENT_DEFINTITIONS@
UpdateInstrumentDefinitions.URL = https://api.github.com/repos/mantidproject/mantid/contents/Code/Mantid/instrument

# Whether to report usage statistics back to central server
usagereports.enabled = @ENABLE_USAGE_REPORTS@

# Where to load Grouping files (that are shipped with Mantid) from
groupingFiles.directory = @MANTID_ROOT@/instrument/Grouping

Expand Down

0 comments on commit 41a5dee

Please sign in to comment.