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

[FEAT]: more than one file #295

Open
1 task done
Pomax opened this issue Oct 12, 2024 · 1 comment
Open
1 task done

[FEAT]: more than one file #295

Pomax opened this issue Oct 12, 2024 · 1 comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request

Comments

@Pomax
Copy link

Pomax commented Oct 12, 2024

Describe the need

Right now if you want to use octokit to upload a bunch of text files, you either have to run one commit for each file using this plugin, or you need to play the insane "create blobs and paralllel paths, then a tree, then a commit, then update refs" REST API game. It would be so nice if this plugin had something normal for multiple text files as well as single text files, like

octokit.createOrUpdateTextFiles({ // note the plural
  owner,
  repo,
  branch,
  files: [ 
    { path: ... , content: ... },
    { path: ... , content: ... },
    { path: ... , content: ... },
  ]
);

SDK Version

No response

API Version

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Pomax Pomax added Status: Triage This is being looked at and prioritized Type: Feature New feature or request labels Oct 12, 2024
Copy link

👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with Status: Up for grabs. You & others like you are the reason all of this works! So thank you & happy coding! 🚀

@kfcampbell kfcampbell moved this from 🆕 Triage to 🔥 Backlog in 🧰 Octokit Active Oct 15, 2024
@kfcampbell kfcampbell added Status: Up for grabs Issues that are ready to be worked on by anyone and removed Status: Triage This is being looked at and prioritized labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Up for grabs Issues that are ready to be worked on by anyone Type: Feature New feature or request
Projects
Status: 🔥 Backlog
Development

No branches or pull requests

2 participants