Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369630 - remove r4e/ sub-directory from org.eclipse.mylyn.reviews repository
Summary: remove r4e/ sub-directory from org.eclipse.mylyn.reviews repository
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 0.8   Edit
Hardware: PC Windows Vista
: P3 enhancement (vote)
Target Milestone: 0.9   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 368844
  Show dependency tree
 
Reported: 2012-01-25 03:37 EST by Steffen Pingel CLA
Modified: 2012-02-01 13:28 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.