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

Add onPostInstall extension hook #438

Closed
rgbkrk opened this issue Sep 12, 2016 · 7 comments
Closed

Add onPostInstall extension hook #438

rgbkrk opened this issue Sep 12, 2016 · 7 comments
Labels
stale? Issue that may be closed soon due to the original author not responding any more.
Projects
Milestone

Comments

@rgbkrk
Copy link
Contributor

rgbkrk commented Sep 12, 2016

All the base setup is there, and I'd love to see this git init if it can.

@KyleAMathews
Copy link
Contributor

This is for starters? Setting up a git repo seems a bit too opionated as the end user might not have git installed or might want to use hg etc.

The next version of Gatsby will have plugin support plus more extension APIs. One could be onPostInstall at which point for a custom starter/theme you could create a git repo.

@rgbkrk
Copy link
Contributor Author

rgbkrk commented Sep 12, 2016

As a big user of git, I had no problem taking these steps:

git init
git add .gitignore # Thanks for including this!
git status # Figure out what should be added directly
git add STUFF

However, I'd love to not have to walk others through that.

@KyleAMathews
Copy link
Contributor

For sure, I totally see the use case but I just don't think it should be
the default.

Are you creating a starter right now?
On Mon, Sep 12, 2016 at 1:02 PM Kyle Kelley notifications@github.com
wrote:

As a big user of git, I had no problem taking these steps:

git init
git add .gitignore
git status # Figure out what should be added directly
git add STUFF

However, I'd love to not have to walk others through that and have it be
automated.


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#438 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEVhxwyP8jKYZzbJyNdgLBScdjKhk-Iks5qpa_ogaJpZM4J68cN
.

@rgbkrk
Copy link
Contributor Author

rgbkrk commented Sep 12, 2016

Not yet, this was the first "pain point" I experienced in starting out with gatsby and thinking of follow on users. This is pretty exciting stuff, thanks for building it!

@KyleAMathews
Copy link
Contributor

Ah cool! Yeah, I can imagine a "Github plugin" which installs a starter, creates a git repo, creates repo on Github, pushes the initial commit, then does an initial gh-pages install. That'd be ++.

a onPostInstall extension should definitely be added so I'll change the title of this issue to that.

Thanks for the pain report! Keep them coming. Working on turning Gatsby from a cool hack to a full-fledged product so use case ideas are super helpful.

@KyleAMathews KyleAMathews changed the title Automatically create git repository Add onPostInstall extension hook Sep 12, 2016
@KyleAMathews KyleAMathews added this to the 1.0 milestone Sep 12, 2016
@stale
Copy link

stale bot commented Oct 22, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Oct 22, 2017
@rgbkrk
Copy link
Contributor Author

rgbkrk commented Oct 23, 2017

Alright friendly bot I’ll close it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale? Issue that may be closed soon due to the original author not responding any more.
Projects
No open projects
Development

No branches or pull requests

2 participants