change target version to 10.4 and fixup build time

This commit changes the target version when building apple
packages to 10.4, which changes the package format from a
"flat" package back to the older package format. This
addresses issues seen on os x 10.5.8 where packages can
behave in unexpected and undesirable ways. This format
is still compatible with current (lion) systems, and can
probably be kept until we formally deprecate os x 10.5.x
support. The date format is modified for compatibility with
the older package info plist format.
Merge pull request #20 from MosesMendoza/fix_apple_packaging_to_use_older_version

change target version to 10.4 and fixup build time
(packaging) add signing and shipping tasks for solaris

This patch adds signing and shipping tasks to solaris ips. We need atleast
a self signed certificate and its key to use the task in pem format.

This patch also assumes that the user that built the package in the current
system is present in the ips repository and we have permissions to sync.
Merge pull request #21 from vrthra/packaging/add_signing_and_shipping

(packaging) add signing and shipping tasks for solaris
(packaging) add solaris README

Adding README for solaris packaging commands.
Merge pull request #22 from vrthra/packaging/add_signing_and_shipping

(packaging) add solaris README
make sure we don't assign empty gem spec settings

Currently we assume most of the gem variables are
specified in the project_data.yaml file. However,
not all projects use all settings. This commit makes
sure we only set the options in the gem spec if they
are set in the project_data.yaml file.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #23 from MosesMendoza/make_sure_we_dont_set_up_nil_variables

make sure we don't assign empty gem spec settings
Fix update_yum_repo to correctly find tasks not in base Rakefile
Merge pull request #24 from haus/fixup_update_yum_repo

Fix update_yum_repo to correctly find tasks not in base Rakefile
(maint) sane versions

Switches to the version numbering scheme of
%x[git descirbe] - first three numbers + number of commits as the build number.
Merge pull request #25 from vrthra/solaris/version

(maint) sane versions
Add a re-try option, initially to cow-building

currently, building for a set of cows is one of the
longest packaging tasks, and a failure in any one
essentially requires the whole set be redone. This
commit adds a rescue to the cow building method that
pauses the rake task and prompts the user for a 'retry'
if desired, allowing us to fix any issues with the
current cow and pick up where we left off. Since its
a utility function, this can be added to other areas
in packaging as well.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #26 from MosesMendoza/add_error_handling

Add a re-try option, initially to cow-building
Update cows before building

Previously the cow would be in an unknown state before building. This commit
chains the update_cow method to the cowbuilding task. It also updates the
user's path to include /usr/sbin, as that may not be present but is needed to
find cowbuilder and its associated tools. The call to cowbuilder is also fully
qualified, and is called via `sudo -E` to preserve the current environment in
the sudo call.
Update mock task to correctly link noarch rpms

Previously the mock method would switch on the full path of the rpm, which
would never include noarch. This commit addresses that by switching on
File.basename(rpm) which will limit the switch to the filename, which will have
noarch, i386, x86_64, or src in its contents. It correctly links noarch
packages into i386 and x86_64.
fixup base case on yes_and_no
Merge pull request #30 from MosesMendoza/fixup_yes_or_no

fixup base case on yes_and_no
Add full release chains with ship confirmations

This commit adds task chains for building and shipping
for gems and debs. This commit introduces ship confirmations -
prior to shipping, files are displayed and a confirmation is
requested. This should help prevent inadvertent shipping when
using these simpler, but longer, tasks.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #27 from MosesMendoza/add_complete_release_task

Add full release chains with ship confirmations