Hi Martin!

Out of curiosity, how long did `git svn clone` take? Just to compare with 
svn2git :)

I've created a PR here with the new site: 
https://github.com/apache/sis-site/pull/1

Take a look to see if I forgot anything, or if something changed after the 
porting to Hugo.

>However before to execute above instruction, I noticed that the "book" 
directory seems to have disappeared. We would need to add it somewhere, 


It should be in the static/book folder now. You will notice I left the 
templates folder outside, as I don't think they are intended to be published 
with the site, but rather used by developers for e-mails, releases, etc.

If  you have archives that you want to include that will be accessible 
somewhere when the site is deployed, move them somewhere under that static 
folder. Otherwise use a top level folder. It shouldn't interefere with the ASF 
site publication, or how Hugo works.

Thanks heaps!
Bruno




    On Tuesday, 11 May 2021, 10:36:25 pm NZST, Martin Desruisseaux 
<[email protected]> wrote:  
 
 Hello Bruno and all

I have imported the SIS web site history with the following command:

    git svn clone --stdlayout https://svn.apache.org/repos/asf/sis/site/trunk/ 
--authors-file=authors.txt

I pushed the result on the Git repository, mirrored there:

    https://github.com/apache/sis-site

It contains the SVN revision numbers in each commit. I named the branch 
"main" instead of "master" since it seems to be a recommended practice.


Le 10/05/2021 à 12:30, Bruno P. Kinoshita a écrit :

> Feel free to modify those commits, squash, edit. I don't mind even if 
> the authorship changes too :)
>
I would like to keep the attribution to you if you don't mind :-). Can 
you create a fork of above GitHub repository, then execute the following 
Unix commands?

    git clone https://github.com/path/to/your/repo/sis-site
    git clone https://github.com/kinow/sis-site-draft
    cd sis-site-draft
    rm -rf .git
    mv ../sis-site/.git .
    git add -A
    git commit -m "Some commit message"
    git push

However before to execute above instruction, I noticed that the "book" 
directory seems to have disappeared. We would need to add it somewhere, 
I'm not sure where is the appropriate place. They are sources, but in 
HTML instead of Markdown. After missing files are put in place, a "git 
status" before above "git commit" should show "renamed" for almost every 
files, except the ones that are specific to the CMS.

     Martin


  

Reply via email to