https://svn.lrde.epita.fr/svn/lrde-tools/trunk/build-farm
This is to avoid relying on Subversion's .svn/entries files (to get
this revision number), whose format in not fixed, according to the
project team.
Index: ChangeLog
from Roland Levillain <roland(a)lrde.epita.fr>
* maintainer/update_unpacked (SVN_LATEST_REV): New variable.
For each package, store the latest revision number in the
working copy.
update_unpacked | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Index: maintainer/update_unpacked
--- maintainer/update_unpacked (revision 434)
+++ maintainer/update_unpacked (working copy)
@@ -2,10 +2,12 @@
# Update svn working copies of rsync's unpacked directory.
-
+# The central pool of working copies, rsync'd by the build farm hosts.
SVN_PATH="/work/master/unpacked"
# List of packages with the corresponding URL.
SVN_PACKAGES="/work/master/maintainer/packages"
+# The name of the file holding the the latest revision
+SVN_LATEST_REV=",latest-svn-revision"
(
cd "$SVN_PATH"
@@ -24,5 +26,13 @@
rm -rf "$package.old"
fi
+ # Store the latest revision number in the working copy.
+ rm -f "$SVN_LATEST_REV"
+ env LANG=C svn status -Nv $package \
+ | perl -n \
+ -e "print \"\$1\n\"" \
+ -e " if (s/\\s*(\\d+)\\s+\\d+\\s+\\S+\\s+$package\$/\\1/)" \
+ >"$package/$SVN_LATEST_REV"
+
done < $SVN_PACKAGES
)
This boat is heading for open sea as trading frenzy takes off.
FEARLESS INTL INC (F R l e)
$0.21
Volume up over 250% following huge rise in share prices on Thursday.
This much movement will continue to drive prices upward. Join the
frenzy, FRLE is moving Monday.
Production Facility Nearly Maxed As New Porsche Designed Yacht Hits
Market
Fearless International Inc.
F R L E . O B
Current: $0.32
The Luxury market is all a buzz with the "Fearless 28", a captain's
dream yacht from Porsche Design Studios. Orders are already pouring in
and have nearly maxed there production line. Media from television,
magazine, and websites, have been raving about the new Yachts and the
investment potential. Go to their dot com website at fearlessyachts,
read all the articles, and don't forget to watch the video. After you
have seen it all, get ready to grab FRLE Monday morning.
Roland Levillain <roland(a)lrde.epita.fr> writes:
> https://svn.lrde.epita.fr/svn/oln/trunk
>
>
> Index: ChangeLog
> from Roland Levillain <roland(a)lrde.epita.fr>
>
> Clean up stc/scoop.hxx a bit.
Sorry for the spurious revision number. It seems that it is a bug
from Vcs.
When I ran `svn commit', I was at revision 1026 (or lower, I don't
remember exactly). Vcs pulled version 1027 (automatic behavior) then
the commit proceeded as usual. However, it seems Vcs just incremented
the revision number of my old working copy (1026 + 1), instead of
querying the repository for the next revision number after the commit
(1028), so as to avoid a race condition.