Skip to content

Conversation

@wep21
Copy link
Contributor

@wep21 wep21 commented Oct 17, 2025

No description provided.

@wep21 wep21 marked this pull request as draft October 17, 2025 16:38
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxext) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@wep21
Copy link
Contributor Author

wep21 commented Oct 17, 2025

@bazel-io skip_check unstable_url

@bazel-io bazel-io added the skip-url-stability-check Skip the URL stability check for the PR label Oct 17, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds the libxext module version 1.3.6 to the Bazel Central Registry. The changes are well-structured, but I have identified two high-severity issues that should be addressed. First, the repository field in metadata.json should point to the canonical upstream repository. Second, the version parsing logic in the BUILD.bazel overlay is not robust and could fail with different version formats. Please see the detailed comments for suggestions.

@wep21
Copy link
Contributor Author

wep21 commented Oct 17, 2025

@fmeum @meteorcloudy @Wyverald @kotlaja please add presubmit auto run label to check ci build.

@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxext, libxfixes) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxext, libxfixes, libxrender) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

@kotlaja kotlaja added the presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval label Oct 20, 2025
@kotlaja
Copy link
Collaborator

kotlaja commented Oct 20, 2025

@wep21 this seems ready for review?

wep21 added 5 commits October 20, 2025 23:22
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules (libx11) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@wep21
Copy link
Contributor Author

wep21 commented Oct 20, 2025

@kotlaja I'm sorry, but I'm still working in progress.

@kotlaja
Copy link
Collaborator

kotlaja commented Oct 20, 2025

No worries, take your time. Let me know when it's ready :)

wep21 added 6 commits October 20, 2025 23:37
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
wep21 added 2 commits October 21, 2025 01:16
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxrender) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxi, libxrender) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxi, libxinerama, libxrender) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

wep21 added 2 commits October 21, 2025 01:59
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@bazel-io
Copy link
Member

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxi, libxinerama, libxrandr, libxrender) have been updated in this PR.
Please review the changes. You can view a diff against the previous version in the "Generate module diff" check.

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@wep21
Copy link
Contributor Author

wep21 commented Oct 20, 2025

@kotlaja @meteorcloudy @fmeum Now ready to review. All ci errors come from unrelated 403 error.

@wep21 wep21 marked this pull request as ready for review October 20, 2025 17:07
Copy link
Collaborator

@kotlaja kotlaja left a comment

Choose a reason for hiding this comment

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

Can you add some documentation for the relatively-large overlays?

See bcr-policies.md:

* When a PR contains C++ modules with large BUILD overlays, ask for some documentation on how these BUILD files are created.
    * Such documentation can either be in a README.md file under the module directory, or simply be some comments in the BUILD overlays.

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@wep21
Copy link
Contributor Author

wep21 commented Oct 20, 2025

@shameekganguly I appreciate it if you could review this PR.

#include <X11/Xlib.h>
#include <X11/Xlibint.h>
#include <X11/Xutil.h>
-#include "Xfixes.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this really necessary? Xfixes.h is declared in the hdrs attribute of the same bazel target as this header file. So I'd expect quotes to work as well as long as include/X11/extensions is listed in the includes attribute?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ERROR: /Users/daisuke/workspace/libxfixes/BUILD.bazel:24:11: Compiling src/SaveSet.c failed: undeclared inclusion(s) in rule '//:xfixes':
this rule is missing dependency declarations for the following files included by 'src/SaveSet.c':
  'bazel-out/darwin_arm64-fastbuild/bin/external/libxcb+/Xfixes.h'
ERROR: /Users/daisuke/workspace/libxfixes/BUILD.bazel:24:11: Compiling src/Selection.c failed: undeclared inclusion(s) in rule '//:xfixes':
this rule is missing dependency declarations for the following files included by 'src/Selection.c':
  'bazel-out/darwin_arm64-fastbuild/bin/external/libxcb+/Xfixes.h'

Something confusing occurs with Xfixes.h of libxcb in macos environement.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, this is coming from the apple file system being case-insensitive, so there is a contention between @libxcb//src/xfixes.h and include/X11/extensions/Xfixes.h within this repo.

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@wep21 wep21 requested a review from kotlaja October 20, 2025 17:50
"src/*.c",
"src/*.h",
],
exclude = ["src/XFreeLst.c"],
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: consider adding a comment for readability as to why XFreeLst.c is excluded from the target.

Copy link
Contributor Author

@wep21 wep21 Oct 20, 2025

Choose a reason for hiding this comment

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

I've referred this comment. I'm not sure why, but I'll add the same comment.

@wep21
Copy link
Contributor Author

wep21 commented Oct 20, 2025

@kotlaja I've added some short notes about overlay.

shameekganguly
shameekganguly previously approved these changes Oct 20, 2025
Copy link
Contributor

@shameekganguly shameekganguly left a comment

Choose a reason for hiding this comment

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

Left a few minor comments. But looks good overall. Thanks!

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
@bazel-io bazel-io dismissed shameekganguly’s stale review October 20, 2025 18:10

Require module maintainers' approval for newly pushed changes.

@meteorcloudy meteorcloudy merged commit b2d507c into bazelbuild:main Oct 21, 2025
126 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

presubmit-auto-run Presubmit jobs will be triggered for new changes automatically without reviewer's approval skip-url-stability-check Skip the URL stability check for the PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants