You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This page describes how to move a component from the commons sandbox to the commons proper. This page assumes you're already an Apache committer with karma for both jakarta-commons and jakarta-commons-sandbox. If you don't have karma, ask for it or get someone to help you.

  1. Start vote on commons-dev mailing list, stating reason for promotion of the component.
  2. After vote passes, send announcement with time of move and remind everyone to have any files in the component checked in by that time.
  3. Move projec in SVN
  4. Tag the current version
$svn move https://svn.apache.org/repos/asf/jakarta/commons/sandbox/{prj} https://svn.apache.org/repos/asf/jakarta/commons/proper/{prj}
$svn copy https://svn.apache.org/repos/asf/jakarta/commons/proper/{prj}/trunk https://svn.apache.org/repos/asf/jakarta/commons/proper/{prj}/tags/sandbox
  1. Remove from trunk-sandbox
$svn -N checkout https://svn.apache.org/repos/asf/jakarta/commons/trunks-sandbox trunk-sandbox
$svn propedit svn:externals trunk-sandbox
$svn commit trunk-sandbox

When "propedit" remove search for your project and remove it.

  1. if added remove your project from trunk-sandbox/buildall.sh
  2. Add to trunk-proper
$svn -N checkout https://svn.apache.org/repos/asf/jakarta/commons/trunks-proper trunks-proper
$svn propedit svn:externals trunks-proper
$svn commit trunks-proper

When "propedit" go to the end of the list and add your project

That's it for the actual SVN move. Verify the move succeeded by doing a clean checkout of jakarta-commons. Verify the SVN Repository has picked up the changes correctly. You could to this by enter the svn url in your browser.

  1. Make sure your component still builds OK by building it in its new home.
  2. Update the web site for your component. Start with maven clean if your site is mavenized. Your site should now be at jakarta.apache.org/commons/foo rather than jakarta.apache.org/commons/sandbox/foo The easiest way to update a mavenized site once you've built and tested it locally is to run
$maven -Dmaven.username=${apache.username} site:sshdeploy

Maybe you have to checkout commons-build now. You can do this by using

$svn co https://svn.apache.org/repos/asf/jakarta/commons/proper/commons-build/trunk commons-build

on the same level as your project-directory.

  1. If you have update your gump.xml and project.xml
  2. Update the commons web site to reflect your component's move. You will need to update the menus under jakarta-commons/commons-build/menus (components-items.ent and sandbox-items.ent), as well as the more descriptive listings under jakarta-commons/commons-build/parts (components-table.ent and sandbox-table.ent).
  3. Send an announcement to commons-dev and commons-user announcing the move.
  4. Gather a list of committers for the component, ask pmc@jakarta.apache.org to give them commit access to component in commons-proper.
  5. Start planning a release (wink)

(Appendix)

  1. Check-out jakarta-site2 and edit jakarta-site2/xdocs/index.xml and news.xml. Put a news of "Commons-XX graduated from Sandbox to Commons-Proper"
$svn co https://svn.apache.org/repos/asf/jakarta/site
  1. Edit xdocs/site/news/news-xxxx.xml
  2. Edit xdocs/index.xml

And follow docs/README.txt to regenerate the site.

  • No labels