Add option to exclude specific plugins and handle missing dependencies as warnings#173
Add option to exclude specific plugins and handle missing dependencies as warnings#173jkennedyvz wants to merge 2 commits intolinuxdeploy:masterfrom
Conversation
|
Please split into two commits. |
Hi @TheAssassin , this was a PR from copilot. We're experiencing a similar issue to #153, and this implementation seems to work for our builds! https://github.com/ashirt-ops/ashirt/actions/runs/9362742129/job/25772078702 I'm happy to re-write the commits, but I don't understand the ask. Do you want one commit per file? |
Generally a change is easier to review when it is done using one commit per logical change. A commit titled "Add option to exclude specific plugins and handle missing dependencies as warnings" suggests there should really be two commits, namely:
However, the bigger problem is that you are a little too quick with letting the AI do your job. The change is faulty on several levels:
So, please check what the AI has done and don't throw their changes at maintainers, expecting them to spot and resolve all the issues. |
|
Thanks @bjorn. After having a glance at the code again, I see so many problems in the code. Plus it now conflicts with the main branch. @jkennedyvz I suggest you revise the PR again. Ideally, you ask some people fluent in C++ for feedback. |
|
This can likely be closed due #178 |
|
Closing as obsolete. |
Related to #153
This pull request introduces the ability to exclude specific Qt plugins and handles missing dependencies of a plugin as a non-fatal error during the deployment process of linuxdeploy-plugin-qt.
--exclude-plugintosrc/main.cpp, allowing users to specify Qt plugins that should not be deployed.src/deployers/SqlPluginsDeployer.cppto check for excluded plugins and to emit a warning instead of failing when a plugin's dependency is missing. This change ensures that the deployment process can continue even if some plugins have unmet dependencies.README.mdto document the new--exclude-pluginoption and the updated behavior regarding missing plugin dependencies. This includes instructions on how to use the new option and an explanation that missing dependencies of a plugin will now result in a warning rather than a deployment failure.For more details, open the Copilot Workspace session.