rstacruz / cheatsheets

Cheatsheets for web development - devhints.io
https://devhints.io
13.75k stars 3.59k forks source link

Devhints 2.0 migration plan #996

Open rstacruz opened 5 years ago

rstacruz commented 5 years ago

(I'm still writing this document - more info to follow!)

New Devhints is coming <3

Over the next few weeks/months, Devhints will be transitioned from it's aging Jekyll setup to a more modern stack built with Gatsby and Node.js.

What are we trying to solve?

Changes: Cleaner repos!

Changes: Cleaner code!

New code

Migration plan

Beyond 2.0

Maintenance plans

Kreijstal commented 5 years ago

I discovered this project today, how exciting!

Kreijstal commented 5 years ago

I just had this idea: Wouldn't it be cool if there was something like wikis but for github, everyone has write access but you can add/remove permissions to certain files.

kevin-lindsay-1 commented 5 years ago

@Kreijstal That sounds interesting, and less of a hassle to wait for PRs to be reviewed. Perhaps one could implement an automated system wherein once you've had a few PRs accepted, the individual is automatically granted the permissions of a reviewer.

borekb commented 5 years ago

I'd love Devhints integration with tldr one day.

d0vi commented 5 years ago

If it is posible, get #321 solved would be great!

qoomon commented 5 years ago

@d0vi I've just created a PR #1023 to solve the favicon issue #321

BosEriko commented 4 years ago

Is this still happening? Any way I can help?

Kreyren commented 4 years ago

The Git repository is very messy. The Git repository now hosts the cheatsheets themselves, along with the Jekyll theme, and all the other build artifacts like vendor.js.map. This makes it very hard to navigate, and git greping around is very messy.

Referencing: https://github.com/rstacruz/cheatsheets/pull/1294

Kreyren commented 4 years ago

(...implement stalebot)

Referencing: https://github.com/RXT067/cheatsheets/pull/2 (Github doesn't allow this without set up authentification -> can't make a merge request)

EDIT: Why stalebot? Rather implement a better project management to handle all the issues

Kreyren commented 4 years ago

Jekyll is slow. Devhints today uses Jekyll to generate the website, since it's the default (and only) generator for GitHub Pages. However, it's been long since Devhints has outgrown Jekyll. It takes a long time to start a development server due to the sheer amount of files to be processed. Changing files are quite slow, too, due to the same reason.

Referencing: https://github.com/rstacruz/cheatsheets/pull/1295 seems to be pretty fast on my end

EDIT: did you file this in jekyll?

Kreyren commented 4 years ago

Any other issues? :p