Commit graph

7 commits

Author SHA1 Message Date
Adam Cozzette
501ececd39 Reorganize upb file structure
This change moves almost everything in the `upb/` directory up one level, so
that for example `upb/upb/generated_code_support.h` becomes just
`upb/generated_code_support.h`. The only exceptions I made to this were that I
left `upb/cmake` and `upb/BUILD` where they are, mostly because that avoids
conflict with other files and the current locations seem reasonable for now.

The `python/` directory is a little bit of a challenge because we had to merge
the existing directory there with `upb/python/`. I made `upb/python/BUILD` into
the BUILD file for the merged directory, and it effectively loads the contents
of the other BUILD file via `python/build_targets.bzl`, but I plan to clean
this up soon.

PiperOrigin-RevId: 568651768
2023-09-26 14:38:35 -07:00
Adam Cozzette
7286ffceb2 Merge the protobuf and upb Bazel repos
A couple weeks ago we moved upb into the protobuf Git repo, and this change
continues the merger of the two repos by making them into a single Bazel repo.
This was mostly a matter of deleting upb's WORKSPACE file and fixing up a bunch
of references to reflect the new structure.

Most of the changes are pretty mechanical, but one thing that needed more
invasive changes was the Python script for generating CMakeLists.txt,
make_cmakelists.py. The WORKSPACE file it relied on no longer exists with this
change, so I updated it to hardcode the information it needed from that file.

PiperOrigin-RevId: 564810016
2023-09-12 13:09:54 -07:00
Adam Cozzette
047df98dea Move upb-x/ back to upb/
This is the second attempt to fix our Git history. This should allow
"git blame" to work correctly in the upb/ directory even though our
automation unexpectedly blew away that directory.
2023-08-25 16:36:38 +00:00
Adam Cozzette
895f190bda Move upb to upb-x 2023-08-25 16:34:32 +00:00
Adam Cozzette
1ba80d7424 Move upb-temp/ back to upb/ 2023-08-25 16:13:32 +00:00
Adam Cozzette
d38b8561e6 Move upb/ to upb-temp/
This will help us fix our Git commit history to ensure that git blame
works correctly for upb.
2023-08-25 16:12:09 +00:00
Adam Cozzette
0d1ba13e83 Move everything into new upb/ directory 2023-08-24 21:06:37 +00:00
Renamed from python/repeated.h (Browse further)