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

[draft] add file export and github sync #216

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[draft] add file export and github sync #216

wants to merge 1 commit into from

Conversation

lihebi
Copy link
Collaborator

@lihebi lihebi commented Feb 20, 2023

Introduction

This PR implements file export and GitHub sync. Users can sign in and link their GitHub account on the profile page. Each project can be linked to a specific GitHub repo, and an "export to github" operation will export the project to files and commit to the GitHub repo.

This PR is only a draft, there're still some details left, e.g., how to maintain the git repo files when we have multiple replicas of the API servers. We'll not use GitHub sync for now.

Screenshots

login and link GitHub account:

link a project to a GitHub repo:

@forrestbao
Copy link
Collaborator

link a project to a GitHub repo:

it would be better if the user can select the Github repo to link to, and the repo may not be under the linked GIthub username but any organization or repo the user is authorized to. See HackMD's menu below where I authorized it to access two repos, under two user/org names.

image

@lihebi lihebi marked this pull request as draft May 3, 2023 07:15
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.

2 participants