Skip to content

Commit ae8b91b

Browse files
author
James William Pye
committed
1.0.4 Release.
1 parent fd05f13 commit ae8b91b

12 files changed

+27
-11
lines changed

be-new

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
cd src/backend && python3 collect_source_snapshots.py
2+
cd backend && python3 collect_source_snapshots.py

fe-new

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/sh
2-
cd src/frontend && python3 collect_source_snapshots.py
2+
cd frontend && python3 collect_source_snapshots.py

frontend/collect_source_snapshots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
# base directory
2121
project = 'py-postgresql'
22-
script_dir = os.path.dirname(__file__)
22+
script_dir = os.path.realpath(os.path.dirname(__file__))
2323
os.chdir(script_dir)
2424
files_dir = os.path.join(script_dir, 'static', 'files')
2525
files = partial(os.path.join, files_dir)

frontend/copy_documentation.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
import xml.etree.ElementTree as etree
77

88
project = 'py-postgresql'
9-
script_dir = os.path.dirname(__file__)
10-
os.chdir(script_dir)
9+
os.chdir(os.path.realpath(os.path.dirname(__file__)))
1110
files = os.path.join('static', 'files')
1211

1312
def open_branch(version):
@@ -22,6 +21,7 @@ def extract(dst, zf):
2221
for x in zf.filelist:
2322
path = x.filename.split('/')[1:]
2423
rpath = os.path.join(dst, *path)
24+
print(x.filename)
2525
if x.filename.endswith('/'):
2626
os.mkdir(rpath)
2727
else:
@@ -40,8 +40,9 @@ def rmrf(path, rm = os.remove, rmdir = os.rmdir, join = os.path.join):
4040
def publish_branch(target, version, d = 'tmpd'):
4141
if os.path.exists(d):
4242
rmrf(d)
43-
extract(d, open_branch(version))
44-
os.rename(os.path.join(d, 'postgresql', 'documentation', 'html'), target)
43+
os.mkdir(d)
44+
open_branch(version).extractall(d)
45+
os.rename(os.path.join(d, project + '-' + version, 'postgresql', 'documentation', 'html'), target)
4546
rmrf(d)
4647

4748
if os.path.exists('docs'):

frontend/src/index.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,23 @@
1515
<published name="py-postgresql">
1616

1717
<branch version="1.0" id="v1.0">
18+
<release date="2012-03-01" version="1.0.4" id="v1.0.4">
19+
<platform>
20+
<file type="tar/xz" id="py-postgresql-1.0.4.tar.xz"/>
21+
<file type="zip" id="py-postgresql-1.0.4.zip"/>
22+
</platform>
23+
<platform id="win32">
24+
<platform id="cpython3.2">
25+
<file type="msi" id="py-postgresql-1.0.4.win32-py3.2.msi"/>
26+
</platform>
27+
<platform id="cpython3.1">
28+
<file type="msi" id="py-postgresql-1.0.4.win32-py3.1.msi"/>
29+
</platform>
30+
</platform>
31+
</release>
32+
1833
<release date="2011-09-24" version="1.0.3" id="v1.0.3">
34+
<errata>Can emit superfluous ERRORs regarding CURSOR existence.</errata>
1935
<platform>
2036
<file type="zip" id="py-postgresql-1.0.3.zip"/>
2137
<file type="tar/gz" id="py-postgresql-1.0.3.tar.gz"/>

frontend/src/index.xsl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,17 +438,16 @@ datetime.datetime(2009, 5, 12, 20, 23, 30, 351411)
438438
Copy of the latest authors file:
439439
<pre>
440440
<![CDATA[
441-
Primary Developers:
442-
James William Pye <x@jwp.name>
443-
444441
Contributors:
442+
James William Pye [faults are mostly mine] <x@jwp.io>
445443
Elvis Pranskevichus
446444
William Grzybowski [subjective paramstyle]
445+
Barry Grussling [inet/cidr support]
446+
Matthew Grant [inet/cidr support]
447447
448448
Support by Donation:
449449
AppCove Network
450450
451-
452451
Further Credits
453452
===============
454453
Binary file not shown.
1020 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)