github-tools / github-tools/github

Allow updating multiple trees

Open
#67 4 comments 0 reactions 0 assignees View on GitHub
enhancement priority 3 (medium) PRs welcome
Dominant language
JavaScript
Stars
3.8k
Forks
809
PR merge metrics
No merged PRs in 30d

Description

I am just calling write on each file in the folder individually but this seems to randomly cause github to return Unprocessable Entity errors.

Is there a reliable way to write an entire folder of files?

My full code is here: https://mod.it/rSZYmsjn/dev Thanks!

PS.

This library is awesome and pulling from github is working great for me.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked full code and tracing each individual write call that updates files in the folder. Determine how the library could update the entire folder reliably without GitHub returning Unprocessable Entity errors; done means the approach is documented or implemented and the reported failure is covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.