Skip to main content

Manage ODF files in SubVersioN

Project description

Introduction

ODFSVN is a set of tools that allow you to manage ODF documents in a subversion repository. There are several reasons that make this a very useful thing to do:

  • it allows you to use all features of a version control system: all changes are archived along with change notes, making it possible to roll back to previous versions, see who made what changes and why, etc.

  • it makes it possible to have multiple people sharing their changes to a document through a shared repository. That means that you can always see all changes from all editors, update your version to the latest revision and submit your changes. No matter where you are, with or without access to your email, you will always be able to share your work.

For now this can be done through the odfsvn command line tool. In the (near) future this will also be possible through a plugin for OpenOffice.org.

Quick example

Suppose you are working on a proposal with a group of people. The proposal is stored in a file called proposal.odt which you have just created. The first thing that you need to do is import this file into an existing repository:

$ odfsvn import -m "Simplon proposal for odf RFP" proposal.odt \
  http://code.simplon.biz/proposals/odf.odt
Commited revision 22

This will have added your file to the repository. The -m parameter was used to set the commit message for this change.

You can now use the info command to check the repository information inside your file:

$ odfsvn info proposal.odt
Path: proposal.odt
Type: svn
URL: http://code.simplon.biz/proposals/odf.odt
Repository UUID: 1a87ecf8-a9bc-47a4-9dc9-5f45153203cc
Revision: 22

If one of your co-editors wants to work on this proposal he must first retrieve the document using the checkout command:

$ odfsvn checkout http://code.simplon.biz/proposals/odf.odt
Checked out revision 22

He can now edit the odf.odt file using his normal editors. After making any changes he can commit them using the commit command:

$ odfsvn commit -m "Added estimates and initial planning" odf.odt
Changes committed.

You can now update your local copy using the update command:

$ odfsvn update proposal.dt
Updated to revision 23

Installation

odfsvn requires the subversion command line tool svn, python and setuptools to be installed.

After installing those requirements you can install odfsvn using the easy_install command:

easy_install odfsvn

This will install the odfsvn command and the associated python package. If you are using a UNIX shell you may need to refresh the command cache from your shell after doing this (hash -r or rehash generally).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

odfsvn-1.0a1.tar.gz (2.7 MB view details)

Uploaded Source

Built Distribution

odfsvn-1.0a1-py2.4.egg (27.1 kB view details)

Uploaded Source

File details

Details for the file odfsvn-1.0a1.tar.gz.

File metadata

  • Download URL: odfsvn-1.0a1.tar.gz
  • Upload date:
  • Size: 2.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for odfsvn-1.0a1.tar.gz
Algorithm Hash digest
SHA256 e8f71575d1e59e1e34f9ff169780d312b565418a2803c6f2802bce15a84d3446
MD5 c53852e7c9a3ce62a03721fdb5f93d78
BLAKE2b-256 4d20d1b2d2c38a2e323c1d9566f027b78b5a7335b3abef75c8dcae44decdc7e7

See more details on using hashes here.

File details

Details for the file odfsvn-1.0a1-py2.4.egg.

File metadata

  • Download URL: odfsvn-1.0a1-py2.4.egg
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for odfsvn-1.0a1-py2.4.egg
Algorithm Hash digest
SHA256 c1b8d290342b36cf6e763e54547b7f635ad8659e0619c7debe2e256c9b1e7236
MD5 8db9e3ea7e6bd49e45ad13b6e63b1715
BLAKE2b-256 57e5ef60833a120bdceaf3e8806e9d8de2fdc658a64dc18dc074b546d5c2108e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page