Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Revisions

kernel trunk r62359 r63343 (1.1-SNAPSHOT refresh)
kernel-1.0.x r62388 r63328 (1.0.9, 1.0.10-SNAPSHOT)

New versions

...

Confirm that all merges scheduled for kernel-1.0.9 have been merged to the 1.0.x branch.

Testing exceptions

None.

Backup Sakai Maven2 Repo /kernel

...

(warning) Be conservative. Back up https://source.sakaiproject.org/maven2/org/sakaiproject/kernel/ until we are sure that Maven properly pushes the new release to the repo.

No Format
cd /var/www/html/maven2/org/sakaiproject
tar -czvf  kernel-[YEARMONTHDAYHOURMINSEC].tgz kernel

(minus) ACHTUNG! BASE POM <distributionManagement> RELEASE REPO TARGET HAS NOT BEEN UPDATED

David: the release repo target still points to file:///tmp/maven2. Unless, the pom is updated to automate this step you must copy the Maven2 the contents of org/sakaiproject/kernel locally to /tmp/maven2/org/sakaiproject/kernel.

Copy Maven2 /kernel locally

(warning) This step will be rendered obsolete if changes to <distributionManagement> to point directly at the Maven2 repo are implemented.

Start now as this can take some time. Folder copy will later serve as target for deploying artifacts generated during the deploy phase.

No Format

copy http://source.sakaiproject.org/maven2/org/sakaiproject/kernel 
to  /tmp/maven2/org/sakaiproject/kernel

trunk/1.0.x

Code Block
xmlxml

<repository>
  <uniqueVersion>false</uniqueVersion>
  <id>local</id>
  <name>Local Test</name>
  <url>file:///tmp/maven2</url>
  <layout>default</layout>
</repository>

Backup Sakai Maven2 Repo /kernel

(warning) Create a backup copy of /kernel.

noformat

cd /var/www/html/maven2/org/sakaiproject
sudo cp -R kernel kernel-[current version]

Checkout the kernel project

...

No Format
mvn release:prepare -DdryRun=true
mvn release:clean release:prepare release:perform

(warning) Former user (Deleted): the combination of Maven 2.0.10 (or 2.1.0), Subversion 1.5.6 and maven-release-plugin 2.0-beta-9 on Mac 10.5.7 (Leopard) resulted in a svn commit failure during the release:perform phase when attempting to update the branch pom <version>. I resolved this issue by first performing a rollback and then added my username and password as arguments to the clean/prepare/perform goals. This problem occurred despite my abilit to commit to our SVN SCM system normally using either my username/password or SSH private/public key.

No Format

mvn release:rollback
mvn -Dusername=arwhyte@umich.edu -Dpassword=mypassword release:clean release:prepare release:perform

When prompted for new versions:

...

The release plugin will then branch the current trunk to branches/kernel-1.1.x.
Edit the poms to 1.2-SNAPSHOT and commit.Finis

(warning) If the release:perform should hang for some reason you can check out the tag do the following:

  1. restore maven2/org/sakaiproject/kernel from backup *.tgz
  2. check out 1.0.9 tag and generate release from tag:
No Format

cd 1.0.9
mvn release:perform -DconnectionUrl=scm:svn:https://source.sakaiproject.org/svn/kernel/tags/kernel-1.0.9

Check 1.0.9 tag

The release plugin will generate a 1.0.9 tag. Check it out and make sure it works, binding it against a local working copy of 2.6.x.

...

mvn -Prelease clean install deploy -DupdateReleaseInfo=true

if a SNAPSHOT:

mvn clean install javadoc:jar source:jar deploy

1. Check out 1.0.x branch (1.0.10-SNAPSHOT) and perform

...

2. Check out kernel trunk (1.1-SHAPSHOT) and perform

No Format
mvn clean install javadoc:jar source:jar deploy

Maven will deploy the new artifacts to the Sakai Maven2 SNAPSHOT Repo automatically.

Populate Maven Repo

(warning) This step may be rendered obsolete if Maven can push kernel-1.0.9 to the repo target as part of the release process.

Tar up kernel artifacts. Copy to https://source.sakaiproject.org/maven2/org/sakaiproject/. Make sure backup of existing /kernel directory is in place. Delete existing /kernel for a clean refresh. Unpack kernel-1.0.9.tgz.

No Format

cd /var/www/html/maven2/org/sakaiproject
tar -czvf  kernel-[YEARMONTHDAYHOURMINSEC].tgz kernel

copy kernelrepo.tgz to Maven2 repo

No Format

cd /var/www/maven2/org/sakaiproject
rm -rf kernel
tar -xzvf kernel-1.0.9.tgz

Repo permissions

(warning) Make sure repo permissions are correct

...

Confirmation

  1. Confirm Maven2 repo and Maven2 snapshot repo are populated with new artifacts
  2. Confirm repo permissions are correct
No Format

sudo chown -R apache:apache kernel

Repo cleanup

Move old /kernel backup archive to /var/www/html/tarball. Delete kernel-1.0.9.tgz.

...

No Format
I've released sakai-kernel-1.0.69 and updated both the Sakai maven2 repo release and snapshot repositories with fresh artifacts.   (1.0.9, 1.0.6 has been released in support of.10-SNAPSHOT; 1.1-SNAPSHOT was refreshed yesterday).  Both Sakai 2.6.x and the upcoming sakai-2.6.0 release. -rc05 will bind to 1.0.9.  The issues addressed by 1.0.69 can be reviewed in Jira at

http://bugsjira.sakaiproject.org/jira/browse/KNL/fixforversion/1147611505

Issues addressed by earlier releases can also be reviewed in Jira at

http://bugsjira.sakaiproject.org/jira/browse/KNL?report=com.atlassian.jira.plugin.system.project:versions-panel


MAVEN2 REPO

The maven2 repo includes the following new or refreshed artifacts:

https://source.sakaiproject.org/maven2/org/sakaiproject/kernel/

1.0.6
1.0.7-SNAPSHOT
1.1-SNAPSHOT


SVN

The 1.0.6 release has been tagged and the 2.6.x branch /master/pom.xml file 
has been updated to bind to 1.0.7-SNAPSHOT.  
When the next 2.6.0 tag is cut it will bind to K1 1.0.6.


KERNEL (K1) PROJECT INFO

Jira: http://bugs.sakaiproject.org/jira/browse/KNL
Confluence: http://bugs.sakaiproject.org/confluence/display/REL/Kernel+1+(K1)


NOTICE: TRUNK/CONTRIB DEVELOPERS DEVELOPING AGAINST K1

Please refresh your local development environment.

1. MVN: Backup/delete the .m2/repository/org/sakaiproject/kernel of
your repo
2. SVN: perform an svn update on sakai trunk code (this will pick up
Sakai updates that complement the K1 updates)
3. MVN: perform a clean and install on your sakai trunk code to
refresh your .m2 repo with updated kernel 1.1-SNAPSHOT artifacts.
4. Build and deploy to Tomcat.

cd master
mvn clean install
cd ..
mvn clean install -Dmaven.test.skip=true sakai:deploy

cheers,

Anthony

...