bored-art-40741
03/19/2016, 5:16 PMbored-art-40741
03/19/2016, 5:16 PMancient-stone-50795
03/19/2016, 6:39 PMancient-stone-50795
03/20/2016, 2:16 PMhappy-kitchen-89482
03/20/2016, 5:17 PMhappy-kitchen-89482
03/20/2016, 5:18 PMgit grep “type=list_option"
happy-kitchen-89482
03/20/2016, 5:19 PMgit grep "action='append’"
happy-kitchen-89482
03/20/2016, 5:19 PMbored-art-40741
03/20/2016, 5:23 PMsrc/python/foursquare/pants/codegen/python_thrift_gen.py:51: register('--deps', advanced=True, type=list_option,
src/python/foursquare/pants/codegen/python_thrift_gen.py:53: register('--service-deps', advanced=True, type=list_option,
src/python/foursquare/pants/codegen/scala_js_bundle.py:67: register('--runtime-deps', advanced=True, type=list_option, default=[])
src/python/foursquare/pants/codegen/soy_codegen_task.py:65: register('--jvm-options', advanced=True, type=list_option, default=[])
src/python/foursquare/pants/codegen/soy_codegen_task.py:66: register('--runtime-deps', advanced=True, type=list_option, default=[])
src/python/fsqio/pants/pom/pom_resolve.py:299: type=list_option,
src/python/fsqio/pants/pom/pom_resolve.py:343: type=list_option,
src/python/fsqio/pants/spindle/tasks/spindle_gen.py:47: type=list_option,
src/python/fsqio/pants/spindle/tasks/spindle_gen.py:53: type=list_option,
src/python/fsqio/pants/spindle/tasks/spindle_gen.py:59: type=list_option,
bored-art-40741
03/20/2016, 5:24 PMaction='append'
(lots more outside of our pants code though)happy-kitchen-89482
03/20/2016, 5:33 PMaction=‘append’
happy-kitchen-89482
03/20/2016, 5:33 PMwitty-crayon-22786
03/20/2016, 5:41 PMpants-plugins/src/python/twitter/pants_internal/build_helpers/consume_thrift_libraries_subsystem.py: register('--thrift-jar-dependencies', advanced=True, type=list_option, default=[],
pants-plugins/src/python/twitter/pants_internal/build_helpers/consume_thrift_libraries_subsystem.py: register('--thrift-jar-scala-excludes', advanced=True, type=list_option, default=[],
pants-plugins/src/python/twitter/pants_internal/build_helpers/consume_thrift_libraries_subsystem.py: register('--thrift-jar-java-excludes', advanced=True, type=list_option, default=[],
pants-plugins/src/python/twitter/pants_internal/build_helpers/create_thrift_libraries_subsystem.py: register('--generate-languages', default=['scala', 'java', 'ruby', 'python'], advanced=True, type=list_option,
pants-plugins/src/python/twitter/pants_internal/subsystems/node_packer_module_resolver.py: register('--valid-packer-dcs', type=list_option,
pants-plugins/src/python/twitter/pants_internal/subsystems/twitter_tests.py: register('--valid-environments', type=list_option,
pants-plugins/src/python/twitter/pants_internal/tasks/consolidate_classpath.py: register('--patterns', type=list_option, default=[],
pants-plugins/src/python/twitter/pants_internal/tasks/dataset_gen.py: register('--dependencies', type=list_option,
pants-plugins/src/python/twitter/pants_internal/tasks/ensure_tests.py: register('--whitelist-paths', type=list_option, default=[], advanced=True,
pants-plugins/src/python/twitter/pants_internal/tasks/scrooge_generator_cocoa.py: register('--jvm-options', default=[], advanced=True, type=list_option,
pants-plugins/src/python/twitter/pants_internal/tasks/thriftstore_dml_gen.py: register('--javadeps', default=[], advanced=True, type=list_option,
witty-crayon-22786
03/20/2016, 5:42 PMwitty-crayon-22786
03/20/2016, 5:43 PMpants-plugins/src/python/twitter/pants_internal/tasks/build_props/base.py: register('--extra', default=[], action='append',
pants-plugins/src/python/twitter/pants_internal/tasks/dataset_gen.py: register('--jvm-options', action='append', metavar='<option>...', advanced=True,
pants-plugins/src/python/twitter/pants_internal/tasks/ensure_tests.py: register('--jvm-options', action='append', metavar='<option>...',
pants-plugins/src/python/twitter/pants_internal/tasks/persisted_schema_compatibility_checker.py: register('--jvm-options', action='append', metavar='<option>...', advanced=True, fingerprint=True,
pants-plugins/src/python/twitter/pants_internal/tasks/source_dep_list.py: register('--manual-override-file', default=[], action='append',
pants-plugins/src/python/twitter/pants_internal/tasks/twitter_tests.py: action='append',
witty-crayon-22786
03/20/2016, 5:47 PMhappy-kitchen-89482
03/20/2016, 5:50 PMhappy-kitchen-89482
03/20/2016, 5:50 PMhappy-kitchen-89482
03/20/2016, 5:50 PMwitty-crayon-22786
03/20/2016, 5:52 PMhappy-kitchen-89482
03/20/2016, 6:05 PMadorable-glass-89507
03/20/2016, 8:19 PM# user: the current user
# homedir: the current user's home directory
# buildroot: the root of this repo
# pants_bootstrapdir: the global pants scratch space primarily used for caches
# pants_supportdir: pants support files for this repo go here# for example: ivysettings.xml
# pants_distdir: user visible artifacts for this repo go here
# pants_workdir: the scratch space used to for live builds in this repo
ancient-stone-50795
03/20/2016, 11:35 PM./pants help --help-advanced
ancient-stone-50795
03/20/2016, 11:37 PM...
--pants-config-files="['str1','str2',...]" (default: ['/Users/zundel/Src/pants/pants.ini'])
Paths to Pants config files.
--pants-configdir=<dir> (default: '/Users/zundel/.config/pants')
Use this dir for global config files.
--pants-distdir=<dir> (default: '/Users/zundel/Src/pants/dist')
Write end-product artifacts to this dir.
--pants-supportdir=<dir> (default: '/Users/zundel/Src/pants/build-support')
Use support files from this dir.
--pants-version=<str> (default: '0.0.77')
Use this pants version.
--pants-workdir=<dir> (default: '/Users/zundel/Src/pants/.pants.d')
Write intermediate output files to this dir.
ancient-stone-50795
03/20/2016, 11:37 PMadorable-glass-89507
03/20/2016, 11:39 PMancient-stone-50795
03/20/2016, 11:39 PMexcludes: [
{ "org": "org.slf4j",
"name": "log4j-over-slf4j"},
{ "org": "org.eclipse.jetty.orbit",
"name": "javax.servlet" },
...
ancient-stone-50795
03/20/2016, 11:40 PMregister('--excludes', advanced=True, type=list_option, default=[], fingerprint=True,
happy-kitchen-89482
03/21/2016, 4:54 AMhappy-kitchen-89482
03/21/2016, 4:54 AMmember_type='dict_option’
on it