Skip to content

Commit

Permalink
Merge pull request #2 from anusharanganathan/master
Browse files Browse the repository at this point in the history
Pull from latest
  • Loading branch information
benosteen committed Oct 20, 2012
2 parents 12509aa + be63e2e commit 0b76526
Show file tree
Hide file tree
Showing 21 changed files with 277 additions and 11 deletions.
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Tue Jun 12 2012
* Version: 0.4.16
* replaced os.rename with shutil.copytree as Python cannot handle moving files between file systems

Thu Apr 05 2011
* Version: 0.4.15
* Version logs added to the manifest for every create / update / delete action

Tue Jul 26 2011
* Version: 0.4.14
* Passing the file name instead of a file-like object (using StringIO) to the RDFXML parser for unicode support
Expand Down
24 changes: 24 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
The MIT License

Copyright (c) 2012, Ben O'Steen <[email protected]>
Copyright (c) 2012, Anusha Ranganathan <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.


File renamed without changes.
12 changes: 12 additions & 0 deletions RecordSilo.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Metadata-Version: 1.0
Name: RecordSilo
Version: 0.4.16
Summary: An adaptation of a pairtree store, each object with simple JSON keyvalue manifest and crude versioning.
Home-page: UNKNOWN
Author: Ben O'Steen, Anusha Ranganathan
Author-email: [email protected] / [email protected]
License: UNKNOWN
Description: An adaptation of a pairtree store, each object with simple JSON keyvalue manifest and crude versioning.
Designed to be used as a repository of harvested records from OAI-PMH based services and the like.
As of version 0.3, it now includes an RDF-enhanced version of the Silo - RDFSilo.
Platform: UNKNOWN
14 changes: 14 additions & 0 deletions RecordSilo.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
README.txt
setup.py
RecordSilo.egg-info/PKG-INFO
RecordSilo.egg-info/SOURCES.txt
RecordSilo.egg-info/dependency_links.txt
RecordSilo.egg-info/requires.txt
RecordSilo.egg-info/top_level.txt
recordsilo/__init__.py
recordsilo/manifesthelper.py
recordsilo/persiststate.py
recordsilo/rdfmanifest.py
recordsilo/records.py
recordsilo/silo.py
recordsilo/urihelper.py
1 change: 1 addition & 0 deletions RecordSilo.egg-info/dependency_links.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 2 additions & 0 deletions RecordSilo.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pairtree>0.5.4
simplejson
1 change: 1 addition & 0 deletions RecordSilo.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
recordsilo
6 changes: 6 additions & 0 deletions debian/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The Debian Package python-recordsilo
----------------------------

Comments regarding the Package

-- Anusha Ranganathan <[email protected]> Thu, 05 Apr 2012 13:49:36 +0000
70 changes: 70 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
python-recordsilo (0.4.16) unstable; urgency=low

* replaced os.rename with shutil.copytree as Python cannot handle moving
files between file systems (Invalid cross-device link error)

-- Anusha Ranganathan <[email protected]> Tue, 12 Jun 2012 14:15:36 +0000


python-recordsilo (0.4.15) unstable; urgency=low

* Version logs added to the manifest for every create / update / delete action

-- Anusha Ranganathan <[email protected]> Thu, 05 Apr 2012 13:49:36 +0000


python-recordsilo (0.4.14) unstable; urgency=low

* Packaged into Debian

* Passing the file name instead of a file-like object
(using StringIO) to the RDFXML parser for unicode support

* Passing a unicode string containing non ascii characters as a
file object to the parser in rdflib throws UnicodeEncodeError
(see http://code.google.com/p/rdflib/issues/detail?id=108).
Format of string is XML.
This is reproducable even in version 3.1.0 of rdflib.
So passing the file name instead to the parser so as to be able
to handle the full rnage of unicode characters in the manifest.

-- Anusha Ranganathan <[email protected]> Mon, 20 Feb 2012 13:49:36 +0000


python-recordsilo (0.4.13) unstable; urgency=low

* Removed the dependency on rdfobject and instead have added
a simple manifesthelper class (which is based on rdfobject)

-- Anusha Ranganathan <[email protected]> Sun, 17 Jul 2011 13:49:36 +0000


python-recordsilo (0.4.12) unstable; urgency=low

* Wrote a helper function del_dir in the RDFRecord class,
to be able to recursively delete directories

-- Anusha Ranganathan <[email protected]> Thu, 16 Jun 2011 13:49:36 +0000


python-recordsilo (0.4.11) unstable; urgency=low

* Can customize the start version for datasets in silos.
The default startversion is 1.

-- Anusha Ranganathan <[email protected]> Fri, 17 Dec 2010 13:49:36 +0000


python-recordsilo (0.4.10) unstable; urgency=low

* Added a function to calculate the disk usage

-- Anusha Ranganathan <[email protected]> Mon, 08 Nov 2010 13:49:36 +0000


python-recordsilo (0.4.9) unstable; urgency=low

* Extended the versioning capabalities. Added functionality
to use symlinks when using copy, clone or increment of version.

-- Anusha Ranganathan <[email protected]> Mon, 29 Oct 2010 13:49:36 +0000
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7
20 changes: 20 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Source: python-recordsilo
Section: python
Priority: extra
Maintainer: Anusha Ranganathan <[email protected]>
Build-Depends: debhelper (>= 7),
python-setuptools
Standards-Version: 3.9.2
Vcs-Git: git://github.com/anusharanganathan/RecordSilo.git
Homepage: https://github.com/anusharanganathan/RecordSilo
Uploaders: Anusha Ranganathan <[email protected]>
XS-Python-Version: >= 2.6

Package: python-recordsilo
Architecture: all
Depends: ${python:Depends},
python-pairtree,
python-simplejson
Description: A local disc pairtree-based silo
RecordSilo provides a local disc silo to store digital objects.
It uses a JSON manifest and is a simple datastore based on pairtree.
44 changes: 44 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
This work was packaged for Debian by:

Anusha Ranganathan <[email protected]> on Thu, 05 Apr 2012 13:49:36 +0000

It was downloaded from:

https://github.com/anusharanganathan/RecordSilo

Upstream Author(s):

Ben O'Steen <[email protected]>
Anusha Ranganathan <[email protected]>

Copyright:

Copyright (C) 2012 Ben O'Steen <[email protected]>
Copyright (C) 2012 Anusha Ranganathan <[email protected]>

License:

MIT
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

The Debian packaging is:

Copyright (C) 2012 Anusha Ranganathan <[email protected]>
and is licensed under the MIT License. See above.

2 changes: 2 additions & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LICENSE.txt
README.txt
28 changes: 28 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

#DEB_PYTHON_SYSTEM=pysupport
#
#include /usr/share/cdbs/1/rules/debhelper.mk
#include /usr/share/cdbs/1/class/python-distutils.mk

export DISTUTILS_ARGS=--root=debian/python-recordsilo \
--install-layout=deb \
# --install-lib=/usr/share/python-recordsilo \
# --install-scripts=/usr/share/python-recordsilo \
# --install-data=/usr/share/python-recordsilo

%:
dh $@

override_dh_auto_install:
python setup.py install ${DISTUTILS_ARGS}

Binary file added dist/RecordSilo-0.4.14-py2.7.egg
Binary file not shown.
Binary file added dist/RecordSilo-0.4.15-py2.6.egg
Binary file not shown.
Binary file added dist/RecordSilo-0.4.15-py2.7.egg
Binary file not shown.
Binary file added dist/RecordSilo-0.4.16-py2.6.egg
Binary file not shown.
Loading

0 comments on commit 0b76526

Please sign in to comment.