Skip to content

Instantly share code, notes, and snippets.

View aakashd's full-sized avatar

aakash dharmadhikari aakashd

View GitHub Profile
@aakashd
aakashd / gh_to_pt.rb
Last active August 29, 2015 13:58 — forked from rbrooks/gh_to_pt.rb
#!/usr/bin/env ruby
# Author: Russ Brooks, TelVue Corporation (www.telvue.com)
# Description: Migrates GitHub Issues to Pivotal Tracker.
# Dependencies: Ruby 1.9.2+
# GitHub API gem: https://github.com/peter-murach/github
# Pivtal Tracker gem: https://github.com/jsmestad/pivotal-tracker
# 1. Change the constants below accordingly for your project.
# 2. Change the options in list_repo() method for your GitHub project.
# 3. Change the options in stories.create() method accordingly.
SKU Operation Item Name Brand Name Manufacturer Product Type Product Description Parent/Child Parent SKU foobar_property Active Variation Theme Category Path 1 Category Path 2
dummy-1 create Himalaya Herbals Purifying Neem Face Wash Himalaya Himalaya Global Holdings Ltd foobar_product_type is a soap-free herbal formulation that clears impurities and helps clear pimples Parent 1 TRUE foobar_theme 2000 3000
dummy-2 create Himalaya Herbals Purifying Neem Face Wash 200ml Child dummy-1 2 TRUE
dummy-3 create Himalaya Herbals Purifying Neem Face Wash 500ml Child dummy-1 1 TRUE
dummy-4 create Himalaya Herbals Baby Soap (Honey and Milk) Himalaya Himalaya Global Holdings Ltd foobar_product_type is a herbal soap developed for baby's sensitive skin TRUE 2000