David Larlet is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

david / django-storages

Support for many storages (S3, MogileFS, etc) in Django. Documentation: http://django-storages.readthedocs.org

Clone this repository (size: 285.4 KB): HTTPS / SSH
hg clone https://bitbucket.org/david/django-storages
hg clone ssh://hg@bitbucket.org/david/django-storages

Searching for commits

Mercurial supports a functional language for selecting a set of revisions.

The language supports a number of predicates which are joined by infix operators. Parenthesis can be used for grouping.

Identifiers such as branch names must be quoted with single or double quotes if they contain characters outside of [._a-zA-Z0-9\x80-\xff] or if they match one of the predefined predicates.

Prefix operators

not x
Changesets not in x. Short form is ! x.

Infix operators

x::y

A DAG range, meaning all changesets that are descendants of x and ancestors of y, including x and y themselves. If the first endpoint is left out, this is equivalent to ancestors(y), if the second is left out it is equivalent to descendants(x).

An alternative syntax is x..y.

x:y
All changesets with revision numbers between x and y, both inclusive. Either endpoint can be left out, they default to 0 and tip.
x and y
The intersection of changesets in x and y. Short form is x & y.
x or y
The union of changesets in x and y. There are two alternative short forms: x | y and x + y.
x - y
Changesets in x but not in y.

Predicates

all()
All changesets, the same as 0:tip.
ancestor(single, single)
Greatest common ancestor of the two changesets.
ancestors(set)
Changesets that are ancestors of a changeset in set.
author(string)
Alias for user(string).
bookmark([name])
The named bookmark or all bookmarks.
branch(set)
All changesets belonging to the branches of changesets in set.
children(set)
Child changesets of changesets in set.
closed()
Changeset is closed.
date(interval)
Changesets within the interval, see hg help dates.
descendants(set)
Changesets which are descendants of changesets in set.
file(pattern)
Changesets affecting files matched by pattern.
follow()
An alias for ::. (ancestors of the working copy's first parent).
grep(regex)
Like keyword(string) but accepts a regex. Use grep(r'...') to ensure special escape characters are handled correctly.
head()
Changeset is a named branch head.
heads(set)
Members of set with no children in set.
id(string)
Revision non-ambiguously specified by the given hex string prefix.
keyword(string)
Search commit message, user name, and names of changed files for string.
limit(set, n)
First n members of set.
max(set)
Changeset with highest revision number in set.
merge()
Changeset is a merge changeset.
min(set)
Changeset with lowest revision number in set.
p1([set])
First parent of changesets in set, or the working directory.
p2([set])
Second parent of changesets in set, or the working directory.
parents([set])
The set of all parents for all changesets in set, or the working directory.
present(set)
An empty set, if any revision in set isn't found; otherwise, all revisions in set.
rev(number)
Revision with the given numeric identifier.
roots(set)
Changesets with no parent changeset in set.
tag(name)
The specified tag by name, or all tagged revisions if no name is given.
user(string)
User name is string.

Commits 1–30 of 218

Author Revision Comments Message Labels Date
Honza Pokorny 443b8662fd46 Add support for SSL in Rackspace Cloudfiles backend
Ian Lewis 83fa2f0ba20c [s3boto] Fixed the listdir() method. fixes #57
Ian Lewis 5f7ff4e3d760 [s3boto] Added base url tests for safe_join
Ian Lewis 7768ec886d4b Merged pull request #20.
Alan Justino baf0c2db25a8 Lean version of safe_join by Ian Lewis
Alan Justino f51b080b1d1a Tryed to guard against writing outside AWS_LOCATION
Alan Justino d3afefc8db4b safe_join fixed for base_path ending with '/'
Ian Lewis 7c12f85b0536 Added TODO comment
Ian Lewis 9f4a9dd37049 [s3boto] Updated the FILE_WRITE_BUFFER_SIZE setting to simply FILE_BUFFER_SIZE as it may be used for reading later.
Ian Lewis f42e58824eff Updated tests
Ian Lewis 8bc95ffaa16f [s3boto] Rearranged imports in tests
Ian Lewis 935d4e53034b [s3boto] Updated and added docstrings
Ian Lewis 0265860e3227 Made the streaming write buffer size into a setting
Ian Lewis 5a0eb1694dec Merged in pendletongp/django-storages-s3boto (pull request #30) fixes #109 #110 #111
Gor...@Gordon-PC 5224766e13c8 pass along acl policy with multipart uploads
Gor...@Gordon-PC 2184c89ed044 correct typo: S3BotoStorageFile should access the reduced_redundancy param via the _storage reference.
Gor...@Gordon-PC 04710871bf02 pass headers and the reduced_redundancy to the multipart_upload constructor
Gor...@Gordon-PC 289dd17394a6 Basic implementation of using s3 multipart uploads for file writes. This allows for writing large files without requiring enough disk/memory space to store the file locally.
Gor...@Gordon-PC bc4ede7484a9 create a base test case to inherit from
Gor...@Gordon-PC babc13464d4f explicitly import S3BotoStorageTests so it can be specified from the command line like so: python manage.py test storages.S3BotoStorageTests
Gor...@Gordon-PC 2225f8151fd6 test storage url
Gor...@Gordon-PC 0ebe132ce2d6 test for multiple dir names in test_storage_listdir
Gor...@Gordon-PC 5015483a27c9 test storage size
Gor...@Gordon-PC b85d34cb2f69 test storage listdir
Gor...@Gordon-PC bc919d93f022 test exist and delete
Gor...@Gordon-PC f43c094d92a1 rename test_storage_open_for_writing to test_storage_open and explicitly assign open modes
Gor...@Gordon-PC 0825bc7e210c delete all files created during each test
Gor...@Gordon-PC 12c594d4fc92 create s3boto tests
Gor...@Gordon-PC 8d2bc197f9e9 support creating files via storage.open(name, 'w')
Ian Lewis 16b149845a2d [s3boto] Updated the modified_time() method so that it doesn't require dateutil. fixes #111
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. »