Skip to content

Switch to a custom Github-Api module #34

@carterm

Description

@carterm

The github-api module is causing many exceptions related to "Cannot read property 'status' of undefined" when there is a fetch issue. Now that we are using tree updates only it would be easy to switch back to a custom module that doesn't need all the other github-api features.

This would incorporate all the features in the current gitTreeCommon module, that is used by multiple projects.

New module features

  • Take content map (filename + content) and compare it with a GitHub project. Create a commit that updates the project.
  • Option to include the commits in a PR
  • Option to add assignees to the PR
  • Uses the GitHub hashing algorithm to improve the ability to determine binary file changes and prevent unnecessary content uploads.

@cagov\github-sync ?

For custom REST examples, use our old GitHub API connector here

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions