wonderful-iron-54019
05/14/2020, 4:18 PMPlease check that there is a BUILD file in `src/media_processing/xcoder_audio_levels` with a target whose `sources` field includes `src/media_processing/xcoder_audio_levels/README.md`. See <https://www.pantsbuild.org/build_files.html>.
Naturally, these files do not belong to a target since they are not runtime artifacts. If there is an option to safely ignore 'orphaned' files, consider including that in the error message. If there isn't would like to kindly request one as building a good exclustion list can become quite cumbersomewitty-crayon-22786
05/14/2020, 4:19 PMwitty-crayon-22786
05/14/2020, 4:20 PMwitty-crayon-22786
05/14/2020, 4:21 PM--owners-not-found-behavior=<OwnersNotFoundBehavior> (default: error)
What to do when file arguments do not have any owning target. This happens when there are no targets whose `sources` fields include the file argument.
witty-crayon-22786
05/14/2020, 4:22 PM--owners-not-found-behavior=ignore
wonderful-iron-54019
05/14/2020, 4:23 PMwitty-crayon-22786
05/14/2020, 4:23 PMwonderful-iron-54019
05/14/2020, 4:29 PMerror
default? it seems like especially for newer features where an ignore would not be dangerous that warn
is more appropriate as users could be nudged without encountering errors unexpectedlywonderful-iron-54019
05/14/2020, 4:30 PMwitty-crayon-22786
05/14/2020, 4:30 PMwonderful-iron-54019
05/14/2020, 4:30 PMwonderful-iron-54019
05/14/2020, 4:31 PMwitty-crayon-22786
05/14/2020, 4:31 PM--owner-of
, which people sometimes used manually, but which was mostly used in automation, with CLI “specs” (which used to only be targets)witty-crayon-22786
05/14/2020, 4:32 PMwitty-crayon-22786
05/14/2020, 4:33 PMwonderful-iron-54019
05/14/2020, 4:33 PMwonderful-iron-54019
05/14/2020, 4:33 PMaloof-angle-91616
05/14/2020, 4:34 PMhundreds-father-404
05/14/2020, 5:21 PM--pants-ignore
be relevant too? You could add **/README.md
to it, although that would mean you could never add that file to the sources
of a target, which could be an issuealoof-angle-91616
05/14/2020, 5:22 PMwitty-crayon-22786
05/14/2020, 5:23 PM--spec-file
question from the other day. is that right @wonderful-iron-54019 ?witty-crayon-22786
05/14/2020, 5:24 PMwonderful-iron-54019
05/14/2020, 5:24 PMwonderful-iron-54019
05/14/2020, 5:25 PMglobs
deprecations to trigger a system wide redeploy, so we were grepping . out the BUILD fileshundreds-father-404
05/14/2020, 5:26 PM--owners-not-found-behavior
.witty-crayon-22786
05/14/2020, 7:39 PM