[Proj] Github migration complete

Elliott Sales de Andrade quantum.analyst at gmail.com
Tue May 26 17:03:21 EST 2015


On 26 May 2015 at 07:48, thomas bonfort <thomas.bonfort at gmail.com> wrote:
>> These links will need to be updated. Re-writing all the commits
>> invalidates all existing hashes.
>
> This would have to be done manually, or a specific script would have
> to be written to update all github issue comments in order to modify
> the SHAs. This is not a trivial task.
>

I've created a script to do so on the original gist [1]. You need the
`newrefs` file (which lists the tickets, comments, old & new hashes)
and `update_ticket_refs.py`. You would also have to `pip install
github3.py`. Then create a personal access token [2] for proj4-bot,
export it as the environment variable GH_TOKEN, and run
update_ticket_refs.py.

> Thomas
>

[1] https://gist.github.com/QuLogic/ed9d5f5c4a8b0dbc794f
[2] https://help.github.com/articles/creating-an-access-token-for-command-line-use/

-- 
Elliott


More information about the Proj mailing list