| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Yi Cheng, and Eric Ayers.
By Peiyu Wang.
Repository:
pants
Description
Testing
Diffs
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
Updated Nov. 3, 2016, 5:50 p.m. Changes
Bugs:
3962
Repository:
pants
Description (updated) |
|
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
Updated Nov. 4, 2016, 5:10 p.m. Changes
|
|
Bugs:
3962
Repository:
pants
Description (updated) |
|
|
|
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
Ship it!
Thanks Peiyu!
| src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py (Diff revision 1) | |||
|---|---|---|---|
| 42 | |||
| 43 | @property |
||
| 44 | def zinc_file_manager(self): |
||
| 45 | """If false, the default file manager will be used instead of the zinc provided one. |
||
| 46 | :rtype: bool |
||
| 47 | """ |
||
| 48 | return self.get_options().zinc_file_manager |
||
Don't know how much time you have for this, but would really prefer that you add an "option sets" concept.
The target would specify string keys corresponding to option sets that are globally configured on the subsystem (with a default set of sets).
| src/python/pants/backend/jvm/zinc/zinc_analysis_element_types.py (Diff revision 1) | |||
|---|---|---|---|
| 60 | # self.internal_src_dep, self.external_dep, |
||
| 61 | # self.internal_src_dep_pi, self.external_dep_pi, |
||
xx
- Stu Hood
On November 4th, 2016, 5:10 p.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
Updated Nov. 4, 2016, 5:10 p.m. |
Bugs:
3962
Repository:
pants
Description
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
|
Testing (updated)
Diffs (updated)
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
On November 7th, 2016, 11:17 p.m. UTC, Stu Hood wrote:
src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py (Diff revision 1) 42 43 @property44 def zinc_file_manager(self):45 """If false, the default file manager will be used instead of the zinc provided one.46 :rtype: bool47 """48 return self.get_options().zinc_file_managerDon't know how much time you have for this, but would really prefer that you add an "option sets" concept.
The target would specify string keys corresponding to option sets that are globally configured on the subsystem (with a default set of sets).
Like to ship the python change and jvm change together, but will follow up right after shipping this.
On November 7th, 2016, 11:17 p.m. UTC, Stu Hood wrote:
src/python/pants/backend/jvm/zinc/zinc_analysis_element_types.py (Diff revision 1) 60 # self.internal_src_dep, self.external_dep,61 # self.internal_src_dep_pi, self.external_dep_pi,xx
removed.
- Peiyu
On November 9th, 2016, 7:18 p.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
|
|
|
Testing
Diffs |
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
Ship it!
Ship It!
- Stu Hood
On November 9th, 2016, 7:18 p.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
Updated Nov. 9, 2016, 7:18 p.m. |
|
Repository:
pants
Description
|
|
Testing
Diffs |
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
Updated Nov. 11, 2016, 5:40 a.m. Changes
|
|
|
Testing (updated)
Diffs (updated) |
|
|
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
| tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py (Diff revision 3) | |||
|---|---|---|---|
| 71 | '--cache-write-to=[\'{}\']'.format(cacheurl), |
71 | '--cache-compile-write-to=[\'{}\']'.format(cacheurl), |
write cache artifacts to temp except for bootstrap is better, i.e, blacklist vs whitelist.
follow up in https://rbcommons.com/s/twitter/r/4368/
- Peiyu Wang
On November 11th, 2016, 5:40 a.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
Updated Nov. 11, 2016, 5:40 a.m. |
|
Repository:
pants
Description
Testing |
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
On November 7th, 2016, 11:17 p.m. UTC, Stu Hood wrote:
src/python/pants/backend/jvm/subsystems/zinc_language_mixin.py (Diff revision 1) 42 43 @property44 def zinc_file_manager(self):45 """If false, the default file manager will be used instead of the zinc provided one.46 :rtype: bool47 """48 return self.get_options().zinc_file_managerDon't know how much time you have for this, but would really prefer that you add an "option sets" concept.
The target would specify string keys corresponding to option sets that are globally configured on the subsystem (with a default set of sets).
On November 9th, 2016, 7:20 p.m. UTC, Peiyu Wang wrote:
Like to ship the python change and jvm change together, but will follow up right after shipping this.
On November 11th, 2016, 5:40 a.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
Fix it, then Ship it!
| src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py (Diff revisions 2 - 3) | |||
|---|---|---|---|
| 313 | hasher.update(self.tool_jar(tool)) |
313 | hasher.update(os.path.relpath(self.tool_jar(tool), self.get_options().pants_workdir)) |
...hm. Won't this cause the artifact to not be shared across pants installs? Is the
pants_workdirrelative, or absolute?
| tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py (Diff revision 3) | |||
|---|---|---|---|
| 70 | '--cache-write', |
70 | '--cache-write', |
Why not make this more specific as well?
--cache-compile-write
- Stu Hood
On November 11th, 2016, 5:40 a.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
Updated Nov. 11, 2016, 5:40 a.m. |
|
Repository:
pants
Description
Testing |
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
On November 15th, 2016, 12:35 a.m. UTC, Stu Hood wrote:
src/python/pants/backend/jvm/tasks/jvm_compile/zinc/zinc_compile.py (Diff revisions 2 - 3) 313 hasher.update(self.tool_jar(tool))313 hasher.update(os.path.relpath(self.tool_jar(tool), self.get_options().pants_workdir))...hm. Won't this cause the artifact to not be shared across pants installs? Is the
pants_workdirrelative, or absolute?
workdir is absolute, in integration test this will be a temp directory for each test, like
--pants-workdir=/var/folders/z8/hfw3c_sj25b2t3wmnlfq3kjm0000gn/T/tmpBdSfsZ.pants.dtherefore the zinc artifact cached in one test is not reusable by another test.
On November 15th, 2016, 12:35 a.m. UTC, Stu Hood wrote:
tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py (Diff revision 3) 70 '--cache-write',70 '--cache-write',Why not make this more specific as well?
--cache-compile-write
i think in test we would like each test to isolate their cache directories, not to share.
therefore whitelisting only those expensive ones is safer.
ps: https://rbcommons.com/s/twitter/r/4368 is a separte patch since it is really an independent bug.
- Peiyu
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
Updated Nov. 18, 2016, 4:09 a.m. Changes
|
|
Repository:
pants
Description
Testing (updated) |
|
|
|
|
|
| This is an automatically generated e-mail. To reply, visit: https://rbcommons.com/s/twitter/r/4342/ |
On November 15th, 2016, 12:35 a.m. UTC, Stu Hood wrote:
tests/python/pants_test/backend/jvm/tasks/jvm_compile/base_compile_integration_test.py (Diff revision 3) 70 '--cache-write',70 '--cache-write',Why not make this more specific as well?
--cache-compile-write
On November 15th, 2016, 12:47 a.m. UTC, Peiyu Wang wrote:
i think in test we would like each test to isolate their cache directories, not to share.
therefore whitelisting only those expensive ones is safer.
ps: https://rbcommons.com/s/twitter/r/4368 is a separte patch since it is really an independent bug.
On November 18th, 2016, 4:09 a.m. UTC, Peiyu Wang wrote:
|
Review request for pants-reviews, Benjy Weinberger, Ity Kaul, Mateo Rodriguez, Nick Howard (Twitter), Stu Hood, Yi Cheng, and Eric Ayers.
By Peiyu Wang.
|
Updated Nov. 18, 2016, 4:09 a.m. |
|
Repository:
pants
Description
Testing |
|
|
|