Enable uploading.
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Sep 2013 11:22:40 +0000 (12:22 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 28 Sep 2013 11:22:40 +0000 (12:22 +0100)
libguestfs_upstream.ml

index eb6806e..4c32dfd 100644 (file)
@@ -67,13 +67,12 @@ let rec goal website_updated version =
 
 (* Goal: website has been rsync'd. *)
 and website_rsync_done version =
-  let key = sprintf "libguestfs_website_rsync_done_%s" version.version in
-  target (memory_exists key);
-  onrun (fun () -> memory_set key "1");
+  target (url_contains_string "http://libguestfs.org" version.version &&
+          url_exists version.url);
 
   sh "
     cd %s
-    echo NOT RUNNING: . .rsync
+    ./.rsync
   " libguestfs_website_cvs
 
 (* Goal: Tarball added to CVS and CVS checked in. *)
@@ -88,8 +87,8 @@ and website_cvs_checked_in version =
   sh "
     cd %s
     cp %s/tarballs/%s %s
-    echo NOT RUNNING: cvs add -kb %s
-    echo NOT RUNNING: cvs ci -m \"Version %s\"
+    cvs add -kb %s
+    cvs ci -m \"Version %s\"
   " libguestfs_website_cvs
     buildtmp version.tarball version.urlpath
     version.urlpath