Re: Current state of my ideas on moving docs to GIT
| From: | Gabriel Caruso | Date: | Sun, 03 Mar 2019 16:57:41 +0000 |
| Subject: | Re: Current state of my ideas on moving docs to GIT | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969387185@lists.php.net to get a copy of this message | ||
Em sáb, 2 de mar de 2019 às 08:51, Oliver Albers <olli@3.1415926.org>
escreveu:
> Hello again everyone,
>
> Here is the first step that I think needs to happen: Perform a svn2git
>>> conversion of the doc-en repo, push it to git@git.php.net:/doc/en.git
>>> and setup a cron job to keep it up to date with new changes coming in from
>>> SVN.
>>>
>>
>> There is a little more, here. Every SVN commit number must be mapped to
>> respective git hash, for past and future commits. So every translation tag,
>> who points to SVN numbers, can be latter converted. These SVN number are
>> old and new. Some of then, very, very old.
>>
>
> Yes, of course. That is why I suggested to start with a conversion of
> doc-en first, because no revision remapping is necessary there. Translation
> repositories are the next step, which will first require a filter-branch
> rewrite of history and then on-the-fly rewrites whenever we sync new svn
> commits.
>
>
> So, I had looked into it again this week and saw that the first step is
> already done, at least the repository at
> http://git.php.net/?p=doc/en.git;a=summary seems fairly up to
> date. And
> the conversion does contain the necessary metadata to extract the mapping
> between SVN revisions and git hashes (git-svn-id).
>
> So wat would be the next step? I guess we would try to automatically
> update all the translations and add a tag similar to „EN-Revision“ which
> contains the commit hash, e.g. a new „EN-Commit“ tag, so that in the next
> step recheck can be updated to use this new information?
>
> Regards,
> Oliver
>
>
Hello Oliver,
Currently, there's a small team working on this via
https://github.com/phpdoctest. The chat is been doing
via
https://gitter.im/phpdoctest/Lobby.
Best,
--
Gabriel Caruso