[debian-edu-commits] [Debian Wiki] Update of "DebianEdu/HowTo/Git/SVN2GitMigrationStatus" by AlexanderAlemayhu
    Debian Wiki 
    debian-www at lists.debian.org
       
    Sat Jul  5 23:40:05 UTC 2014
    
    
  
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The "DebianEdu/HowTo/Git/SVN2GitMigrationStatus" page has been changed by AlexanderAlemayhu:
https://wiki.debian.org/DebianEdu/HowTo/Git/SVN2GitMigrationStatus?action=diff&rev1=23&rev2=24
Comment:
Add repository structure section inspired by sunweaver, make git examples not use pkg-team.
  || webmin-ldap-user-simple || || || || || || || || ||
  || xdebconfigurator || || || || || || || || ||
  
+ === Our repository structure ===
+ 
+ The idea is to have the debian-edu-* folders in the project's base folder ({{{/git/debian-edu}}})
+ 
+ The upstream folder in ({{{/git/debian-edu/upstream}}}) is for software we maintain as upstream and software that may be interesting to other people, as well.
+ 
+ The pkg-team folder in ({{{/git/debian-edu/pkg-team}}}) is for packages maintained by the Debian Edu packaging team.
+ 
  === Migration HowTo ===
  
  This is a sketch on an exemplary migration of a package that was maintained in SVN and shall now be maintained in Git.
- 
  
  ==== Create new Git package on Alioth ====
  
  Create a fresh Git project for {{{<package>}}} on {{{git.debian.org}}}:{{{
    $ ssh git.debian.org
-   $ cd /git/debian-edu/pkg-team
+   $ cd /git/debian-edu/<folder-to-use>
    $ ../setup-project <package> "<package> Debian package"
  }}}
  
  '''Note:''' all {{{debian-edu*}}} packages go into the Debian Edu project's base folder ({{{/git/debian-edu}}}). Edu-related packages go into the {{{pkg-team}}} subfolder. Upstream projects go into the {{{upstream}}} subfolder.
- 
- This example explains the migration of an Edu-related package (so we place the new Git project into {{{/git/debian-edu/pkg-team}}}.
- 
  
  ==== Clone package from SVN ====
  
@@ -87, +91 @@
  }}}
  
  Specify the new remote origin Git repository:{{{
-   $ git remote add origin ssh://git.debian.org/git/debian-edu/pkg-team/<package>.git
+   $ git remote add origin ssh://git.debian.org/git/debian-edu/<folder-to-use>/<package>.git
  }}}
  
  ==== Setup git-buildpackage to ease packing with git ====
@@ -131, +135 @@
  
  From the now deprecated SVN project folder you should remove all files and place a README.migrated2git into that folder that points to the new Vcs-Browser location.{{{
  The package <package> has been migrated to Git on Alioth:
- http://anonscm.debian.org/gitweb/?p=debian-edu/pkg-team/<package>.git
+ http://anonscm.debian.org/gitweb/?p=debian-edu/<folder-to-use>/<package>.git
  }}}
  
  ==== Fix up Vcs-*: fields in debian/control ====
    
    
More information about the debian-edu-commits
mailing list