r597 - in /branches/experimental/boinc: client/client_state.h debian/changelog lib/boinc_cmd.C

fst-guest at users.alioth.debian.org fst-guest at users.alioth.debian.org
Wed Mar 14 12:40:14 CET 2007


Author: fst-guest
Date: Wed Mar 14 11:40:14 2007
New Revision: 597

URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=597
Log:
* Reverted to 5.8.15 since this is the currently recommended version for Linux
  and I want this to be uploaded to experimental.
* Added changelog entry for 5.4.11-5.

Modified:
    branches/experimental/boinc/client/client_state.h
    branches/experimental/boinc/debian/changelog
    branches/experimental/boinc/lib/boinc_cmd.C

Modified: branches/experimental/boinc/client/client_state.h
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/experimental/boinc/client/client_state.h?rev=597&op=diff
==============================================================================
--- branches/experimental/boinc/client/client_state.h (original)
+++ branches/experimental/boinc/client/client_state.h Wed Mar 14 11:40:14 2007
@@ -194,10 +194,6 @@
     double new_version_check_time;
     string newer_version;
 
-// --------------- app_graphics.C:
-public:
-    ACTIVE_TASK* get_next_graphics_capable_app();
-
 // --------------- auto_update.C:
 public:
     AUTO_UPDATE auto_update;
@@ -219,6 +215,7 @@
     RESULT* lookup_result(PROJECT*, const char*);
     WORKUNIT* lookup_workunit(PROJECT*, const char*);
     APP_VERSION* lookup_app_version(APP*, int);
+    ACTIVE_TASK* lookup_active_task_by_result(RESULT*);
     int detach_project(PROJECT*);
     int report_result_error(RESULT&, const char *format, ...);
     int reset_project(PROJECT*);
@@ -236,7 +233,6 @@
     bool garbage_collect();
     bool garbage_collect_always();
     bool update_results();
-    int nresults_for_project(PROJECT*);
 
 // --------------- cpu_sched.C:
 private:
@@ -265,6 +261,7 @@
 		return global_prefs.work_buf_min_days * 86400;
 	}
 public:
+	double overall_cpu_frac();
     void request_enforce_schedule(const char*);
     void request_schedule_cpus(const char*);
         // Check for reschedule CPUs ASAP.  Called when:
@@ -309,7 +306,7 @@
     double estimate_cpu_time(WORKUNIT&);
     double get_fraction_done(RESULT* result);
     int input_files_available(RESULT*, bool);
-    ACTIVE_TASK* lookup_active_task_by_result(RESULT*);
+    ACTIVE_TASK* get_next_graphics_capable_app();
     int ncpus;
         // number of usable cpus
 private:
@@ -371,16 +368,29 @@
 
 // --------------- cs_scheduler.C:
 public:
+    double work_needed_secs();
+    PROJECT* next_project_master_pending();
+    PROJECT* next_project_need_work();
     int make_scheduler_request(PROJECT*);
     int handle_scheduler_reply(PROJECT*, char* scheduler_url, int& nresults);
+    bool compute_work_requests();
     SCHEDULER_OP* scheduler_op;
+    void scale_duration_correction_factors(double);
 private:
     bool contacted_sched_server;
     int overall_work_fetch_urgency;
 
+    PROJECT* find_project_with_overdue_results();
+    PROJECT* next_project_sched_rpc_pending();
+    PROJECT* next_project_trickle_up_pending();
     bool scheduler_rpc_poll();
+    double time_until_work_done(PROJECT*, int, double);
     double avg_proc_rate();
     bool should_get_work();
+    int proj_min_results(PROJECT*, double);
+    void generate_new_host_cpid();
+	void check_project_timeout();
+    void compute_nuploading_results();
 
 // --------------- cs_statefile.C:
 public:
@@ -427,24 +437,6 @@
 
     void check_all();
     void free_mem();
-
-// --------------- work_fetch.C:
-public:
-    int proj_min_results(PROJECT*, double);
-	void check_project_timeout();
-    PROJECT* next_project_master_pending();
-    PROJECT* next_project_sched_rpc_pending();
-    PROJECT* next_project_trickle_up_pending();
-    PROJECT* next_project_need_work();
-    PROJECT* find_project_with_overdue_results();
-	double overall_cpu_frac();
-    double time_until_work_done(PROJECT*, int, double);
-    bool compute_work_requests();
-    double work_needed_secs();
-    void scale_duration_correction_factors(double);
-    void generate_new_host_cpid();
-    void compute_nuploading_results();
-
 };
 
 extern CLIENT_STATE gstate;

Modified: branches/experimental/boinc/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/experimental/boinc/debian/changelog?rev=597&op=diff
==============================================================================
--- branches/experimental/boinc/debian/changelog (original)
+++ branches/experimental/boinc/debian/changelog Wed Mar 14 11:40:14 2007
@@ -1,4 +1,4 @@
-boinc (5.8.17-1) experimental; urgency=low
+boinc (5.8.15-1) experimental; urgency=low
 
   [ Frank S. Thomas ]
   * New upstream release.
@@ -56,7 +56,23 @@
   * debian/boinc-server.README.Debian: Added README.Debian which is at the
     moment only a pointer to http://wiki.debian.org/BOINC/Server.
 
- -- Frank S. Thomas <frank at thomas-alfeld.de>  Tue, 13 Mar 2007 16:03:19 +0100
+ -- Frank S. Thomas <frank at thomas-alfeld.de>  Wed, 14 Mar 2007 12:33:21 +0100
+
+boinc (5.4.11-5) unstable; urgency=low
+
+  [ Frank S. Thomas ]
+  * debian/patches/:
+    - 01_amd64-disable-platform-reset.dpatch: Only reset projects if the
+      platform name in the statefile is not empty. This bugfix has been
+      backported from BOINC 5.8. (closes: #407461)
+
+  [ Debconf translations ]
+  * Added Galician (gl.po) by Jacobo Tarrio <jtarrio at trasno.net>.
+    (closes: #413461)
+  * Added Dutch (nl.po) by cobaco (aka Bart Cornelis) <cobaco at skolelinux.no>.
+    (closes: #413887)
+
+ -- Frank S. Thomas <frank at thomas-alfeld.de>  Mon, 12 Mar 2007 15:38:54 +0100
 
 boinc (5.4.11-4) unstable; urgency=low
 

Modified: branches/experimental/boinc/lib/boinc_cmd.C
URL: http://svn.debian.org/wsvn/pkg-boinc/branches/experimental/boinc/lib/boinc_cmd.C?rev=597&op=diff
==============================================================================
--- branches/experimental/boinc/lib/boinc_cmd.C (original)
+++ branches/experimental/boinc/lib/boinc_cmd.C Wed Mar 14 11:40:14 2007
@@ -86,7 +86,9 @@
  --get_project_config url\n\
  --get_project_config_poll\n\
  --lookup_account url email passwd\n\
+ --lookup_account_poll\n\
  --create_account url email passwd name\n\
+ --create_account_poll\n\
  --quit\n\
    ");
     exit(1);
@@ -410,24 +412,14 @@
         lai.email_addr = next_arg(argc, argv, i);
         lai.passwd = next_arg(argc, argv, i);
         retval = rpc.lookup_account(lai);
-        printf("status: %s\n", boincerror(retval));
-        if (!retval) {
-            ACCOUNT_OUT lao;
-            while (1) {
-                retval = rpc.lookup_account_poll(lao);
-                if (retval) {
-                    printf("poll status: %s\n", boincerror(retval));
-                } else {
-                    if (lao.error_num) {
-                        printf("poll status: %s\n", boincerror(lao.error_num));
-                        if (lao.error_num != ERR_IN_PROGRESS) break;
-                        boinc_sleep(1);
-                    } else {
-                        lao.print();
-                        break;
-                    }
-                }
-            }
+        printf("retval: %d\n", retval);
+    } else if (!strcmp(cmd, "--lookup_account_poll")) {
+        ACCOUNT_OUT lao;
+        retval = rpc.lookup_account_poll(lao);
+        if (retval) {
+            printf("retval: %d\n", retval);
+        } else {
+            lao.print();
         }
     } else if (!strcmp(cmd, "--create_account")) {
         ACCOUNT_IN cai;
@@ -436,24 +428,14 @@
         cai.passwd = next_arg(argc, argv, i);
         cai.user_name = next_arg(argc, argv, i);
         retval = rpc.create_account(cai);
-        printf("status: %s\n", boincerror(retval));
-        if (!retval) {
-            ACCOUNT_OUT lao;
-            while (1) {
-                retval = rpc.create_account_poll(lao);
-                if (retval) {
-                    printf("poll status: %s\n", boincerror(retval));
-                } else {
-                    if (lao.error_num) {
-                        printf("poll status: %s\n", boincerror(lao.error_num));
-                        if (lao.error_num != ERR_IN_PROGRESS) break;
-                        boinc_sleep(1);
-                    } else {
-                        lao.print();
-                        break;
-                    }
-                }
-            }
+        printf("retval: %d\n", retval);
+    } else if (!strcmp(cmd, "--create_account_poll")) {
+        ACCOUNT_OUT cao;
+        retval = rpc.create_account_poll(cao);
+        if (retval) {
+            printf("retval: %d\n", retval);
+        } else {
+            cao.print();
         }
     } else if (!strcmp(cmd, "--read_global_prefs_override")) {
         retval = rpc.read_global_prefs_override();
@@ -496,4 +478,4 @@
     return 0;
 }
 
-const char *BOINC_RCSID_77f00010ab = "$Id: boinc_cmd.C,v 1.46.2.1 2007/03/01 16:10:11 rwalton Exp $";
+const char *BOINC_RCSID_77f00010ab = "$Id: boinc_cmd.C,v 1.46 2006/12/26 00:37:25 boincadm Exp $";




More information about the pkg-boinc-commits mailing list