Open picccard opened 4 months ago
Thank you for pointing this out @picccard. At the current point in time the ipam.zip file is there by design for customers whom are operating in disconnected cloud environments (no internet access) so they can have a copy of the data that is all-inclusive of the dependencies. That said, this is clearly an issue and I'll need to think of a better way to handle this moving forward.
My biggest concern of using something like git filter-branch
is will indeed rewrite the entire history of the repo, invalidating all existing clones that are out there at this point in time. Perhaps that not as big of an issue as I'm thinking it will be, but it's top of mind as we decide next steps to remediate this issue.
Is it not sufficient to include the ipam.zip as an asset to the release?
Customers could download the zip for the specific release they want or get the latest at https://github.com/Azure/ipam/releases/latest
I don't disagree with this, and yes that is definitely a better way to handle this moving forward.
I just need to think more about the impact of rewriting the git history, which is what git filter-branch
does.
Describe the bug
The repo is growing rapidly(!) Caused by every version of the 50mb asset zip file is beeing kept in the git history.
Could this zip file instead be generated on-demand from inside the deploy.ps1 script? Should the repo be cleaned up with
git filter-branch
or something similar to remove the large .pack file and lower the repo size?Git clone fetches over 500mb
Largest 5 files in the repo