Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369630

Summary: remove r4e/ sub-directory from org.eclipse.mylyn.reviews repository
Product: z_Archived Reporter: Steffen Pingel <steffen.pingel>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 0.8   
Target Milestone: 0.9   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Bug Depends on:    
Bug Blocks: 368844    

Description Steffen Pingel CLA 2012-01-25 03:37:07 EST
As part of bug 368844 the R4E sources will move into a separate Git repository. The following directories should be removed from the org.eclipse.mylyn.reviews.git repository:

framework/org.eclipse.mylyn.reviews.frame.core
r4e
Comment 1 Steffen Pingel CLA 2012-01-25 03:37:35 EST
Commands to run on build.eclipse.org:

pre.. 
git clone --mirror /gitroot/mylyn/org.eclipse.mylyn.reviews.git
cd org.eclipse.mylyn.reviews.git
git remote rm origin

git filter-branch --index-filter "git rm -r -f --cached --ignore-unmatch scm r4e framework/org.eclipse.mylyn.reviews.frame.core" --prune-empty -f -- --all
git filter-branch -f --prune-empty --tag-name-filter cat -- --all
rm -rf refs/original/
git reflog expire --expire=now --all
git gc --aggressive --prune=now

git remote add origin /gitroot/mylyn/org.eclipse.mylyn.reviews.new.git
mv /gitroot/mylyn/org.eclipse.mylyn.reviews.new.git/hooks/update /gitroot/mylyn/org.eclipse.mylyn.reviews.new.git/hooks/update.disabled
git push --mirror
Comment 2 Steffen Pingel CLA 2012-01-25 03:42:13 EST
I have published a repository with r4e removed: 

  git clone ssh://git.eclipse.org/gitroot/mylyn/org.eclipse.mylyn.reviews.new.git

Everyone, please take a look at the repository and let me know if we can proceed with this.
Comment 3 Steffen Pingel CLA 2012-01-26 16:25:01 EST
Webmasters, we have verified that the separated repositories are looking good. 

This repository can now be removed (if possible stashing it in some backup location in case we were wrong):  

  mv /gitroot/mylyn/org.eclipse.mylyn.reviews.git /to/some/backup/location

This repository should be renamed to replace it: 
  
  mv /gitroot/mylyn/org.eclipse.mylyn.reviews.new.git  /gitroot/mylyn/org.eclipse.mylyn.reviews.git

Thanks!
Comment 4 Steffen Pingel CLA 2012-02-01 13:28:16 EST
I have opened bug 370360 for this request with more details.