Skip to content

Comments

Replace old zlib with zlib-ng#704

Open
Nelonn wants to merge 7 commits intoaui-framework:developfrom
Nelonn:feat/zlib-ng
Open

Replace old zlib with zlib-ng#704
Nelonn wants to merge 7 commits intoaui-framework:developfrom
Nelonn:feat/zlib-ng

Conversation

@Nelonn
Copy link

@Nelonn Nelonn commented Feb 22, 2026

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello @Nelonn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request updates the project's compression library dependency by switching from the standard zlib to zlib-ng. This change aims to leverage the performance improvements offered by zlib-ng, a next-generation zlib implementation, without altering the core functionality.

Highlights

  • Dependency Update: Replaced the aui-framework/zlib dependency with Nelonn/zlib-ng in CMakeLists.txt.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • CMakeLists.txt
    • Updated the ZLIB import to point to the Nelonn/zlib-ng repository.
    • Changed the VERSION hash for the imported ZLIB dependency.
    • Removed the CMAKE_ARGS -DZLIB_BUILD_EXAMPLES=OFF option, as it is no longer required with the new zlib-ng import.
Activity
  • No human activity has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@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 successfully updates the zlib dependency to zlib-ng, which is a good step towards using a more modern and potentially faster compression library. The change involves updating the repository URL and the Git commit hash for the auib_import function. However, the CMAKE_ARGS for disabling example builds were removed, which might lead to unnecessary compilation of examples.

@Alex2772
Copy link
Collaborator

any chance to use the original repo instead of a fork?

for file in bin/*; do if [[ ! $file == bin/test_project ]]; then echo "Unexpected file: $file"; exit -1; fi; done
for file in lib/*; do if [[ ! $file =~ (\.so[\.0-9]*|lib/\*)$ ]]; then echo "Unexpected file: $file"; exit -1; fi; done
for file in lib/*; do
if [[ ! $file =~ (\.so([\.0-9]+)?(\..+)?)$ ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

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

check the last pipeline. this is why my regex has lib/* in it

Copy link
Author

Choose a reason for hiding this comment

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

Fuck regex

Copy link
Collaborator

Choose a reason for hiding this comment

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

Fuck regex AND bash

@Nelonn
Copy link
Author

Nelonn commented Feb 22, 2026

any chance to use the original repo instead of a fork?

Patches are not supported in AUI.Boot. Using unmodified code in this case is not possible

@Alex2772
Copy link
Collaborator

any chance to use the original repo instead of a fork?

Patches are not supported in AUI.Boot. Using unmodified code in this case is not possible

So there are arbitrary cmake fixes in your fork?

By the way, patching in aui.boot by forking original repo is the intended way, so you are doing it right.

@Nelonn
Copy link
Author

Nelonn commented Feb 23, 2026

any chance to use the original repo instead of a fork?

Patches are not supported in AUI.Boot. Using unmodified code in this case is not possible

So there are arbitrary cmake fixes in your fork?

By the way, patching in aui.boot by forking original repo is the intended way, so you are doing it right.

So there are arbitrary cmake fixes in your fork?

Yep, I implemented some fixes related BUILD_SHARED_LIBS. Probably we can use original repo depending on which guarantees AUI.Boot provides about BUILD_SHARED_LIBS. Original cmake script doesn't allow undefined BUILD_SHARED_LIBS, only ON or OFF

Nelonn and others added 3 commits February 23, 2026 23:20
Updated the regex for validating shared library files to include zlib-ng and adjust the pattern.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants