Uploaded image for project: 'Turbine'
  1. Turbine
  2. TRB-102

Migration of VCS-Repos from svn to git

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Done
    • None
    • None
    • Core, Fulcrum, Site
    • None

    Description

      Migration Step 1 (DONE)

      Overview of currently new (yet uninitialized) git repositories

      New Repos

      svn-repo name gitbox URL Desc
      turbine-site https://gitbox.apache.org/repos/asf/turbine-site.git Main website sources for the Apache Turbine Project
      turbine-parent https://gitbox.apache.org/repos/asf/turbine-parent.git The parent POM for the Apache Turbine and Fulcrum project
      turbine-fulcrum-site https://gitbox.apache.org/repos/asf/turbine-fulcrum-site.git Website sources for the Apache Turbine Fulcrum Subproject
      turbine-fulcrum-cache https://gitbox.apache.org/repos/asf/turbine-fulcrum-cache.git Apache Turbine Fulcrum Cache Component
      turbine-fulcrum-json https://gitbox.apache.org/repos/asf/turbine-fulcrum-json.git Apache Turbine Fulcrum JSON Component
      turbine-fulcrum-security https://gitbox.apache.org/repos/asf/turbine-fulcrum-security.git Apache Turbine Fulcrum Security Component
      turbine-fulcrum-yaafi https://gitbox.apache.org/repos/asf/turbine-fulcrum-yaafi.git Apache Turbine Fulcrum YAAFI Container Component
      turbine-fulcrum-quartz https://gitbox.apache.org/repos/asf/turbine-fulcrum-quartz.git Apache Turbine Fulcrum Quartz Scheduler Component
      turbine-fulcrum-pool https://gitbox.apache.org/repos/asf/turbine-fulcrum-pool.git Apache Turbine Fulcrum Pool Service Component
      turbine-fulcrum-parser https://gitbox.apache.org/repos/asf/turbine-fulcrum-parser.git Apache Turbine Fulcrum Parser Service Component
      turbine-fulcrum-factory https://gitbox.apache.org/repos/asf/turbine-fulcrum-factory.git https://gitbox.apache.org/repos/asf/turbine-fulcrum-factory.git
      turbine-fulcrum-intake https://gitbox.apache.org/repos/asf/turbine-fulcrum-intake.git Apache Turbine Fulcrum Intake Service Component
      turbine-fulcrum-crypto https://gitbox.apache.org/repos/asf/turbine-fulcrum-crypto.git Apache Turbine Fulcrum Crypto Service Component
      turbine-fulcrum-localization https://gitbox.apache.org/repos/asf/turbine-fulcrum-localization.git Apache Turbine Fulcrum Localization
      turbine-fulcrum-testcontainer https://gitbox.apache.org/repos/asf/turbine-fulcrum-testcontainer.git Apache Turbine Fulcrum Test Container Component
      turbine-fulcrum-upload https://gitbox.apache.org/repos/asf/turbine-fulcrum-upload.git Apache Turbine Fulcrum Upload Service Component
      turbine-fulcrum-yaafi-crypto https://gitbox.apache.org/repos/asf/turbine-fulcrum-yaafi-crypto.git Apache Turbine Fulcrum YAAFI Crypto Library Component

      Existing git repos

      turbine-core git://git.apache.org/turbine-core.git Mirror of Apache Turbine Core
      turbine-fulcrum git://git.apache.org/turbine-fulcrum.git Mirror of Apache Turbine Fulcrum Components

      New Repo without history

      svn-repo name gitbox URL Desc
      turbine-fulcrum-build turbine-fulcrum-build.git  Maven multi-module with gitmodules

      All notifications will go to commits@turbine.apache.org.

      Migration step 2

      • Syncing with git-svn

      Migration step 3

      • open INFRA ticket: replace svn repos with git as primary repos, set turbine-core.git as read/write and unmirror  
        delete turbine-fulcrum.git (which will be obsolete after migration), archive fulcrum components, see also
        https://issues.apache.org/jira/browse/INFRA-22176

      Migration step 4

      • Update scm in pom.xml 
      • Define website builds 
      ASF-SITE step by step

      Initial creation of the branch has to be done manually, as a Git orphan branch:
      1. git checkout --orphan asf-site
      to create the branch locally,
      2. rm .git/index ; git clean -fdx
      to clean the branch content and let it empy,
      3. copy an initial site content into root folder (from previously generated target/site)
      4. add .asf.yaml
      publish:
      whoami: asf-site
      subdir: turbine-parent
      4. git add *, git add .asf.yaml
      5. git commit -m "initial site content",
      6. git push -u origin asf-site

       

      • Define build in Jenkins, etc.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gk Georg Kallidis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: