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

ui: Enable initialization of a new GitHub repo for the local pallet #233

Open
ethanjli opened this issue Jun 13, 2024 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@ethanjli
Copy link
Member

ethanjli commented Jun 13, 2024

Currently, the only way to make a new pallet on GitHub is to either fork an existing pallet on GitHub or manually create a local pallet (as described in #232) and then use the GitHub web interface with the Git CLI (or some other Git tool, such as the GitHub CLI) to link the local pallet with a remote repo on GitHub. It would be nice if our CLI could provide an easy way for users to initialize a new repo on GitHub for their local pallet (as part of the subcommand to be added by #232, where the subcommand will skip Git repo initialization steps and proceed directly to GitHub repo initialization if the local pallet is already a Git repo). It could also be nice to add a --fork flag (or maybe a separate plt fork subcommand) which will make the subcommand create a GitHub fork of the existing repo (if it already exists), update the pallet path in the forklift-pallet.yml file (and the forklift-repository.yml file, if exists), and update the origin remote.

It would be great if the repo could be created with forklift-pallet as a topic tag. Also, maybe we can wrap https://github.com/cli/cli or https://github.com/cli/go-gh to implement this functionality.

This functionality will become much more useful after #253, and especially together with #232.

@ethanjli ethanjli added the enhancement New feature or request label Jun 13, 2024
@ethanjli ethanjli self-assigned this Jun 14, 2024
@ethanjli ethanjli added this to the Preprint Nice-to-Haves milestone Jun 14, 2024
@ethanjli ethanjli changed the title Enable initialization of a new GitHub repo for the local pallet ui: Enable initialization of a new GitHub repo for the local pallet Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant