Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run git-sizer on this repo to avoid size issues #3469

Open
pombredanne opened this issue Jul 25, 2023 · 1 comment
Open

Run git-sizer on this repo to avoid size issues #3469

pombredanne opened this issue Jul 25, 2023 · 1 comment

Comments

@pombredanne
Copy link
Member

We are facing size issue at PyPI with these issues:

To avoid Git repo size issue we should also look into running https://github.com/github/git-sizer proactively.

@AyanSinhaMahapatra
Copy link
Member

AyanSinhaMahapatra commented Jul 27, 2023

git-sizer output for reference:

Processing blobs: 267231
Processing trees: 121529
Processing commits: 11540
Matching commits to trees: 11540
Processing annotated tags: 74
Processing references: 307
{
    "unique_commit_count": 11540,
    "unique_commit_size": 4979834,
    "max_commit_size": 3342,
    "max_commit": "f2d35bfb809315927a35f9d3f8ae71f8554bc3e9",
    "max_history_depth": 6515,
    "max_parent_count": 3,
    "max_parent_count_commit": "ec7ce1b1e08976e6d2b98e0c2e864f9c84a9093d",
    "unique_tree_count": 121529,
    "unique_tree_size": 2518707715,
    "unique_tree_entries": 51187850,
    "max_tree_entries": 65360,
    "max_tree_entries_tree": "d8f673122c8a026b9f7d554cae0338cb4f7cc23a (refs/remotes/origin/v31.2.6-backport:src/licensedcode/data/rules)",
    "unique_blob_count": 267231,
    "unique_blob_size": 2563465941,
    "max_blob_size": 12490189,
    "max_blob_size_blob": "e27c95c81c5b97838d63cf385e8f68a87dda7aa8 (refs/heads/update-license-rules:tests/packagedcode/data/rpm_installed/end-to-end/bdb-fedora-rootfs.tar.xz-expected.json)",
    "unique_tag_count": 74,
    "max_tag_depth": 1,
    "max_tag_depth_tag": "ae95e528bab9fb53b5e44c1c1103f213e01c7e55 (refs/tags/v1.0.0)",
    "reference_count": 307,
    "reference_groups": {
        "": 307,
        "branches": 61,
        "remotes": 156,
        "stash": 1,
        "tags": 89
    },
    "max_path_depth": 14,
    "max_path_depth_tree": "9ba3de51db8ec54accb349040b3528ef85a3d1f5 (refs/heads/update-license-rules^{tree})",
    "max_path_length": 259,
    "max_path_length_tree": "fdfad395d7b0144b0ad512467a42ab0e7d686506 (d260850c039933e8b3bf140ebfbfc35d77cc5a1b^{tree})",
    "max_expanded_tree_count": 3250,
    "max_expanded_tree_count_tree": "ccb3290cfaaf266469bb5f5de118e33d5bed49f0 (refs/remotes/origin/update-maven-detections^{tree})",
    "max_expanded_blob_count": 91595,
    "max_expanded_blob_count_tree": "516b94124595df80fd9d6fe43afdc231077920ca (c108206fb4300d7f6655b3ea6125c6d1f0ebf6db^{tree})",
    "max_expanded_blob_size": 415640705,
    "max_expanded_blob_size_tree": "df0e195e60e3c2a28b5f975d67e44812e501558a (adb2eeca65486aa513765545d5fcb4ba890811ec^{tree})",
    "max_expanded_link_count": 1,
    "max_expanded_link_count_tree": "a298b95d87ea38b948602a0924169509a80bcc94 (07b0269628167f48ac29ac4ba297b406df3711b7^{tree})",
    "max_expanded_submodule_count": 0
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants