Skip to content

Commit

Permalink
Merge pull request #13 from joewiz/fix/align-source
Browse files Browse the repository at this point in the history
Align source code, prepare new release for compatibility with eXist 3.1.0
  • Loading branch information
dizzzz authored Mar 17, 2017
2 parents d0bc5a7 + b9420db commit 262858a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 14 deletions.
7 changes: 7 additions & 0 deletions build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Don't directly modify this file. Instead, copy it to local.build.properties and
# edit that.
#

project.name=public-repo
project.version=0.6.0
7 changes: 3 additions & 4 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
<project xmlns:xdb="http://exist-db.org/ant" default="all" name="Public Application Repository">
<property file="local.build.properties"/>
<property file="build.properties"/>
<property name="project.app" value="public-repo"/>
<property name="project.version" value="0.5.4"/>
<property name="build" value="./build"/>
<property name="server.url" value="http://demo.exist-db.org/exist/apps/public-repo/public/"/>
<condition property="git.commit" value="${git.commit}" else="">
Expand All @@ -19,10 +17,11 @@
<mkdir dir="${build}"/>
<copy file="expath-pkg.xml.tmpl" tofile="expath-pkg.xml" filtering="true" overwrite="true">
<filterset>
<filter token="project.name" value="${project.name}"/>
<filter token="project.version" value="${project.version}"/>
</filterset>
</copy>
<zip destfile="${build}/${project.app}-${project.version}${git.commit}.xar">
<zip destfile="${build}/${project.name}-${project.version}${git.commit}.xar">
<fileset dir=".">
<include name="*.*"/>
<include name="modules/**"/>
Expand All @@ -42,7 +41,7 @@
<input message="Enter password:" addproperty="server.pass" defaultvalue="">
<handler type="secure"/>
</input>
<property name="xar" value="${project.app}-${project.version}${git.commit}.xar"/>
<property name="xar" value="${project.name}-${project.version}${git.commit}.xar"/>
<exec executable="curl">
<arg line="-T ${build}/${xar} -u admin:${server.pass} ${server.url}/${xar}"/>
</exec>
Expand Down
2 changes: 1 addition & 1 deletion expath-pkg.xml.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://expath.org/ns/pkg" name="http://exist-db.org/apps/public-repo" abbrev="public-repo" version="@project.version@" spec="1.0">
<package xmlns="http://expath.org/ns/pkg" name="http://exist-db.org/apps/public-repo" abbrev="@project.name@" version="@project.version@" spec="1.0">
<title>eXist-db Public Application Repository</title>
</package>
24 changes: 15 additions & 9 deletions repo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<meta xmlns="http://exist-db.org/xquery/repo">
<description>Scripts to maintain eXist's public application repository.</description>
<author>Wolfgang Meier</author>
<website/>
<website>https://github.com/eXist-db/public-xar-repo</website>
<status>alpha</status>
<license>GNU-LGPL</license>
<copyright>true</copyright>
Expand All @@ -12,6 +12,12 @@
<finish>post-install.xql</finish>
<permissions xmlns:repo="http://exist-db.org/xquery/repo" password="repo" user="repo" group="repo" mode="rw-rw-r--"/>
<changelog>
<change version="0.6.0">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Allow processor version to end with a label, for compatibility with eXist 3.1.0+ semver scheme.</li>
<li>Fixed links in atom feed by including min-version parameter.</li>
</ul>
</change>
<change version="0.5.4">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Fixed error affecting view of packages requiring different processor versions.</li>
Expand All @@ -27,27 +33,27 @@
<li>New admin section to upload packages and publish them.</li>
</ul>
</change>
<repo:change xmlns:repo="http://exist-db.org/xquery/repo" version="0.5.1">
<change version="0.5.1">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Fixed auto-upload.xql to consider only the xar type files.</li>
</ul>
</repo:change>
<repo:change xmlns:repo="http://exist-db.org/xquery/repo" version="0.5.0">
</change>
<change version="0.5.0">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Added support for automatic updating of apps.xml in case one adds, updates, or deletes a xar file from public folder.</li>
</ul>
</repo:change>
<repo:change xmlns:repo="http://exist-db.org/xquery/repo" version="0.4.2">
</change>
<change version="0.4.2">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Updated atom feed entries to link to each app's html page</li>
</ul>
</repo:change>
<repo:change xmlns:repo="http://exist-db.org/xquery/repo" version="0.4">
</change>
<change version="0.4">
<ul xmlns="http://www.w3.org/1999/xhtml">
<li>Changed homepage display from grid to list, with separate detailed view for each
package</li>
<li>Added display of change log to atom feed and detailed web view</li>
</ul>
</repo:change>
</change>
</changelog>
</meta>

0 comments on commit 262858a

Please sign in to comment.