https://pantsbuild.org/ logo
#general
Title
# general
b

bitter-ability-32190

04/11/2022, 4:25 PM
Are the
build_file_aliases
documented anywhere on the docsite?
I'm looking for the "this directory" one
Ahh
build_file_dir
. Is this documented anywhere?
h

hundreds-father-404

04/11/2022, 4:29 PM
No. This is a project I want to do https://github.com/pantsbuild/pants/issues/14832 https://github.com/pantsbuild/pants/pull/14833 The collision has meant that I have much less time for fun projects like this, sadly. So I would not be offended at all if someone else took on this project
As discussed in those tickets, there is still some unanswered questions about whether we completely remove context aware object factories. The objects API is not powerful enough to handle build file dir -- if we remove the API, we must special case that symbol. However, generally we are all thinking that we should get rid of the API so that we have fewer to deal with. The only unique benefit of context aware object factory will be having access to the build file directly, but you can get that already by using the build file dir symbol
3 Views