git / git.github.io

Git Developer Pages (This is NOT the place to discuss Git issues. See: https://git-scm.com/community)
https://git.github.io
310 stars 281 forks source link

Moving to git-scm.com #729

Open chriscool opened 5 days ago

chriscool commented 5 days ago

In https://lore.kernel.org/git/CAP2yMa+PtRADLB2ZL4U3S8X+87Ddz4UZQNMmtEvV5p9nyoq5SA@mail.gmail.com/ @schacon said:

I would love to pull in Git Rev News as a blog on git-scm.com, and/or link to Taylor's regular posts about what's new in the new versions. It's such great content and would be nice to have more visible. Honestly, this whole website would be nice to incorporate: https://git.github.io/rev_news/

I am going to reply to his message on the list, but maybe we could also discuss it here. And if we agree on moving to git-scm.com, we could perhaps discuss here how it could happen.

cc @jnareb @mjaix @sivaraam @gitster @stepnem

schacon commented 5 days ago

Sorry @chriscool, I didn't actually mean just the Rev News part, I did mean that I thought that all of git.github.io should be part of git-scm.com somehow.

schacon commented 5 days ago

Now that git-scm.com is on Hugo, it's probably not difficult to move this content into that tree somewhere, somehow.

chriscool commented 5 days ago

No worries @schacon, I am fine with moving all of git.github.io, so that it becomes part of git-scm.com if it's done properly. Let's wait until we hear from the other git.github.io team members I cc'ed above though.

And yeah, I agree it's probably not difficult to move the content. The main issue for me though is that I am not a web developer, so even if it's not difficult to move the content, I am not sure about some details like how to best put redirects in place so that users who bookmarked pages on git.github.io get properly redirected on the corresponding page on git-scm.com, or if there is a need and tools to somehow reformat some pages a bit.

The git.github.io team members would need to get proper credentials to be able to work with git-scm.com as they did with git-scm.com. It might also require a bit of work to replace links that contains git.github.io. (Not sure if we have a lot of relative links by the way.) About the issues and perhaps PRs in https://github.com/git/git.github.io/issues and https://github.com/git/git.github.io/pulls, we would need to check if there are some that are worth keeping and then move them over. Also I think it would be nice if the Git history of git.github.io could be kept.

To1ne commented 2 days ago

@chriscool I'm really digging this idea, and I'm happy to help.

Now that git-scm.com is on Hugo, it's probably not difficult to move this content into that tree somewhere, somehow.

Yeah, I suggest we create a branch that moves the markdown files at their Hugo location and remove all files Hugo isn't using. Then we can merge that branch into git-scm.com.git.

In another branch we should work on the redirects. Here we take the existing markdown files, but in the frontmatter we add something like:

---
layout: default
title: General Application Information
redirect_to: 'https://git-scm.com/GSoC/General-Application-Information'
---

The rest of the file can be deleted.


@chriscool The main question for me remains where we want to move pages to. I mean at which locations shall they exist on git-scm.com? I think something like git-scm.com/rev_news is pretty good, but there's no real structure in all the other pages.