Skip to content

Commit a74a3b2

Browse files
authored
Merge pull request #37 from joewiz/fix/abbrev-mismatch
Restore “abbrev”, not same as “app name”
2 parents 6d366e0 + 8217f42 commit a74a3b2

4 files changed

Lines changed: 21 additions & 11 deletions

File tree

build.properties

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
# edit that.
44
#
55

6-
project.name=shared-resources
7-
project.version=0.8.0
6+
# Do not modify these properties, or risk breaking package managers.
7+
project.abbrev=shared
8+
project.app=shared-resources
9+
project.name=http://exist-db.org/apps/shared
10+
11+
# These properties can be changed.
12+
project.version=0.8.1

build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<project basedir="." default="all" name="shared-resources">
33
<property file="local.build.properties"/>
44
<property file="build.properties"/>
5-
<property name="tools" value="./tools"/>
65
<property name="build" value="./build"/>
76
<property name="scripts" value="./resources/scripts"/>
87
<property name="ace" value="${scripts}/ace"/>
@@ -40,10 +39,11 @@
4039
<copy file="expath-pkg.xml.tmpl" tofile="expath-pkg.xml" filtering="true" overwrite="true">
4140
<filterset>
4241
<filter token="project.name" value="${project.name}"/>
42+
<filter token="project.abbrev" value="${project.abbrev}"/>
4343
<filter token="project.version" value="${project.version}"/>
4444
</filterset>
4545
</copy>
46-
<zip destfile="${build}/${project.name}-${project.version}${git.commit}.xar">
46+
<zip destfile="${build}/${project.app}-${project.version}${git.commit}.xar">
4747
<fileset dir=".">
4848
<include name="*.*"/>
4949
<include name="resources/**"/>
@@ -58,7 +58,7 @@
5858
<input message="Enter password:" addproperty="server.pass" defaultvalue="">
5959
<handler type="secure"/>
6060
</input>
61-
<property name="xar" value="${project.name}-${project.version}${git.commit}.xar"/>
61+
<property name="xar" value="${project.app}-${project.version}${git.commit}.xar"/>
6262
<exec executable="curl">
6363
<arg line="-T ${build}/${xar} -u admin:${server.pass} ${server.url}/${xar}"/>
6464
</exec>

expath-pkg.xml.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<package xmlns="http://expath.org/ns/pkg" name="http://exist-db.org/apps/shared" abbrev="@project.name@" version="@project.version@" spec="1.0">
3-
<title>Shared Resources: jquery, dojo, ace ...</title>
2+
<package xmlns="http://expath.org/ns/pkg" name="@project.name@" abbrev="@project.abbrev@" version="@project.version@" spec="1.0">
3+
<title>Shared Resources: jquery, dojo, ace, templating, utilities</title>
44
<dependency processor="http://exist-db.org" semver-min="3.0.4"/>
55
<xquery>
66
<namespace>http://exist-db.org/xquery/apps</namespace>

repo.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</change>
5959
<change version="0.4.2">
6060
<ul xmlns="http://www.w3.org/1999/xhtml">
61-
<li>Minor release to restore package/@abbrev value to prevent problems on older systems querying public-repo.</li>
61+
<li>Fixed: Restore package/@abbrev value to prevent problems on older systems querying public-repo - <a href="https://github.com/eXist-db/shared-resources/pull/22">#22</a></li>
6262
</ul>
6363
</change>
6464
<change version="0.5.0">
@@ -70,17 +70,22 @@
7070
</change>
7171
<change version="0.6.0">
7272
<ul xmlns="http://www.w3.org/1999/xhtml">
73-
<li>Fixed: Split some functions into calls to smaller functions. Backwards compatible</li>
73+
<li>Fixed: Split some functions into calls to smaller functions. Backwards compatible.</li>
7474
</ul>
7575
</change>
7676
<change version="0.7.0">
7777
<ul xmlns="http://www.w3.org/1999/xhtml">
78-
<li>Improved internal documentation</li>
78+
<li>Improved: Internal function documentation</li>
7979
</ul>
8080
</change>
8181
<change version="0.8.0">
8282
<ul xmlns="http://www.w3.org/1999/xhtml">
83-
<li>Fixed - Infinite look in function lookup <a href="https://github.com/eXist-db/shared-resources/issues/33">#33</a></li>
83+
<li>Fixed: Infinite loop in function lookup - <a href="https://github.com/eXist-db/shared-resources/issues/33">#33</a></li>
84+
</ul>
85+
</change>
86+
<change version="0.8.1">
87+
<ul xmlns="http://www.w3.org/1999/xhtml">
88+
<li>Fixed: Restore legacy difference between package abbrev and app name - <a href="https://github.com/eXist-db/shared-resources/issues/36">#36</a></li>
8489
</ul>
8590
</change>
8691
</changelog>

0 commit comments

Comments
 (0)