Skip to content

Commit 5550834

Browse files
committed
Normalize docs to docs/ (Closes #5).
Also normalize the package layout. Thanks @jdowner-gb & tleach for the report.
1 parent 9a9aca2 commit 5550834

17 files changed

Lines changed: 133 additions & 169 deletions

.gitignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
*.pyc
1+
# Temporary files
22
.*.swp
3+
*.pyc
4+
*.pyo
5+
6+
# Build-related files
7+
docs/_build/
38
.coverage
4-
htmlcov/
5-
tests/db/
9+
*.egg-info
10+
*.egg
11+
build/
612
dist/
7-
doc/_build/
13+
htmlcov/
814
MANIFEST

ChangeLog

Lines changed: 0 additions & 1 deletion
This file was deleted.

ChangeLog

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
ChangeLog
2+
=========
3+
4+
5+
2.2.1 (2013-10-29)
6+
------------------
7+
8+
*Bugfix:*
9+
10+
* `#2 <https://github.com/rbarrois/python-semanticversion/issues/2>`_: Properly expose
11+
:func:`~semantic_version.validate` as a top-level module function.
12+
13+
2.2.0 (2013-03-22)
14+
------------------
15+
16+
*Bugfix:*
17+
18+
* `#1 <https://github.com/rbarrois/python-semanticversion/issues/1>`_: Allow partial
19+
versions without minor or patch level
20+
21+
*New:*
22+
23+
* Add the :meth:`Version.coerce <semantic_version.Version.coerce>` class method to
24+
:class:`~semantic_version.Version` class for mapping arbitrary version strings to
25+
semver.
26+
* Add the :func:`~semantic_version.validate` method to validate a version
27+
string against the SemVer rules.
28+
* Full Python3 support
29+
30+
2.1.2 (2012-05-22)
31+
------------------
32+
33+
*Bugfix:*
34+
35+
* Properly validate :class:`~semantic_version.django_fields.VersionField` and
36+
:class:`~semantic_version.django_fields.SpecField`.
37+
38+
2.1.1 (2012-05-22)
39+
------------------
40+
41+
*New:*
42+
43+
* Add introspection rules for south
44+
45+
2.1.0 (2012-05-22)
46+
------------------
47+
48+
*New:*
49+
50+
* Add :func:`semantic_version.Spec.filter` (filter a list of :class:`~semantic_version.Version`)
51+
* Add :func:`semantic_version.Spec.select` (select the highest
52+
:class:`~semantic_version.Version` from a list)
53+
* Update :func:`semantic_version.Version.__repr__`
54+
55+
2.0.0 (2012-05-22)
56+
------------------
57+
58+
*Backwards incompatible changes:*
59+
60+
* Removed "loose" specification support
61+
* Cleanup :class:`~semantic_version.Spec` to be more intuitive.
62+
* Merge Spec and SpecList into :class:`~semantic_version.Spec`.
63+
* Remove :class:`~semantic_version.django_fields.SpecListField`
64+
65+
1.2.0 (2012-05-18)
66+
------------------
67+
68+
*New:*
69+
70+
* Allow split specifications when instantiating a
71+
:class:`~semantic_version.SpecList`::
72+
73+
>>> SpecList('>=0.1.1', '!=0.1.3') == SpecList('>=0.1.1,!=0.1.3')
74+
True
75+
76+
1.1.0 (2012-05-18)
77+
------------------
78+
79+
*New:*
80+
81+
* Improved "loose" specification support (``>~``, ``<~``, ``!~``)
82+
* Introduced "not equal" specifications (``!=``, ``!~``)
83+
* :class:`~semantic_version.SpecList` class combining many :class:`~semantic_version.Spec`
84+
* Add :class:`~semantic_version.django_fields.SpecListField` to store a :class:`~semantic_version.SpecList`.
85+
86+
1.0.0 (2012-05-17)
87+
------------------
88+
89+
First public release.
90+
91+
*New:*
92+
93+
* :class:`~semantic_version.Version` and :class:`~semantic_version.Spec` classes
94+
* Related django fields: :class:`~semantic_version.django_fields.VersionField`
95+
and :class:`~semantic_version.django_fields.SpecField`
96+
97+
.. vim:et:ts=4:sw=4:tw=79:ft=rst:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ coverage:
2121
coverage html "--include=$(PACKAGE_DIR)/*.py,tests/*.py"
2222

2323
doc:
24-
$(MAKE) -C doc html
24+
$(MAKE) -C docs html
2525

2626

2727
.PHONY: all default clean coverage doc test

doc/changelog.rst

Lines changed: 0 additions & 97 deletions
This file was deleted.
File renamed without changes.

docs/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../ChangeLog

doc/conf.py renamed to docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
def get_version():
5252
import re
5353
version_re = re.compile(r"^__version__ = '([\w_.-]+)'$")
54-
with open(os.path.join(root_dir, os.pardir, 'src', 'semantic_version', '__init__.py')) as f:
54+
with open(os.path.join(root_dir, os.pardir, 'semantic_version', '__init__.py')) as f:
5555
for line in f:
5656
match = version_re.match(line[:-1])
5757
if match:
File renamed without changes.

0 commit comments

Comments
 (0)