After fresh Yosemite install SVN version is pretty old (I had 1.7.17), but don’t worry – upgrade process is simple but will take some time (15-25 mins depends on your CPU speed). This tutorial assumes you have XCode installed (but if you need SVN you probably have it):

1. Open terminal and paste

sudo -s

2. Create link to toolchain:

ln -s /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.10.xctoolchain

3. Download and unpack SVN 1.8.9:

cd ~/Downloads/
curl -o subversion-1.8.9.tar.gz http://archive.apache.org/dist/subversion/subversion-1.8.9.tar.gz
tar -xvf subversion-1.8.9.tar.gz

4. Compile and install:

cd ~/Downloads/subversion-1.8.9
sh get-deps.sh serf
cd serf/
./configure
make
make install
cd ..
./configure --prefix=/usr/local --with-serf=/usr/local/serf
make
make install

5. Check version:

svn --version

You should see something like this:
svn, version 1.8.8 (r1568071)
(yes, I know I downloaded 1.8.9 but it shows 1.8.8 somehow…)

Its not that bad, all you have to do is get Stock Object, update quantity and save again along with product:

$_product = Mage::getModel('catalog/product')->loadByAttribute('sku', $SKU);
$qty = 12;
$stockItem = Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product->getId());
$stockItemData = $stockItem->getData();
if (empty($stockItemData)) {

	$stockItem->setData('manage_stock', 1);
	$stockItem->setData('is_in_stock', $qty > 0 ? 1 : 0);
	$stockItem->setData('use_config_manage_stock', 0);
	$stockItem->setData('stock_id', 1);
	$stockItem->setData('product_id', $_product->getId());
	$stockItem->setData('qty', $qty);
	$stockItem->save();

	$stockItem = Mage::getModel('cataloginventory/stock_item')->loadByProduct($_product->getId());
}
$stockItem->setData('is_in_stock', $qty > 0 ? 1 : 0);
$stockItem->setData('qty', $qty);
$stockItem->save();
$_product->save();

 

Apple today released the sixth Yosemite public beta for its beta testers, following the release of the fifth Yosemite public beta on Tuesday of last week alongside the second golden master candidate of OS X Yosemite. The new public beta carries build number 14A388b, very close to the third Yosemite golden master candidate build 14A388a seeded to developers late last week.

The software update can be downloaded through the software update function of the Mac App Store.

OS X Yosemite brings a flatter, more modern look to OS X, with an emphasis on translucency and redesigned dock, windows, and more. It also includes a multitude of new features, such as improved integration with iOS 8 through Continuity, a new “Today” view in Notification Center that offers integration with third-party apps, a retooled Spotlight search with new data sources, and several new features for apps like Mail, Safari, and Messages.

Over the course of the beta testing period, each Developer Preview has added new features and refined the look and performance of OS X Yosemite, although changes have become less obvious in more recent builds as Apple begins finalizing Yosemite ahead of its public release.

Apple is expected to launch Yosemite soon after the iPad event that it is planning to hold this Thursday.

Apple today released a third golden master candidate of OS X Yosemite to developers, just two days after releasing the second candidate golden master and the fifth public beta. The first golden master candidate was seeded to developers on September 30.
The latest Yosemite update can be downloaded from the Mac App Store and through Apple’s Mac Developer Center.
OS X Yosemite brings a flatter, more modern look to OS X, with an emphasis on translucency and redesigned dock, windows, and more. It also includes a multitude of new features, such as improved integration with iOS 8 through Continuity, a new “Today” view in Notification Center that offers integration with third-party apps, a retooled Spotlight search with new data sources, and several new features for apps like Mail, Safari, and Messages.
Over the course of the beta testing period, each Developer Preview has added new features and refined the look and performance of OS X Yosemite, although changes have become less obvious in more recent builds as Apple begins finalizing Yosemite ahead of its public release, which is expected in late October.
The current build, like the previous golden master candidate, may not be the final version of OS X Yosemite, depending on the outcome of final testing. Last year, Apple seeded multiple golden master versions of OS X Mavericks, with the final version coming a couple of days ahead of the software’s public release.

Apple released to developers a new version of OS X Server 4.0 carrying improvements to previously announced features, including SMB3 file sharing and new management options for devices running iOS 8 and OS X Yosemite.
According to the seed notes, Apple’s latest OS X Server 4.0 build 14S323 brings a number of improvements to built-in systems like the server app, File Sharing and Profile Manager, all of which are designed to work with the upcoming OS X 10.10 Yosemite release.
Today’s update comes one day after Apple issued the second OS X 10.10 Yosemite golden master build to developers, suggesting that the next-generation Mac OS will soon see public release.
Developers can download the latest OS X Server 4.0 release via Apple’s Mac Dev Center.

Apple today released the second beta of iOS 8.1, build 12B407, to registered developers for testing purposes, just over a week after the release of the first iOS 8.1 beta.
Apple has also released Apple TV Software beta 2 and Xcode 6.1 golden master seed 2.
iOS 8.1 includes several bug fixes for issues in iOS 8, including a fix for a Bluetooth connectivity problem, and it also includes support for Apple Pay, Apple’s mobile payments service that is launching in October.
Along with iOS 8.1, Apple is also simultaneously working on iOS 8.2 and iOS 8.3, all of which are expected to add new functionality to the operating system.
iOS 8 has had a rough start, with Apple temporarily removing HealthKit ahead of the launch of iOS 8 and then releasing an unstable iOS 8.0.1 update that disabled the cellular and Touch ID service of many users. Apple released iOS 8.0.2 to fix the issue, but several other problems have come to light, including a bug that causes iCloud Drive documents to be deleted.

iTunes 12 Yosemite

Apple today released a new version of the iTunes 12 beta for both developers and OS X Yosemite beta testers, following Monday’s release of the Yosemite Golden Master Candidate and a fourth public beta. First introduced in July, iTunes 12 includes an “elegant new design” that also includes support for several iOS 8/Yosemite features, including Family Sharing. Apple has released three iTunes beta updates thus far, fixing small bugs and other issues. This newest beta includes new top bar icons in preferences with an iOS-style design and stoplight buttons that have been moved back to the center. iTunes 12 also includes improved playlists, a redesigned Info Window, and a new icon. Both iTunes 12 and OS X Yosemite remain in a beta testing phase, though a public release for the software is expected in October.

iTunes 12 Yosemite

iTunes 12 Yosemite

Apple today released a candidate golden master version of OS X Yosemite to developers, just over two weeks after releasing the eighth Developer Preview alongside the third public beta of the upcoming Mac operating system.

The latest update for developers, which arrives as Build 14A379a, can be downloaded from the Mac App Store and through Apple’s Mac Dev Center. Apple has also released Xcode 6.1 GM seed and a new version of OS X Server 4.0 developer preview.

OS X Yosemite brings a flatter, more modern look to OS X, with an emphasis on translucency and redesigned dock, windows, and more. It also includes a multitude of new features, such as improved integration with iOS 8 through Continuity, a new “Today” view in Notification Center that offers integration with third-party apps, a retooled Spotlight search with new data sources, and several new features for apps like Mail, Safari, and Messages.

Over the course of the beta testing period, each Developer Preview has added new features and refined the look and performance of OS X Yosemite, although changes have become less obvious in more recent builds as Apple begins finalizing Yosemite ahead of its public release, which is expected in late October.

The current build may or may not be a final version of OS X Yosemite, depending on the outcome of final testing. As an example, Apple last year seeded its planned golden master build to developers on October 3, although it did release a second golden master version a few weeks later just ahead of the public release on October 22.