]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- move to file-per-changelog for unreleased change notes,
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 22 Jul 2017 20:32:01 +0000 (16:32 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 24 Jul 2017 14:43:11 +0000 (10:43 -0400)
so that we no longer have to rely upon merges within
the changelog files.   because gerrit doesn't allow us
to use custom merge engines unlike git, we have no ability
to merge multiple changes into the changelog files without
going through conflicts.   new version of changelog
in git supports these new patterns.

Change-Id: I588eebd027b4ad3428bd522f36a6f1cd77f105bb
(cherry picked from commit 39c72682b85c1d3912ced383733d03eca7a43845)

doc/build/changelog/changelog_10.rst
doc/build/changelog/unreleased_10/3937.rst [new file with mode: 0644]
doc/build/changelog/unreleased_10/README.txt [new file with mode: 0644]
doc/build/conf.py
doc/build/requirements.txt

index c9d9a7fe8c49c1e860fa68a7d6ecfe60e4b23683..633e7649709306baf60b25c758ab4751c67b2e77 100644 (file)
 
 .. changelog::
     :version: 1.0.18
-
-    .. change:: 3937
-        :tags: bug, oracle
-        :tickets: 3937
-        :versions: 1.1.7
-
-        A fix to cx_Oracle's WITH_UNICODE mode which was uncovered by the
-        fact that cx_Oracle 5.3 now seems to hardcode this flag on in
-        the build; an internal method that uses this mode wasn't using
-        the correct signature.
+    :include_notes_from: unreleased_10
 
 
 .. changelog::
diff --git a/doc/build/changelog/unreleased_10/3937.rst b/doc/build/changelog/unreleased_10/3937.rst
new file mode 100644 (file)
index 0000000..191da65
--- /dev/null
@@ -0,0 +1,9 @@
+.. change:: 3937
+    :tags: bug, oracle
+    :tickets: 3937
+    :versions: 1.1.7
+
+    A fix to cx_Oracle's WITH_UNICODE mode which was uncovered by the
+    fact that cx_Oracle 5.3 now seems to hardcode this flag on in
+    the build; an internal method that uses this mode wasn't using
+    the correct signature.
diff --git a/doc/build/changelog/unreleased_10/README.txt b/doc/build/changelog/unreleased_10/README.txt
new file mode 100644 (file)
index 0000000..0a61f13
--- /dev/null
@@ -0,0 +1,11 @@
+Individual per-changelog files go here
+in .rst format, which are pulled in by
+changelog (version 0.4.0 or higher) to 
+be rendered into the changelog_xx.rst file.
+At release time, the files here are removed and written
+directly into the changelog.
+
+Rationale is so that multiple changes being merged
+into gerrit don't produce conflicts.   Note that 
+gerrit does not support custom merge handlers unlike
+git itself.
index 5edbb084708375897c3026abcc438421c5e1ddab..b04ba10b3bf7d2aba87bc8d5871350facb875858 100644 (file)
@@ -27,7 +27,7 @@ import sqlalchemy
 # -- General configuration -----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
+needs_sphinx = '1.6.0'
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
@@ -72,6 +72,11 @@ changelog_render_pullreq = {
 
 changelog_render_changeset = "http://www.sqlalchemy.org/trac/changeset/%s"
 
+exclude_patterns = [
+    'build',
+    '**/unreleased*/*',
+]
+
 autodocmods_convert_modname = {
     "sqlalchemy.sql.sqltypes": "sqlalchemy.types",
     "sqlalchemy.sql.type_api": "sqlalchemy.types",
@@ -117,7 +122,7 @@ site_adapter_py = "docs_adapter.py"
 
 # arbitrary number recognized by builders.py, incrementing this
 # will force a rebuild
-build_number = 3
+build_number = "3"
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -129,10 +134,6 @@ build_number = 3
 # Else, today_fmt is used as the format for a strftime call.
 #today_fmt = '%B %d, %Y'
 
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['build']
-
 # The reST default role (used for this markup: `text`) to use for all documents.
 #default_role = None
 
index b7141c62a355002059b38efdd6f77f13826cf675..3836719d9f550e8fec5d2a4c7b534fd4d8e08e43 100644 (file)
@@ -1,3 +1,3 @@
-changelog>=0.3.5
-sphinx-paramlinks>=0.3.3
+git+https://bitbucket.org/zzzeek/changelog.git@HEAD#egg=changelog
+git+https://bitbucket.org/zzzeek/sphinx-paramlinks.git@HEAD#egg=sphinx-paramlinks
 git+https://bitbucket.org/zzzeek/zzzeeksphinx.git@HEAD#egg=zzzeeksphinx