Splitting stackforge/freezer on multiple repos

Registered by Fausto Marzi

The main freezer repo now contains the API and Web UI
code. As the project is growing we would like to have
an individual repo for each component.

The following two new repo will be created:

- stackforge/freezer-api
- stackforge/freezer-web-ui

Blueprint information

Status:
Not started
Approver:
Fabrizio Fresco
Priority:
Undefined
Drafter:
Fausto Marzi
Direction:
Needs approval
Assignee:
Fausto Marzi
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Split repo proposal:

Freezer Web UI:

- Create a new repo in stackforge/freezer-web-ui

- Clone the stackforge/freezer repo locally

- Filter the files and history related to the directory horizon_web_ui and create a new branch out of it:
git subtree split --prefix=horizon_web_ui -b freezer-web-ui
git checkout freezer-web-ui

- Rename my remote URL to the new stackforge-freezer-web-ui repo and create a .gitreview file:

.gitreview
[gerrit]
host=review.openstack.org
port=29418
project=stackforge/freezer-web-ui.git

.git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = https://github.com/stackforge/freezer-web-ui
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master
        rebase = true
[remote "gerrit"]
        url = ssh://<email address hidden>:29418/stackforge/freezer-web-ui.git
        fetch = +refs/heads/*:refs/remotes/gerrit/*

- Execute git review to upload the code:
git review -v

- Remove the directory and history from the original branch:
git checkout master
git filter-branch --tree-filter 'rm -rf horizon_web_ui' --prune-empty HEAD
git commit
git review

Same apply for freezer-api

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.