Commit Graph

4 Commits

Author SHA1 Message Date
aiuto 52996b06c3
Temporarily restore //mappings.bzl and //pkg.bzl (#817)
* Restore mappings.bzl and pkg.bzl as a stopgap until https://github.com/protocolbuffers/protobuf/issues/15779 is fixed.

* bump version number for upcoming patch release
2024-02-08 15:43:00 -05:00
aiuto c86a3e56eb
Remove top level .bzl files. They are all in //pkg. (#688)
* remove top level .bzl files. All of them should be loaded from //pkg:x.bzl

* fix the rest
2023-05-01 13:18:29 -04:00
Andrew Psaltis ce8c20ac80
Post tree-reorganization cleanup (#465)
#443 reorganized the source tree: moving the WORKSPACE to the root of the
repository as is convention.  To help maintain backward compatibility, numerous
stub files were added to the root of the repository.

I noticed the following in local testing:

- The `install.bzl` stub is empty.
- The `mappings.bzl` stub is missing `REMOVE_BASE_DIRECTORY`
- The renaming of the `deps` value in the `pkg_install` macro confuses bazel; force it to use a rules_pkg-relative label instead (with the `Label` constructor) 

These slipped through the cracks in the review.  This change rectifies the above issues.
2021-11-11 14:45:49 -05:00
aiuto 3c520a1bec
Reorganize the source tree (#443)
* Reorganize the source tree

- WORKSPACE moves up one level
  - this makes //:pkg.bzl effectively //pkg:pkg.bzl
  - put forwarders in place at top level to not break anyone
- tests moves up one level
- toolchains moves up one level
- examples/**/BUILD do not change to the new rule locations
  - this is explicitly to provide some proof that the forwarders work
  - new examples should use the proper paths to .bzl files
  - near the 1.x release we can clean the current ones up

Fixes: #111
2021-11-03 22:44:26 -04:00