This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

The dwupload program is a Demandware cartridge file watcher. The script watches the file system and synchronizes files with your sandbox via webdav. The script assumes you are watching from the cartridges root path e.g. /some/path/cartridges/ this path would then contain your dw cartridges below.

The script assumes that you have all your cartridges in one folder, which may change depending on use cases. Currently for my use case our git repository contains all of our cartridges in one folder.

If the cartridge path is not set correctly the program can wipe all the files on your sandbox. To fix this simply run a clean using Demandware Studio and then try fixing the root watch path. You may also run into issues if both Demandware Studio and the dwupload script are both running, but I haven’t had a problem so far.

This script has been tested on both 10.8.5 and Windows XP/7. Your mileage may vary.

Getting Started

  • Install Python 2.7 if it’s not already installed

  • Install setuptools

  • Run python setup.py install

  • Create a configuration file there is an example in the dwupload package.
    • On unix based systems you can create .dwsettings in your home folder. This might work on windows, but has not been tested
  • If you have .dwsettings just run dwupload to start the file system watcher.
    • If you do not have .dwsettings you can specify the -c flag to supply the path to the config file
    • Alternatively you can add the DWUPLOAD_CONFIG_PATH environment variable so you do not have to specify the config path every time
  • Use dwupload -h to see the program’s help text

0.1.4 — - Added multiple configurations in one config file with section_name argument - Prompt user for password if password is not stored in config for security reasons

0.1.3 —

  • Added connection test on startup to make sure connection is working or will fail with an error

0.1.2 —

  • Fixed bug that locked files on Windows 7 preventing script from working on consecutive uploads

0.1.1 —

  • Bug fixes for url paths on Windows
  • Fixed bug not allowing config to be overridden via the command line
  • Removed logging statements

0.1

  • Initial version
Release History

Release History

0.1.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dwupload-0.1.4.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Jul 29, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting