Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crp_strconversion1 - modified conference and papers to program and application, respectively. #1

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions batch/autoassign.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function run() {
}
$pids = $srch->paper_ids();
if (empty($pids)) {
throw new CommandLineException("No papers match that search");
throw new CommandLineException("No applications match that search");
}

if (empty($this->pcc)) {
Expand Down Expand Up @@ -159,8 +159,8 @@ static function make_args($argv) {
"config: !",
"dry-run,d Do not perform assignment; output CSV instead.",
"a:,autoassigner: =AA Use autoassigner AA.",
"q:,search: =QUERY Use papers matching QUERY.",
"all Search all papers (default is to search submitted papers).",
"q:,search: =QUERY Use applications matching QUERY.",
"all Search all applications (default is to search submitted applications).",
"u[],user[] =USER Include users matching USER (`-USER` excludes).",
"c:,count: {n} =N Set `count` parameter to N.",
"t:,type: =TYPE Set `type`/`rtype` parameter to TYPE.",
Expand Down
2 changes: 1 addition & 1 deletion batch/banaldocstore.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function __construct(Conf $conf, $arg) {
$this->count = $arg["count"] ?? 10;

if (!($dp = $this->conf->docstore())) {
throw new ErrorException("Conference has no document store");
throw new ErrorException("Program has no document store");
}
$matcher = new DocumentHashMatcher($arg["match"] ?? null);
$matcher->set_extension(".pdf");
Expand Down
2 changes: 1 addition & 1 deletion batch/paperjson.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static function make_args($argv) {
"t:,type: =COLLECTION Search COLLECTION ‘s’ or ‘all’ [submitted]",
"1,single Output first matching paper rather than an array",
"help,h"
)->description("Output a JSON file with papers matching SEARCH.
)->description("Output a JSON file with applications matching SEARCH.
Usage: php batch/paperjson.php [-t all] [-1] [SEARCH...]")
->helpopt("help")
->parse($argv);
Expand Down
2 changes: 1 addition & 1 deletion batch/reviewcsv.php
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ static function run_args($argv) {
"no-score Omit score fields",
"no-header Omit CSV header",
"format: =FMT Only output text fields with format FMT"
)->description("Output CSV containing all reviews for papers matching QUERY.
)->description("Output CSV containing all reviews for applications matching QUERY.
Usage: php batch/reviewcsv.php [-acx] [QUERY...]")
->helpopt("help")
->parse($argv);
Expand Down
2 changes: 1 addition & 1 deletion batch/s3test.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static function make_args($argv) {

$conf = initialize_conf($arg["config"] ?? null, $arg["name"] ?? null);
if (!$conf->setting_data("s3_bucket")) {
throw new ErrorException("S3 is not configured for this conference");
throw new ErrorException("S3 is not configured for this program");
}
return new S3Test_Batch($conf, $arg);
}
Expand Down
2 changes: 1 addition & 1 deletion batch/s3transfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ static function make_args($argv) {

$conf = initialize_conf($arg["config"] ?? null, $arg["name"] ?? null);
if (!$conf->setting_data("s3_bucket")) {
throw new ErrorException("S3 is not configured for this conference");
throw new ErrorException("S3 is not configured for this program");
}
return new S3Transfer_Batch($conf, $arg);
}
Expand Down
2 changes: 1 addition & 1 deletion batch/s3verifyall.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static function make_args($argv) {

$conf = initialize_conf($arg["config"] ?? null, $arg["name"] ?? null);
if (!$conf->setting_data("s3_bucket")) {
throw new ErrorException("S3 is not configured for this conference");
throw new ErrorException("S3 is not configured for this program");
}
return new S3VerifyAll_Batch($conf, $arg);
}
Expand Down
6 changes: 3 additions & 3 deletions batch/savepapers.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,11 +293,11 @@ static function run_args($argv) {
"ignore-errors Don’t exit after first error",
"disable-users,disable Disable all newly created users",
"ignore-pid Ignore `pid` JSON elements",
"match-title Match papers by title if no `pid`",
"add-topics Add all referenced topics to conference",
"match-title Match applications by title if no `pid`",
"add-topics Add all referenced topics to program",
"no-log Don’t modify the action log"
)->helpopt("help")
->description("Change papers as specified by FILE, a JSON object or array of objects.
->description("Change applications as specified by FILE, a JSON object or array of objects.
Usage: php batch/savepapers.php [OPTIONS] [FILE]")
->maxarg(1)
->parse($argv);
Expand Down
2 changes: 1 addition & 1 deletion batch/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function run() {

static function help() {
fwrite(STDOUT, "Usage: php batch/search.php [-n CONFID] [-t COLLECTION] [-f FIELD]+ [QUERY...]
Output a CSV file containing the FIELDs for the papers matching QUERY.
Output a CSV file containing the FIELDs for the applications matching QUERY.

Options include:
-t, --type COLLECTION Search COLLECTION “s” (submitted) or “all” [s].
Expand Down
6 changes: 3 additions & 3 deletions batch/updatecontactdb.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ private function try_cdb() {
$result = Dbl::ql($cdb, "select * from Conferences where `dbname`=?", $this->conf->dbname);
$this->confrow = Dbl::fetch_first_object($result);
if (!$this->confrow) {
throw new ErrorException("Conference is not recorded in contactdb");
throw new ErrorException("Program is not recorded in contactdb");
}
$this->cdb_confid = $this->confrow->confid = (int) $this->confrow->confid;
$qf = $qv = [];
Expand Down Expand Up @@ -86,7 +86,7 @@ private function try_cdb() {
private function cdb() {
$cdb = $this->try_cdb();
if (!$cdb) {
throw new ErrorException("Conference has no contactdb");
throw new ErrorException("Program has no contactdb");
}
return $cdb;
}
Expand Down Expand Up @@ -267,7 +267,7 @@ static function make_args($argv) {
"collaborators",
"authors",
"V,verbose"
)->description("Update HotCRP contactdb for a conference.
)->description("Update HotCRP contactdb for a Program.
Usage: php batch/updatecontactdb.php [-n CONFID | --config CONFIG] [--papers] [--users] [--collaborators] [--authors]")
->helpopt("help")
->maxarg(0)
Expand Down
8 changes: 4 additions & 4 deletions docker/hotcrp-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
// number. Examples: "SIGCOMM 2007", "HotNets V".
// longName Longer name of the conference. Example: "ACM SIGCOMM
// 2007 Conference".
// downloadPrefix Prefix for downloaded files, such as papers; should
// downloadPrefix Prefix for downloaded files, such as applications; should
// end in a dash. Example: "hotnets5-". Defaults to
// $Opt["dbName"] plus a dash.
// paperSite [OPTIONAL] URL for this HotCRP installation. Used in
Expand Down Expand Up @@ -121,7 +121,7 @@

// PAPER STORAGE
//
// docstore Set to true to serve papers and other downloads from a
// docstore Set to true to serve applications and other downloads from a
// cache on the local filesystem. By default this cache is
// created in the "docs" directory. You can also set
// $Opt["docstore"] to a directory name.
Expand All @@ -131,7 +131,7 @@
// s3_bucket Amazon S3 bucket name to store paper submissions.
// s3_key Amazon AWS access key ID (used for S3).
// s3_secret Amazon AWS secret access key (used for S3).
// dbNoPapers Set to true to not store papers in the database.
// dbNoPapers Set to true to not store applications in the database.
// Requires filestore, S3 storage, or both.


Expand Down Expand Up @@ -186,7 +186,7 @@
// strictJavascript If true, send Javascript with "use strict".
// hideManager If set, PC members are not shown paper managers.
// disableCapabilities If set, emails to authors will not have a
// token enabling them to view their papers without logging in.
// token enabling them to view their applications without logging in.

$Opt["smartScoreCompare"] = true;

Expand Down
8 changes: 4 additions & 4 deletions etc/distoptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
// number. Examples: "SIGCOMM 2007", "HotNets V".
// longName Longer name of the conference. Example: "ACM SIGCOMM
// 2007 Conference".
// downloadPrefix Prefix for downloaded files, such as papers; should
// downloadPrefix Prefix for downloaded files, such as applications; should
// end in a dash. Example: "hotnets5-". Defaults to
// $Opt["dbName"] plus a dash.
// paperSite [OPTIONAL] URL for this HotCRP installation. Used in
Expand Down Expand Up @@ -111,7 +111,7 @@

// PAPER STORAGE
//
// docstore Set to true to serve papers and other downloads from a
// docstore Set to true to serve applications and other downloads from a
// cache on the local filesystem. By default this cache is
// created in the "docs" directory. You can also set
// $Opt["docstore"] to a directory name.
Expand All @@ -121,7 +121,7 @@
// s3_bucket Amazon S3 bucket name to store paper submissions.
// s3_key Amazon AWS access key ID (used for S3).
// s3_secret Amazon AWS secret access key (used for S3).
// dbNoPapers Set to true to not store papers in the database.
// dbNoPapers Set to true to not store applications in the database.
// Requires filestore, S3 storage, or both.


Expand Down Expand Up @@ -176,7 +176,7 @@
// strictJavascript If true, send Javascript with "use strict".
// hideManager If set, PC members are not shown paper managers.
// disableCapabilities If set, emails to authors will not have a
// token enabling them to view their papers without logging in.
// token enabling them to view their applications without logging in.

$Opt["smartScoreCompare"] = true;

Expand Down
6 changes: 3 additions & 3 deletions etc/helptopics.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"name": "chair", "title": "Chair’s guide", "order": 0,
"description": "<0>How to run a conference using HotCRP."
"description": "<0>How to run a program using HotCRP."
},
{
"name": "chair/presubmission", "order": 0,
Expand Down Expand Up @@ -280,13 +280,13 @@
{ "name": "revrate", "alias": "reviewratings" },
{
"name": "votetags", "title": "Voting",
"description": "<0>PC members can vote for papers using tags.",
"description": "<0>PC members can vote for applications using tags.",
"print_function": "VoteTags_HelpTopic::print",
"order": 8000
},
{
"name": "ranking", "title": "Ranking",
"description": "<0>PC members can rank papers using tags.",
"description": "<0>PC members can rank applications using tags.",
"print_function": "Ranking_HelpTopic::print",
"order": 9000
},
Expand Down
8 changes: 4 additions & 4 deletions etc/mailtemplates.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
"subject": "[%CONFSHORTNAME%] Withdrawn submission #%NUMBER% %TITLEHINT%",
"body": [
"Greetings,\n\n",
"%CONFSHORTNAME% submission #%NUMBER%, which you reviewed or were assigned to review, has been withdrawn from consideration for the conference.\n\n",
"%CONFSHORTNAME% submission #%NUMBER%, which you reviewed or were assigned to review, has been withdrawn from consideration for the program.\n\n",
"%IF(ADMINUPDATE)%An administrator withdrew the submission.%ELSE%Authors can withdraw submissions during the review process.%ENDIF%%IF(REASON)% They provided this reason: %REASON%%ENDIF%\n\n",
"* Title: %TITLE%\n",
"* Author(s): %OPT(AUTHORS)%\n",
Expand Down Expand Up @@ -700,7 +700,7 @@
"subject": "[%CONFSHORTNAME%] Accepted submission #%NUMBER% %TITLEHINT%",
"body": [
"Dear author(s),\n\n",
"The %CONFNAME% program committee is delighted to inform you that your submission #%NUMBER% has been accepted to appear in the conference.\n\n",
"The %CONFNAME% program committee is delighted to inform you that your submission #%NUMBER% has been accepted to appear in the program.\n\n",
"* Title: %TITLE%\n",
"* Author(s): %OPT(AUTHORS)%\n",
"* Site: %URL(paper, p=%NUMBER%, %AUTHORVIEWCAPABILITY%)%\n\n",
Expand All @@ -721,11 +721,11 @@
"subject": "[%CONFSHORTNAME%] Rejected submission #%NUMBER% %TITLEHINT%",
"body": [
"Dear author(s),\n\n",
"The %CONFNAME% program committee is sorry to inform you that your submission #%NUMBER% was rejected, and will not appear in the conference.\n\n",
"The %CONFNAME% program committee is sorry to inform you that your submission #%NUMBER% was rejected, and will not appear in the program.\n\n",
"* Title: %TITLE%\n",
"* Author(s): %OPT(AUTHORS)%\n",
"* Site: %URL(paper, p=%NUMBER%, %AUTHORVIEWCAPABILITY%)%\n\n",
"%NUMACCEPTED% papers were accepted out of %NUMSUBMITTED% submissions.\n\n",
"%NUMACCEPTED% applications were accepted out of %NUMSUBMITTED% submissions.\n\n",
"Visit the submission site for reviews, comments, and related information. Reviews and comments are also included below.\n\n",
"Contact %ADMIN% with any questions or concerns.\n\n",
"%SIGNATURE%\n\n",
Expand Down
Loading
Loading