mirror of
https://github.com/awslabs/iam-policy-autopilot.git
synced 2026-04-26 00:15:57 +03:00
[PR #87] [MERGED] feat: add submodule version+data hash info to --version --debug output #226
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/iam-policy-autopilot#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/awslabs/iam-policy-autopilot/pull/87
Author: @hwei0
Created: 12/17/2025
Status: ✅ Merged
Merged: 1/12/2026
Merged by: @hwei0
Base:
main← Head:main📝 Commits (10+)
912c890feat: add version flag and submodule version+data info9f79162Merge branch 'main' of https://github.com/hwei0/iam-policy-autopilota6077d4refactor: address comments in PR#87869f80arefactor: fix clippyfbf5280fix: add openssl, libssl-dev dependenies to pr build workflow59b4b63fix: try to resolve build failure with openssl vendored https://github.com/cross-rs/cross/wiki/Recipes#openssl6af7ee6Merge branch 'awslabs:main' into main01b266brefactor: reset BTreeMap to HashMap in build.rs serde structs, add comments to structs in build.rsc4a739crefactor: reset to btree340b7e7refactor: share submodule struct beteeen build.rs and api/model.rs in policy-generation; other refactors📊 Changes
10 files changed (+283 additions, -12 deletions)
View changed files
📝
Cargo.toml(+5 -2)📝
iam-policy-autopilot-cli/src/commands.rs(+26 -1)📝
iam-policy-autopilot-cli/src/main.rs(+21 -0)📝
iam-policy-autopilot-policy-generation/Cargo.toml(+5 -0)📝
iam-policy-autopilot-policy-generation/build.rs(+129 -9)➕
iam-policy-autopilot-policy-generation/src/api/get_submodule_version.rs(+28 -0)📝
iam-policy-autopilot-policy-generation/src/api/mod.rs(+2 -0)📝
iam-policy-autopilot-policy-generation/src/api/model.rs(+4 -0)📝
iam-policy-autopilot-policy-generation/src/embedded_data.rs(+49 -0)➕
iam-policy-autopilot-policy-generation/src/shared_submodule_model.rs(+14 -0)📄 Description
Issue #, if available:
#82
Description of changes:
added custom
--versionoutput to publish boto3, botocore git tag+commit+data hash (data hash is the hash of the simplified data files). This information will only be exposed if the hidden--debugflag is set; current --version behaviour without the--deubgflag will remain unchanged.example output
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.