This repository was archived by the owner on May 13, 2025. It is now read-only.
This repository was archived by the owner on May 13, 2025. It is now read-only.
Error creating tree: Not Allowed (405) #114
Open
Description
When using the goal com.github.github:site-maven-plugin:0.12:site
the following error is thrown:
[INFO] --- site-maven-plugin:0.12:site (github) @ fcrepo ---
[INFO] Creating 1,351 blobs
[INFO] Creating tree with 1,351 blob entries
[INFO] Merging with tree 0edd9e967bd10188e1d43d49ccc24ab15397ad44
...
[ERROR] Failed to execute goal com.github.github:site-maven-plugin:0.12:site (github) on project fcrepo: Error creating tree: Not Allowed (405) -> [Help 1]
It appears that committing a tree with 1,351 blobs exceeds a GitHub limit. To resolve the issue, I used the following patch to break the large commit into smaller bundles (500 blobs per commit).
I would not be surprised if others also run into this issue. I would be happy to backport this patch to use Java5 and/or create a plugin configuration element that specifies the size of commit bundles.
#113
Metadata
Metadata
Assignees
Labels
No labels