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

Switch over to GitHub Pages + Jekyll #271

Open
fgrehm opened this issue Feb 2, 2014 · 8 comments
Open

Switch over to GitHub Pages + Jekyll #271

fgrehm opened this issue Feb 2, 2014 · 8 comments

Comments

@fgrehm
Copy link
Collaborator

fgrehm commented Feb 2, 2014

Hey @garethr,

As I told you on twitter, I did a 2 hours spike on porting the website to Jekyll so that we can use GitHub pages. The code is available at https://github.com/fgrehm/vagrantboxes-gh-pages, is live at http://fgrehm.github.io/vagrantboxes-gh-pages/ and I'm creating this issue so that we can discuss the move :-)


Here's a list of some pain points we experience with the current approach that I believe can be solved with the move:

  • Boxes are automatically ordered by name
  • Reduce the chances of a PR conflict by having base boxes "metadata" on separate files
  • Stop relying on Travis / Heroku (GitHub takes care of deployment and hosting for us ;)
  • Although I haven't tried, I'm pretty sure this will open up for us to write a Ruby script that interacts with the Jekyll API to gather base boxes metadata and identifies broken links.

So, if we decide to switch over to that approach, here's a few things we'll need to think about:

  • Is there any extra metadata we want around? There's an intention of keeping track of the users who submitted the box to display on the website. If there's something else we want to keep track of this is the time to introduce them.
  • Can we make the "last updated at" date dynamic? I always forget to update it and if we are able to somehow fetch that from git commits or from the base boxes "posts" it would be just great.
  • What should we do about the current PRs that are open? IMHO we should just close the PR and ask the contributor to submit a new one using the new format as I don't believe it is worth the trouble to deal with a whole bunch of conflicts that will show up.

There are also a couple things that I can't take care from my side. Namely switching the project's default branch to gh-pages and updating DNS entries.

I think that's it, I hope you like it and I'll let you know if I end up remembering something else :-)

@fgrehm
Copy link
Collaborator Author

fgrehm commented Feb 2, 2014

Oh, I remembered that there was an issue around about implementing a filter by distro and config management tools so I updated the script to import the current boxes to take care of that :-) the actual filtering is not in place but it shouldn't be that hard for someone to implement it with some JS magic :-P

@willian
Copy link
Contributor

willian commented Feb 3, 2014

👍

@troydm
Copy link
Contributor

troydm commented Feb 4, 2014

nice work!

@miurahr
Copy link
Contributor

miurahr commented Feb 15, 2014

👍

@miurahr
Copy link
Contributor

miurahr commented Feb 19, 2014

fgrehm/vagrantboxes-gh-pages#1
Here is a JS filter feature.

@JonTheNiceGuy
Copy link
Collaborator

Does this work in the same way as #29 or different? I think we're nearly at the point where all the outstanding PRs are merged, so we should be good to go within a couple of weeks?

@fgrehm
Copy link
Collaborator Author

fgrehm commented May 6, 2014

@JonTheNiceGuy is similar in spirit, the difference is that I used GitHub pages and it won't require any manual intervention for publishing as GitHub will take care of that for us ;-)

I think we're nearly at the point where all the outstanding PRs are merged, so we should be good to go within a couple of weeks?

Yeah, I just hope that code and the scripts I used to "import" current boxes are still working ;-)

@JonTheNiceGuy JonTheNiceGuy mentioned this issue Jun 19, 2014
@casr
Copy link
Contributor

casr commented Aug 24, 2014

I just came across this but I made something similar a while back where I was experimenting with just my boxes to begin with. I spent most of my time thinking about what I thought a flexible syntax for the “posts” might be – otherwise it's pretty similar to this!

Post example, the repo and website/output.

@JonTheNiceGuy JonTheNiceGuy mentioned this issue Nov 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants