Skip to content

Conversation

bigfootjon
Copy link
Member

Summary:
Originally we created a bunch of empty TARGETS files to allow us to enable BUCK files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using non_fbcode_target so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with sed, arc f and reverted any lines that didn't make sense

Differential Revision: D69994481

Copy link

pytorch-bot bot commented Feb 25, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/8703

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 55d61f1 with merge base 265b9b7 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 25, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69994481

facebook-github-bot pushed a commit to pytorch/pytorch that referenced this pull request Feb 25, 2025
Summary:
X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Differential Revision: D69994481
@@ -1,9 +1,10 @@
load("@fbcode_macros//build_defs:build_file_migration.bzl", "fbcode_target", "non_fbcode_target")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love that this file is not available in the open-source shim. however, they are not building in OSS today, so I won't block.

bigfootjon added a commit that referenced this pull request Feb 27, 2025
Summary:
X-link: pytorch/pytorch#147897


Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Differential Revision: D69994481
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69994481

bigfootjon added a commit that referenced this pull request Feb 27, 2025
Summary:
X-link: pytorch/pytorch#147897

Pull Request resolved: #8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Differential Revision: D69994481
bigfootjon added a commit to pytorch/pytorch that referenced this pull request Feb 27, 2025
Summary:
Pull Request resolved: #147897

X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Differential Revision: D69994481
bigfootjon added a commit that referenced this pull request Mar 19, 2025
Summary:
X-link: pytorch/pytorch#147897


Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Differential Revision: D69994481
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69994481

bigfootjon added a commit that referenced this pull request Mar 19, 2025
Summary:
X-link: pytorch/pytorch#147897

Pull Request resolved: #8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Differential Revision: D69994481
bigfootjon added a commit to pytorch/pytorch that referenced this pull request Mar 19, 2025
Summary:
Pull Request resolved: #147897

X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Differential Revision: D69994481
facebook-github-bot pushed a commit that referenced this pull request Mar 25, 2025
Summary:
X-link: pytorch/pytorch#147897


Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Differential Revision: D69994481
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69994481

bigfootjon added a commit to pytorch/pytorch that referenced this pull request Mar 25, 2025
Summary:
Pull Request resolved: #147897

X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Reviewed By: mzlee

Differential Revision: D69994481
bigfootjon added a commit that referenced this pull request Mar 26, 2025
Summary:
X-link: pytorch/pytorch#147897


Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Reviewed By: mzlee

Differential Revision: D69994481
Summary:
X-link: pytorch/pytorch#147897

Pull Request resolved: #8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Reviewed By: mzlee

Differential Revision: D69994481
bigfootjon added a commit to pytorch/pytorch that referenced this pull request Mar 26, 2025
Summary:
Pull Request resolved: #147897

X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Reviewed By: mzlee

Differential Revision: D69994481
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69994481

@facebook-github-bot facebook-github-bot merged commit 80992a9 into main Mar 26, 2025
87 of 90 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D69994481 branch March 26, 2025 22:07
pytorchmergebot pushed a commit to pytorch/pytorch that referenced this pull request Mar 26, 2025
Summary:
X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Differential Revision: D69994481

Pull Request resolved: #147897
Approved by: https://github.com/izaitsevfb
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
Differential Revision: D69994481

Pull Request resolved: #8703
amathewc pushed a commit to amathewc/pytorch that referenced this pull request Apr 17, 2025
Summary:
X-link: pytorch/executorch#8703

Originally we created a bunch of empty `TARGETS` files to allow us to enable `BUCK` files in fbcode by hiding the existing BUCK file. These files were subsequently merged together using `non_fbcode_target` so these tombstones are no longer necessary.

This diff fixes all files that WOULD have had the useless tombstone merged into them. To create this diff, I just ran the merger script that Codemod Service is using and then deleted the "merged from" and tombstone lines with `sed`, `arc f` and reverted any lines that didn't make sense

Test Plan: CI

Differential Revision: D69994481

Pull Request resolved: pytorch#147897
Approved by: https://github.com/izaitsevfb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants