You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@samoa.apache.org by Gianmarco De Francisci Morales <gd...@apache.org> on 2015/05/07 10:41:08 UTC

[DISCUSS] Migrating website from svn to git

Hi,

The ASF now officially offers git-based repositories for project websites.
[0]
I filed a JIRA [1] to get us a Git repository for our website.
I would assume that everyone likes the idea of switching to Git.
If not, please say it now.

The main change is that the content of the website should be pushed to an
asf-site branch on our repository.
We should still keep the sources of the website on the gh-pages branch, but
at least we would have one repository less to maintain.

Cheers,

[0] https://blogs.apache.org/infra/entry/git_based_websites_available
[1] https://issues.apache.org/jira/browse/INFRA-9615
[2] https://git-wip-us.apache.org/repos/asf?p=flink-web.git;a=summary

--
Gianmarco

Re: [DISCUSS] Migrating website from svn to git

Posted by Gianmarco De Francisci Morales <gd...@apache.org>.
Hi,

I dug a bit deeper in the issue.
Given that we are using the gh-pages branch to keep the sources for the
site, and jekyll to build it, the things are a bit more complicated.
It's impractical to checkout the gh-pages branch, modify the source, build
the site in a directory (e.g, _site), switch branch to asf-site, copy the
files in place, and commit to the asf-site branch (especially the copying
part is manual and error prone).

In practice, other projects have taken the approach of creating a separate
repo for the site only:
https://github.com/apache/drill-site
https://flink.apache.org/how-to-contribute.html


The only advantage would be to substitute git for svn in pushing the
changes.
I'm not sure this actually simplifies the process anyway.

Any opinion?
Unless there is explicit support for github-centric projects (e.g.,
auto-build from gh-pages), I'd rather keep things are they are.

Cheers,

--
Gianmarco

On 7 May 2015 at 13:59, Albert Bifet <ab...@waikato.ac.nz> wrote:

> I like the idea also. Thanks!
>
> Cheers, Albert
>
> On Thu, May 7, 2015 at 4:54 PM, Nicolas Kourtellis <nk...@gmail.com>
> wrote:
>
> > I agree with the idea.
> > Thanks for submitting the ticket.
> >
> > On Thu, May 7, 2015 at 10:41 AM, Gianmarco De Francisci Morales <
> > gdfm@apache.org> wrote:
> >
> > > Hi,
> > >
> > > The ASF now officially offers git-based repositories for project
> > websites.
> > > [0]
> > > I filed a JIRA [1] to get us a Git repository for our website.
> > > I would assume that everyone likes the idea of switching to Git.
> > > If not, please say it now.
> > >
> > > The main change is that the content of the website should be pushed to
> an
> > > asf-site branch on our repository.
> > > We should still keep the sources of the website on the gh-pages branch,
> > but
> > > at least we would have one repository less to maintain.
> > >
> > > Cheers,
> > >
> > > [0] https://blogs.apache.org/infra/entry/git_based_websites_available
> > > [1] https://issues.apache.org/jira/browse/INFRA-9615
> > > [2] https://git-wip-us.apache.org/repos/asf?p=flink-web.git;a=summary
> > >
> > > --
> > > Gianmarco
> > >
> >
> >
> >
> > --
> > Nicolas Kourtellis
> >
>

Re: [DISCUSS] Migrating website from svn to git

Posted by Albert Bifet <ab...@waikato.ac.nz>.
I like the idea also. Thanks!

Cheers, Albert

On Thu, May 7, 2015 at 4:54 PM, Nicolas Kourtellis <nk...@gmail.com>
wrote:

> I agree with the idea.
> Thanks for submitting the ticket.
>
> On Thu, May 7, 2015 at 10:41 AM, Gianmarco De Francisci Morales <
> gdfm@apache.org> wrote:
>
> > Hi,
> >
> > The ASF now officially offers git-based repositories for project
> websites.
> > [0]
> > I filed a JIRA [1] to get us a Git repository for our website.
> > I would assume that everyone likes the idea of switching to Git.
> > If not, please say it now.
> >
> > The main change is that the content of the website should be pushed to an
> > asf-site branch on our repository.
> > We should still keep the sources of the website on the gh-pages branch,
> but
> > at least we would have one repository less to maintain.
> >
> > Cheers,
> >
> > [0] https://blogs.apache.org/infra/entry/git_based_websites_available
> > [1] https://issues.apache.org/jira/browse/INFRA-9615
> > [2] https://git-wip-us.apache.org/repos/asf?p=flink-web.git;a=summary
> >
> > --
> > Gianmarco
> >
>
>
>
> --
> Nicolas Kourtellis
>

Re: [DISCUSS] Migrating website from svn to git

Posted by Nicolas Kourtellis <nk...@gmail.com>.
I agree with the idea.
Thanks for submitting the ticket.

On Thu, May 7, 2015 at 10:41 AM, Gianmarco De Francisci Morales <
gdfm@apache.org> wrote:

> Hi,
>
> The ASF now officially offers git-based repositories for project websites.
> [0]
> I filed a JIRA [1] to get us a Git repository for our website.
> I would assume that everyone likes the idea of switching to Git.
> If not, please say it now.
>
> The main change is that the content of the website should be pushed to an
> asf-site branch on our repository.
> We should still keep the sources of the website on the gh-pages branch, but
> at least we would have one repository less to maintain.
>
> Cheers,
>
> [0] https://blogs.apache.org/infra/entry/git_based_websites_available
> [1] https://issues.apache.org/jira/browse/INFRA-9615
> [2] https://git-wip-us.apache.org/repos/asf?p=flink-web.git;a=summary
>
> --
> Gianmarco
>



-- 
Nicolas Kourtellis