mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-24 02:13:09 +00:00
r2271@libaxis1 (orig r1780): jrutherford | 2007-04-10 09:41:17 -0400 Branching for 1.4.x development. r2272@libaxis1 (orig r1781): jrutherford | 2007-04-10 12:31:50 -0400 Removed the following patches: ========= (Andrea Bollini) - SF Patch #1687815 Search function for select eperson JSPUI (Richard Jones) - SF Patch #1659868 Improved database level debugging - SF Patch #1659901 Import community and collection structure - SF Patch #1659837 ItemIterator now deals with item ids also - SF Patch #1659796 Create administrator wtih command line options - SF Patch #1659841 Add option to clear context object cache (Stuart Lewis) - SF Patch #1641678 [dspace]/bin scripts for import and export - SF Patch #1642336 Restrict domains of self-registered users - SF Patch #1587225 Google and html sitemap generator (Monika Mevenkamp) - SF Patch #1654466 dsprop convenience script (Dorothea Salo) - SF Patch #1557948 Link subjects and authors on item pages r2276@libaxis1 (orig r1785): cjuergen | 2007-04-11 08:09:26 -0400 (James Rutherford) - SF Patch #1695702 Update SubmitServlet to use default.language instead of "en" for SF bug 1636792 default.language not applied to new submissions r2277@libaxis1 (orig r1786): cjuergen | 2007-04-11 08:13:24 -0400 updated year in copyright statement r2280@libaxis1 (orig r1789): mdiggory | 2007-04-11 15:39:28 -0400 (Mark Diggory/Graham Triggs) - SF Patch 1655583 Fixes issues with FilterMedia, the UI and Index locking, includes a lucene upgrade to support better management of index locking. r2281@libaxis1 (orig r1790): jrutherford | 2007-04-12 04:40:31 -0400 Fixed a bug in DSIndexer where there was a Long/long mixup. r2284@libaxis1 (orig r1793): jrutherford | 2007-04-12 06:36:23 -0400 updated to reflect the removal of lucene-sandbox.jar and the update of lucene.jar r2285@libaxis1 (orig r1794): mdiggory | 2007-04-12 12:57:15 -0400 Missing file for [ 1655583 ] Avoid index lock with filter-media r2286@libaxis1 (orig r1795): mdiggory | 2007-04-12 16:44:29 -0400 rolling back DSpaceServletContextListener to previous revision. r2287@libaxis1 (orig r1796): jrutherford | 2007-04-14 08:02:09 -0400 (James Rutherford) - SF Patch #1699903 for SF Bug #1695692 make-release-package still uses CVS commands r2288@libaxis1 (orig r1797): mdiggory | 2007-04-14 23:04:59 -0400 [ 1655583 ] Avoid index lock with filter-media: More internal solution for orphaned file handles in Microsoft Windows. Close any open IndexSearcher on finalization, works in Servlet Engine or CLI. Removed IndexReader from DSIndexer, get it from DSQuery so it can be managed there likewise. r2289@libaxis1 (orig r1798): mdiggory | 2007-04-14 23:15:34 -0400 [ 1655583 ] Correct small logic error introduced in last commit. r2290@libaxis1 (orig r1799): jrutherford | 2007-04-17 08:15:58 -0400 (Flavio Botelho) - SF Patch #1601946 for SF Bug #1601875 - Makes javascript idependent to form position r2455@libaxis1 (orig r1856): jrutherford | 2007-04-20 06:40:41 -0400 (Claudia Juergen) - SF Patch #1702177 For SF bug #1638605 bin/cleanup fails on deleted primary bitstream r2456@libaxis1 (orig r1857): stuartlewis | 2007-04-20 08:33:26 -0400 SF Patch #1445573 Stats not working in Oracle r2457@libaxis1 (orig r1858): stuartlewis | 2007-04-20 08:36:01 -0400 SF Patch #1445573 Stats not working in Oracle r2458@libaxis1 (orig r1859): cjuergen | 2007-04-20 09:02:19 -0400 Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's r2459@libaxis1 (orig r1860): cjuergen | 2007-04-20 09:02:49 -0400 Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's r2460@libaxis1 (orig r1861): cjuergen | 2007-04-20 09:03:14 -0400 License for Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's r2461@libaxis1 (orig r1862): cjuergen | 2007-04-20 09:03:29 -0400 License for Bouncy Castle libs required by the current pdfbox.jar for text extraction of encrypted pdf's git-svn-id: http://scm.dspace.org/svn/repo/trunk@1866 9c30dcfa-912a-0410-8fc2-9e0234be79fd
70 lines
1.5 KiB
Bash
Executable File
70 lines
1.5 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
USAGE="Usage: $0 <path> <svn_revision> <version>
|
|
* <path> is relative to the SVN root (eg: branches/dspace-1_4_x/dspace)
|
|
* <svn_revision> is the revision you want to build the release from
|
|
* <version> is the version number to release as (eg: 1.4.2)
|
|
Example:
|
|
./make-release-package branches/dspace-1_4_x/dspace 1795 1.4.2"
|
|
|
|
SVN="svn"
|
|
SVN_BASE_URL="https://dspace.svn.sourceforge.net/svnroot/dspace"
|
|
|
|
# Check we have required command-line arguments
|
|
if [ "$#" != "3" ]; then
|
|
echo "${USAGE}"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir tmp
|
|
|
|
if [ $? -eq 1 ]; then
|
|
# If mkdir failed, then tmp/ already exists, and we don't want to overwrite
|
|
# anything in there.
|
|
exit 1
|
|
fi
|
|
|
|
cd tmp
|
|
FILENAME="dspace-$3-source"
|
|
|
|
echo "Checking out core code..."
|
|
$SVN export -r $2 "$SVN_BASE_URL/$1" dspace
|
|
|
|
if [ $? -eq 1 ] || [ ! -d "dspace" ]; then
|
|
# SVN export failed
|
|
echo "SVN export failed. Check your path & revision number and try again."
|
|
cd ..
|
|
rmdir tmp
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f "dspace/make-release-package" ]; then
|
|
cat <<-EOF
|
|
ERROR: The file dspace/make-release-package doesn't exist. There must have
|
|
been a problem with the export. Check the contents of tmp/ to find out what
|
|
the problem was.
|
|
EOF
|
|
exit 1
|
|
else
|
|
# Don't need to include this script!
|
|
rm -f dspace/make-release-package
|
|
fi
|
|
|
|
echo "Creating tarball..."
|
|
mv dspace $FILENAME
|
|
|
|
tar czf $FILENAME.tgz $FILENAME
|
|
tar cjf $FILENAME.tbz2 $FILENAME
|
|
zip -r $FILENAME.zip $FILENAME
|
|
|
|
echo "Cleaning up..."
|
|
|
|
cd ..
|
|
mv tmp/$FILENAME.* .
|
|
rm -r tmp
|
|
|
|
echo "Packages created:
|
|
* $FILENAME.tgz
|
|
* $FILENAME.tbz2
|
|
* $FILENAME.zip"
|