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

[idea] Write a projectmanager plugin that talks directly with the GitHub REST API. #110

Open
6 of 9 tasks
justvanrossum opened this issue Sep 9, 2022 · 3 comments
Open
6 of 9 tasks
Assignees
Labels
enhancement New feature or request research Reasearch to be done before deciding a feature is viable

Comments

@justvanrossum
Copy link
Collaborator

justvanrossum commented Sep 9, 2022

Scenario:

  • Go to fontra GH gateway website (say "fontra.io")
  • "Log in with GitHub" (use OAUTH, or whichever method is best)
  • Choose a repository hosting a font project
  • Look at font/glyph data in Fontra
  • Start editing
  • Create PR branch, write changes to branch
  • Open PR on GH repo

We need one or more test/demo scripts (Python) to learn to do the following things:

  • Get GH authorization
  • List repositories we have access to
  • List folders/files at the top level of a repo
  • List folders/files in any folder
  • Find files/folders matching an extension (eg. *.designspace)
  • How to get the data of a specific file
  • How to get a specific version of a specific file
  • How to create a branch
  • How to write a new (version of a) file to a specific branch (commit/push)

https://github.com/googlefonts/fontra-github

@justvanrossum justvanrossum added the enhancement New feature or request label Sep 9, 2022
@belluzj
Copy link

belluzj commented Oct 4, 2022

Like that but for fonts: https://forestry.io/

@justvanrossum justvanrossum changed the title Idea: write projectmanager plugin that talks directly with the GitHub REST API. [idea] Write a projectmanager plugin that talks directly with the GitHub REST API. Oct 6, 2022
@justvanrossum justvanrossum moved this to Research in Fontra Project Nov 11, 2022
@justvanrossum justvanrossum added the research Reasearch to be done before deciding a feature is viable label Jan 12, 2023
@justvanrossum
Copy link
Collaborator Author

Also: https://github.dev/github/dev: it is VS-Code web front end to GitHub.

@fabiocaccamo fabiocaccamo moved this from Research to In Progress in Fontra Project Jan 17, 2023
@nedkamburov nedkamburov moved this to 🏗 In progress in Fontra Project Feb 9, 2023
@BlackFoundry
Copy link
Collaborator

BlackFoundry commented Sep 21, 2023

Alternatively, since this GitHub plugin is not supposed to provide live collaboration, and is likely to be a a touch slow, we could work with local clone of repositories.

Fontra could include the fonctionnalities of the GitHub Desktop application:

  • log in with user name
  • list and browse available repos
  • clone locally
  • create branche
  • edit / make modifications
  • compare versions / branches (overlay? toggle button?)
  • commit
  • push to origin
  • create Pull Request
  • visual merge conflict management

Fontra would integrate all the core functionalities of GIT into its UI such as

  • rolling back to a previous commit
  • switching branches
  • tagging
  • stashing

That would allow intuitive versionning for single users, and help team collaboration on a common repo, feedbacking, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request research Reasearch to be done before deciding a feature is viable
Projects
Status: 🏗 In progress
Development

No branches or pull requests

4 participants