Skip to content

Add GitHub contents and commit APIs - #191

Open
ctate wants to merge 14 commits into
mainfrom
ctate/latest-1234414
Open

Add GitHub contents and commit APIs#191
ctate wants to merge 14 commits into
mainfrom
ctate/latest-1234414

Conversation

@ctate

@ctate ctate commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator
  • Add stateful contents and README APIs with commit-producing file writes and branch isolation
  • Serve advertised raw file URLs and honor GitHub README precedence
  • Add commit history, documented ref forms, distinct REST and Git Data shapes, file pagination, and comparisons
  • Preserve traversable nested Git trees and trailing-newline diff semantics
  • Document and test the expanded GitHub API coverage

Fixes #190.

- Add stateful contents and README APIs with commit-producing file writes
- Add commit history, details, comparisons, and repository lookup by ID
- Document and test the expanded GitHub API coverage
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
emulate Ready Ready Preview, Comment Jul 20, 2026 10:13pm

Comment thread packages/@emulators/github/src/git-helpers.ts Outdated
Return the correct Git Data commit shape, preserve nested tree objects, validate content writes, encode generated content URLs, and paginate comparisons. Expand regression coverage for these behaviors.
Serve advertised raw URLs, constrain file writes to branches, honor README and ref conventions, persist nested Git trees, paginate commit files, and preserve trailing-newline diffs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(github): GET /git/commits/:sha returns REST-commit shape instead of git-data shape (tree.sha missing at top level)

1 participant