More Related Content Similar to SVN to GitHUb (20) More from Jean-Laurent de Morlhon (10) SVN to GitHUb1. Subversion
GitHub
Java projects in DVCS wonderland
Jean-Laurent de Morlhon - XKE July 2011
2. Subversion
GitHub
Java projects in DVCS wonderland
Jean-Laurent de Morlhon - XKE July 2011
24. ~4 dépôts git ?
-Core
-Swing
-WebServices
-WebApp
-Pom Parent
-Dépôt
25. Messages de commit
allinone.git
[RELEASE] Preparing ws release 1.3
[RELEASE] Preparing corerelease 1.7
[WS-53] Fix bug on legacy ws
Fix bug on startup time properties
[CORE-117] Added new interface..
core.git
[RELEASE] Preparing corerelease 1.7
Fix bug on startup time properties
[CORE-117] Added new interface..
webservices.git
[RELEASE] Preparing ws release 1.3
[WS-53] Fix bug on legacy ws
26. Svn 2 Git
-Super lent ! (en heures)
-Standard layout marche
rarement
-Fichier de mapping user
svn/git
-Importer une branche après
28. Release Plugin !
git clone myproject
mvn release:prepare
myproject-1.0
mvn release:perform
myproject-1.0
git push && git push --tags Nexus
29. Partial release
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.2</version>
<configuration>
<goals>deploy</goals>
<localCheckout>true</localCheckout>
<pushChanges>false</pushChanges>
<scmCommentPrefix>[RELEASE]</scmCommentPrefix>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
31. git modules
/ moduleA
pom.xml
/ moduleB
moduleA
moduleC
34. Gestion des droits utilisateurs
Mise en place instantanée
Source hébergé aux USA
Interface de GitHub
Plateforme pas toujours
Fonctionnalités de GitHub
disponible
Très peu de maintenance
Multi-dépôt
Multi-dépôt
Paiement par CB
Client Mac
Migration depuis subversion
Editor's Notes \n \n \n \n \n \n \n \n \n \n \n \n \n 1 changement &#xE0; la fois\n \n \n \n \n \n \n Sparse Checkout in git > 1.7\ngit read-tree -m -u HEAD\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n