* In progress 2015-01-07*

In order to distribute bug fixes and software updates to the users of the AMC13, we need to generate a new tag on the cactus svn and generate a ticket to update the cern repos rpms.

Here is what you need:

  • Access to the cactus svn

  • An up-to-date scientific linux machine with the uhal enviornment installed (currently SLC6)

As part of this procedure, you need to make a new commit to the trunk of the svn with some changes to the Makefile.

Then after this we can make the tag. As always, double check that you are committing working code. Do a make clean;make cycle to make sure!

Updating the Makefile:

First, go in the amc13 base directory (it should look like this )

The following makefile need to be changes:

  • amc13/Makefile
  • tools/Makefile
  • python/Makefile

The change needed is to increment the PACKAGE_VER_MAJOR/MINOR/PATCH/RELEASE numbers.

For now, we just increment the PACKAGE_VER_PATCH.

AMC13_ROOT = $(shell pwd)/../

include $(AMC13_ROOT)/config/mfCommonDefs.mk

PackagePath = $(shell pwd)
PackageName = cactusboards-amc13-amc13

Packager = Eric Hazen, David Zou, Daniel Gastler

PACKAGE_VER_MAJOR = 1
PACKAGE_VER_MINOR = 0
PACKAGE_VER_PATCH = 8
PACKAGE_RELEASE = 0


LIBRARY = lib/libcactus_amc13_amc13.so

Now that you've made these changes, do a make clean;make to make sure the code is still working.

Updating the svn:

Now we are ready to commit the new tag.

  • First, make sure the rpms can be built properly using the "make rpm" command
  • Second, commit to the trunk, the changed makefiles: svn commit
  • Third, we make the real tag using svn copy: svn copy svn+ssh://dgastler@svn.cern.ch/reps/cactus/trunk/cactusupgrades/boards/amc13/software/amc13 svn+ssh://dgastler@svn.cern.ch/reps/cactus/tags/amc13/amc13_v1_0_9

Now that the new tag is generated, we need to make the rpms for distribution. To do this we need a current SLC6 linux machine (CM1 @ BU).

  • Check out the new tag: svn checkout svn+ssh://dgastler@svn.cern.ch/reps/cactus/tags/amc13/amc13_v1_0_9
  • Compile with make
  • Now if everything works, make the rpms with the "make rpm" command.

Once the rpms work, post them in a public place and generate a ticket to Alessandro Thea on the Cactus ticketing system with a link to the rpms for him to use to update the repos. Here is an image of a ticket just before sending: Screenshot_-_04152015_-_104432_AM.png

Text for tag:

New tag (v1_1_10) of AMC13 rpms need to be added to the repo
A new tag for the AMC13 software was added.
The corresponding rpms are located here:
http://ohm.bu.edu/~dgastler/AMC13_rpms/cactusboards-amc13-tools-1.1.10-0.slc6.x86_64.rpm
http://ohm.bu.edu/~dgastler/AMC13_rpms/cactusboards-amc13-python-debuginfo-1.1.10-0.slc6.python2.6.x86_64.rpm
http://ohm.bu.edu/~dgastler/AMC13_rpms/cactusboards-amc13-python-1.1.10-0.slc6.python2.6.x86_64.rpm
http://ohm.bu.edu/~dgastler/AMC13_rpms/cactusboards-amc13-amc13-1.1.10-0.slc6.x86_64.rpm

-- DanielGastler - 07 Jan 2015

Topic revision: r6 - 10 Feb 2017 - 21:10:04 - DanielArcaro
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback