Différences
Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente |
| prog:source:code_google_com [2019/08/18 00:06] – Création avec "Récupérer les dépôts svn archivés" root | prog:source:code_google_com [2025/11/04 17:07] (Version actuelle) – Converti d'un dépôt svn vers git root |
|---|
| Aller la page de téléchargement de la source (par exemple : [[https://code.google.com/archive/p/mscgen/source/default/source]]) et copier le lien du bouton ''Download'' et remplacer le ''source-archive.zip'' de [[https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/mscgen/source-archive.zip]] par ''repo.svndump.gz''. | Aller la page de téléchargement de la source (par exemple : [[https://code.google.com/archive/p/mscgen/source/default/source]]) et copier le lien du bouton ''Download'' et remplacer le ''source-archive.zip'' de [[https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/mscgen/source-archive.zip]] par ''repo.svndump.gz''. |
| |
| [[https://stackoverflow.com/questions/39320990/google-code-archive-to-github|Google Code Archive to Github]] {{ :prog:source:code_google_com:google-code-archive-to-github.html |Archive du 17/08/2019}} | [[https://stackoverflow.com/questions/39320990/google-code-archive-to-github|Google Code Archive to Github]] {{ :prog:source:code_google_com:git_-_google_code_archive_to_github_-_stack_overflow_2020-04-11_12_40_56_pm_.html |Archive du 04/09/2016 le 11/04/2020}} |
| | |
| | Procédure complète pour convertir un svn en git: |
| | |
| | <code bash> |
| | # download the svn dump'ed repo |
| | wget https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/spring-security-facelets-taglib/repo.svndump.gz |
| | # unzip |
| | gunzip repo.svndump.gz |
| | # create the repo |
| | svnadmin create /tmp/testgc |
| | # restore it |
| | svnadmin load /tmp/testgc/ < repo.svndump |
| | |
| | # launch a local svn daemon |
| | svnserve --foreground -d& |
| | |
| | # in another terminal, clone your repo now using git svn (optionally create a authors file for correctly mapping to git usernames) |
| | # Attention, le chemin sera conservé dans le message des commits. Bien prendre un chemin anonyme. |
| | git svn --stdlayout clone svn://localhost/tmp/testgc/ |
| | </code> |
| | |
| | [[https://dominikdorn.com/2016/05/how-to-recover-a-google-code-svn-project-and-migrate-to-github/|How to recover a Google Code SVN Project and migrate to Github]] {{ :prog:source:code_google_com:how_to_recover_a_google_code_svn_project_and_migrate_to_github_dominikdorn.com_11_4_2025_5_03_59_pm_.html |Archive du 23/05/2016 le 04/11/2025}} |