Commit Graph

94 Commits

Author SHA1 Message Date
David Anderson 95fdff2fd3 - server: add assimilator for Python Master/Worker system,
and change setup script to copy its files

svn path=/trunk/boinc/; revision=15702
2008-07-28 22:56:39 +00:00
Adam Kornafeld 1787e0eb14 Make project installs pymw specific parts
svn path=/workspaces/kadam/; revision=15660
2008-07-22 22:29:29 +00:00
David Anderson ba752a17e7 - make_project: allow account creation initially.
Otherwise it's another nit-picky little step
    in the project "quick start" process.

svn path=/trunk/boinc/; revision=15382
2008-06-10 21:19:09 +00:00
David Anderson 812d033008 svn path=/trunk/boinc/; revision=15229 2008-05-15 22:10:29 +00:00
David Anderson 05f703559f - scheduler: add preliminary support for "job size matching"
(attempt to send big jobs to fast hosts, small jobs to slow hosts).
    - have "census" compute mean/stdev of host speeds,
        write it to a file perf_info.txt
    - have feeder compute mean/stdev of sizes of jobs in shmem
    - have feeder read perf_info.txt into shmem
- scheduler: add some debugging messages for app version selection
- Add LGPL license to a few files
- upgrade/setup scripts: copy census to bin/


svn path=/trunk/boinc/; revision=15136
2008-05-06 19:53:49 +00:00
David Anderson 4e3764df34 - server: debugged single-job submission feature.
It works, at least in my test case.
- boinc_submit script:
    show status every 10 seconds until completed
    add --wait option to show status for previous submission
- Added get_logical_name() in validate_util.C
- create_work: change default target_nresults from 5 to 2,
    max_error_results from 10 to 3,
    max_total_results from 20 to 10,
    max_success_results from 10 to 6
- boinc_cmd: show full usage if no args
- project setup: copy single_job_assimilator

svn path=/trunk/boinc/; revision=14847
2008-03-05 20:16:10 +00:00
Rytis Slatkevičius 379bf5976d make_project: copy javascript files to html/user/
svn path=/trunk/boinc/; revision=14834
2008-03-02 09:14:48 +00:00
David Anderson 577e4ac47d - make_project: initialize send_result_abort=1 in config file
- web: "least recent" => "oldest", "most recent" => "newest"
- scheduler: change DELAY_NO_WORK_CACHE from 20 min to 0.
    Otherwise, a host that has max_wus_in_progress,
    completes one, and sends a work request before the upload is finished
    will delay (and maybe sit idle) for 20 min.
    Better to have a few extra scheduler requests
    and let the client's backoff take care of things.

svn path=/trunk/boinc/; revision=14822
2008-02-28 21:22:50 +00:00
David Anderson 69cfcebef4 - file upload handler: the FCGI version wasn't handling signatures,
because the code to read keys in FCGI was commented out
    (and was in fact wrong).
    I fixed it and uncommented it.
- make_project and upgrade: copy lib/crypt_prog to project/bin/

svn path=/trunk/boinc/; revision=14693
2008-02-06 19:32:51 +00:00
David Anderson ee293b1915 - upgrade script: rename cgi and file_upload_handler
before trying to copy new ones,
    in case there's an instance currently running

svn path=/trunk/boinc/; revision=14612
2008-01-23 19:37:40 +00:00
David Anderson bcf062975c - make_project: don't create symbolic link html/user_profiles/user_profiles.
If there was ever a need for this, it has disappeared.
    Fixes #524
- fix bug in BOINC-wide team export script

svn path=/trunk/boinc/; revision=14441
2007-12-24 17:32:54 +00:00
David Anderson 11dac5e80c - make_project: add --web_only option.
This lets you create a project for Bossa or Bolt
    without compiling the C++ stuff, which is not used by Bossa or Bolt.
- DB schema: change type= to engine= to avoid MySQL warning messages

svn path=/trunk/boinc/; revision=14437
2007-12-21 23:39:25 +00:00
David Anderson c0c6cf779d - file upload handler:
in get_file_size() RPC, check if volume has < 1MB available space
    and if so return transient error.
    This prevents client from trying upload,
    which apparently sends entire file even if
    handler fails at the beginning
- API, Win: remove use of GetTickCount(); use dtime() instead
- use new BOINC logo in sample project home page

svn path=/trunk/boinc/; revision=13574
2007-09-12 08:25:22 +00:00
David Anderson 3e340136da - feeder: simplified DB query
- make_project: remove space after URL in schedulers.txt

svn path=/trunk/boinc/; revision=13127
2007-07-09 20:09:49 +00:00
David Anderson dd6ec58155 - Project initialization: create project home page
and schedulers.txt file in a way that will work
    with UMTS ISPs (which strip out comments)

html/user/
    sample_index.php
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12896
2007-06-11 22:19:02 +00:00
David Anderson 601403d9aa - Client (Unix) show process exit codes as negative numbers also
(e.g., to show BOINC error codes correctly)
- get_project_config.php: add an element that lists the
    platforms supported by this project
    (i.e. for which there's a non-deprecated app version)
    Cache this info in a file (cache/platform_list.xml)
    so that it will be available even when the project's DB is down.
- Rename sample_get_project_config.php to get_project_config.php;
    a project should no longer need its own version of this file.
    Change setup_project accordingly.

client/
    app_control.C
html/user/
    get_project_config.php (new)
    sample_get_project_config.php (removed)
py/Boinc/
    setup_project.py

svn path=/trunk/boinc/; revision=12814
2007-06-04 20:32:47 +00:00
David Anderson 58b39390b1 - Python tools:
- removed "add" (long deprecated)
    - version.py is needed only in test/;
        remove references to it in boinc_path_config.py,
        and don't copy it to project/bin

py/Boinc/
    boinc_path_config.py.in
    setup_project.py
tools/
    add (removed)

svn path=/trunk/boinc/; revision=12658
2007-05-11 22:24:14 +00:00
David Anderson 7207c6ef39 - make_project: create <log_dir> element in config.xml
(so that show_logs.php will work).
        Fixes #170
        
    py/Boinc/
        setup_project.py

svn path=/trunk/boinc/; revision=12582
2007-05-07 02:10:31 +00:00
David Anderson fe32380dcf David 23 Apr 2007
- make_project: remove --no_test_app option, add --test_app option
    - make_project: initial config in all cases has
        one_result_per_user_per_wu = 0
    - sample_assimilator: make it able to handle > 1 output file
    - boinc_cmd: make --help output more readable
    - User web: fix some undefined vars in translation.inc
        Rytis: let's try to fix PHP runtime warnings
    - DB: add default values for app table (avoid MySQL warnings)

    db/
        schema.sql
    html/
        inc/
            translation.inc
            uotd.inc
        ops/
            update_forum_activities.php
    lib/
        str_util.C
        boinc_cmd.C
    py/Boinc/
        setup_project.py
    sched/
        sample_work_generator.C
        sample_assimilator.C
    tools/
        make_project
        uc_wu, uc_result (new)

svn path=/trunk/boinc/; revision=12450
2007-04-23 16:14:47 +00:00
David Anderson 1880a50cc5 David 19 Apr 2007
- Change things so that make_project installs a test application
        (uppercase) and the daemons to go along with it
        (sample_work_generator, sample_bitwise_validator, sample_assimilator).
        This is mostly working, not completely.

    apps
        upper_case.C
    html/ops/
        mass_email_script.php
    py/Boinc/
        setup_project.py
    sched/
        sched_config.C,h
        sample_work_generator.C
    tools/
        make_project
        project.xml
        Makefile.am

svn path=/trunk/boinc/; revision=12422
2007-04-19 22:11:25 +00:00
David Anderson a26b6a2215 *** empty log message ***
svn path=/trunk/boinc/; revision=11972
2007-01-25 23:39:06 +00:00
David Anderson 2b3045ac49 *** empty log message ***
svn path=/trunk/boinc/; revision=11951
2007-01-24 19:31:49 +00:00
David Anderson 083000ad62 *** empty log message ***
svn path=/trunk/boinc/; revision=11315
2006-10-19 18:42:31 +00:00
David Anderson aef50da4f1 *** empty log message ***
svn path=/trunk/boinc/; revision=11154
2006-09-14 00:18:13 +00:00
David Anderson cb583ae458 *** empty log message ***
svn path=/trunk/boinc/; revision=11116
2006-09-06 17:18:51 +00:00
David Anderson ba63f6c949 *** empty log message ***
svn path=/trunk/boinc/; revision=10955
2006-08-21 19:41:25 +00:00
David Anderson 3d5992b874 *** empty log message ***
svn path=/trunk/boinc/; revision=10792
2006-07-28 21:49:35 +00:00
David Anderson 9d71fb8e78 *** empty log message ***
svn path=/trunk/boinc/; revision=10684
2006-07-19 20:19:18 +00:00
David Anderson a2bf431a6e *** empty log message ***
svn path=/trunk/boinc/; revision=10607
2006-07-09 20:59:41 +00:00
David Anderson 923075d005 *** empty log message ***
svn path=/trunk/boinc/; revision=10258
2006-06-06 18:45:40 +00:00
David Anderson a822d8312b server permissions
svn path=/trunk/boinc/; revision=10228
2006-05-31 21:25:39 +00:00
David Anderson 805c004eb2 *** empty log message ***
svn path=/trunk/boinc/; revision=10129
2006-05-15 00:27:15 +00:00
David Anderson 5617df5f47 *** empty log message ***
svn path=/trunk/boinc/; revision=10118
2006-05-09 18:25:15 +00:00
Rom Walton b3db56c4c7 *** empty log message ***
svn path=/trunk/boinc/; revision=9723
2006-03-24 18:48:48 +00:00
David Anderson ad996eae4a *** empty log message ***
svn path=/trunk/boinc/; revision=9608
2006-03-06 21:40:07 +00:00
David Anderson 197ea8e6aa compile warnings
svn path=/trunk/boinc/; revision=9410
2006-02-07 04:18:47 +00:00
David Anderson 1959fbe160 don't leak fds to apps
svn path=/trunk/boinc/; revision=9084
2005-12-18 02:00:15 +00:00
Rom Walton 0c303705dd *** empty log message ***
svn path=/trunk/boinc/; revision=7545
2005-08-29 19:04:54 +00:00
David Anderson 8352bb38ae *** empty log message ***
svn path=/trunk/boinc/; revision=5838
2005-04-12 18:08:51 +00:00
David Anderson a6bbb1482c *** empty log message ***
svn path=/trunk/boinc/; revision=5797
2005-04-07 23:35:15 +00:00
David Anderson 49dac384cc *** empty log message ***
svn path=/trunk/boinc/; revision=5681
2005-03-18 21:01:44 +00:00
David Anderson 29e77cf1f0 *** empty log message ***
svn path=/trunk/boinc/; revision=5506
2005-02-23 19:44:59 +00:00
David Anderson 308a6abe8d *** empty log message ***
svn path=/trunk/boinc/; revision=5460
2005-02-17 20:35:41 +00:00
David Anderson aa38e8837c *** empty log message ***
svn path=/trunk/boinc/; revision=5433
2005-02-15 20:50:28 +00:00
David Anderson 5a2a60ad91 *** empty log message ***
svn path=/trunk/boinc/; revision=5367
2005-02-08 22:07:40 +00:00
Karl Chen 8d3e716729 added support for make_project --db_user --db_passwd
svn path=/trunk/boinc/; revision=5127
2005-01-17 00:21:19 +00:00
David Anderson c417859785 *** empty log message ***
svn path=/trunk/boinc/; revision=4944
2004-12-27 21:14:18 +00:00
David Anderson 20eb2f30b2 *** empty log message ***
svn path=/trunk/boinc/; revision=4785
2004-12-08 00:14:52 +00:00
David Anderson 2c5f1d1a5b *** empty log message ***
svn path=/trunk/boinc/; revision=4772
2004-12-06 22:41:19 +00:00
David Anderson d3ea793175 *** empty log message ***
svn path=/trunk/boinc/; revision=4648
2004-11-24 19:17:50 +00:00