Le 11/05/2021 à 13:36, Bruno P. Kinoshita a écrit :
Out of curiosity, how long did `git svn clone` take? Just to compare
with svn2git :)
I do not really know. It finished somewhere in the middle of the night.
But it has been many hours.
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.
Thanks! The main thing is the missing "book/*.html" files. Would it be
possible to add them, then squash the commits? With a squash, the pull
request will be automatically updated with a new "diff" page saying that
those files have been moved rather than deleted. The main question is
where to put them… Not in the "static" directory I think, since they are
source files used for building the static HTML file.
There is also many URL that changed. I think it is because I did an
update of those URLs after the migration to Hugo. Would it be possible
to do the following? Repeat the steps given in my previous email, but
before to do "git commit", execute the following commands:
find -name "static/*.html" -exec git reset '{}' \;
find -name "book/*" -exec git reset '{}' \;
git checkout .
It should cancel all changes in HTML files, on the assumption that
migration to Hugo should not change those files. Then the following
command would help to see if there is any remaining URL changes:
git diff --staged | grep "http"
Thanks!
Martin