lp:~oubiwann/pecha-pub/trunk

Created by Duncan McGreggor and last modified
Get this branch:
bzr branch lp:~oubiwann/pecha-pub/trunk
Only Duncan McGreggor can upload to this branch. If you are Duncan McGreggor please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Duncan McGreggor
Project:
Pecha Publisher
Status:
Merged

Recent revisions

146. By Duncan McGreggor

* Fixed some variables in create_zip.
* Added a partially working unit test for multiple variables.

145. By Duncan McGreggor

* Moved the create_zip method into the util module as a function.
* Started working on unit tests for create_zip.
* Fixed the get_timestamp utility to work on Mac OS X.
* Added file and path truncation support to create_zip.

144. By Duncan McGreggor

* Added a zip-file creation method (note that there are still issues with the
  paths and filenames being saved in the zip file). Code was initially taken
  from a forum post here:
    http://bytes.com/topic/python/answers/851018-how-zip-directory-python-using-zipfile
* Cleaned up the convert method.
* Added a close method for the compressed project object.

143. By Duncan McGreggor

* Started implementing the convert method.
* Added a move method and unit tests.
* Created a custom raiseError method to perform cleanups in one place instead
  of all over the code.
* Added two new custom exceptions.

142. By Duncan McGreggor

* Refactored some of the project class initialization code.
* Replaced the base_dir, project_name idiom with just the project_path idiom
  (in init and create methods).
* Refactored the project name collision check into a separate method.
* Started another refactor of the compressed project constructor.

141. By Duncan McGreggor

* Cleaned up constants to be cross-platform in their directory separators.
* Added a backup implementation and unit tests.

140. By Duncan McGreggor

* Created a temp resource utility class so that temp dirs and files can be
  tracked and then cleaned up after usage.
* Moved the cleanup method from the base test case to the temp resources class.
* Refectored the testing base test case class to use the temp reources utility
  class.
* Added a close method to the BaseProject class.
* Made CompressedProject inherit from BaseProject again, since it needs the
  temp resources.

139. By Duncan McGreggor

Updated TODO.

138. By Duncan McGreggor

* Created a util module, containing a timestamp function.
* Added timestamp unit tests.

137. By Duncan McGreggor

Added some more code comments on things that I need to think about.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar RepositoryFormatKnitPack6RichRoot (bzr 1.9)
Stacked on:
lp:~oubiwann/pecha-pub/main
This branch contains Public information 
Everyone can see this information.

Subscribers