From 6d7b5348b69b49fdeb5197d30dbc799126920df1 Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Wed, 17 Jul 2024 12:38:14 -0700 Subject: [PATCH] improve FAQ 5.5 and FAQ 6.16 We improve FAQ 5.5 (correcting or updating IOCCC author information) by adding a generic example on changing author's URL. Now the "PLEASE HELP us identify proper locations for IOCCC authors" (that now follows the change of URL example) contains only generic information about changing the location_code from ZZ to AU. We remove the indirect reference to author email in FAQ 6.16 as we do not wish to call out what we previously included in the `authors.html` page. This commit modifies that otherwise perfect fine PR #2578. Performed `make www` to accomplish the above and to test under macOS. --- faq.html | 69 ++++++++++++++++++++++++++++--------------- faq.md | 89 ++++++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 109 insertions(+), 49 deletions(-) diff --git a/faq.html b/faq.html index 7b5b1f79e..e375d0b5a 100644 --- a/faq.html +++ b/faq.html @@ -3189,15 +3189,14 @@ for information on opening up an IOCCC issue.

FAQ 5.5: How may I correct or update IOCCC author information?

-

PLEASE HELP us identify proper locations for IOCCC authors

-

If you know the location of an author listed under:

-

      ZZ - Unknown location

-

or if you find IOCCC author location that is incorrect, -then please submit a pull request, -or at least inform the IOCCC judges.

-

See the -FAQ on “GitHub pull request” -for more information.

+

You may correct or update IOCCC author information by submitting a +GitHub pull request that modifies an author’s author_handle.json file.

+

For example, if a given author_handle.json file contained:

+
    "url" : "https://www.example.com/employee/username",
+

and you knew that the author has long ago left the www.example.com company, +and that they have a new faculty web page at www.example.edu, then you should +submit a GitHub pull request to change the above line to:

+
    "url" : "https://www.example.edu/faculty/department/user.name",

Authors of IOCCC winning entries are kept in JSON files of the form:

    author/author_handle.json

where author_handle is an author handle.

@@ -3206,35 +3205,57 @@ FAQ on “author handle” for more information about author handles.

See the FAQ on “author_handle.json” -for information about the contents of these JSON file and how they are used.

+for information about the contents of these JSON files and how they are used.

See the FAQ on “finding author handles” -for how to find your own author_handle.

-

The contents of these JSON files contain the best known information -about authors of IOCCC entries. See -FAQ on “author_handle.json” -for information about the contents of these JSON file and how they are used.

+for how to find an author_handle.

You may update IOCCC author information in a author_handle.json file by submitting a pull request against the master branch of the ioccc-src/winner repo.

-

As these files are JSON you should verify that they are validly formed (e.g. you -didn’t make a typo).

-

Please make sure that you run make www after updating the file or files. This unfortunately -takes quite a while but it is the safest way to do it. And while make quick_www -can greatly speed up your testing, we still recommend running a final make www just before -you form your pull request.

-

Once that command finishes a proper git status and git diff shows that -everything is in order. In the end the safest way is to run make www, however.

+

See the +FAQ on “GitHub pull request” +for more information.

+

IMPORTANT NOTE: As these files are JSON you should verify that +they are validly formed (e.g., you didn’t make a typo).

+

Before you form your GitHub pull request that modifies a +author_handle.json file, please run the make www command. This +unfortunately takes quite a while but it is the safest way to do +it. So you may wish to test your edits by running the somewhat +quicker make quick_www as this can speed up your testing.

+

The make quick_www rule will update the authors.html and +location.html pages and it will also check the timestamps of the index.html +files versus the README.md files. Since they were touched and thus the +timestamp was updated, the +bin/quick-readme2index.sh tool would +only worry about those two files. This greatly speeds things along while testing. +Nevertheless, doing a final make www is still recommended best practice +before you form your pull request.

Please see FAQ on “fixing an entry”.

See also the FAQ on “GitHub pull request” for more information about pull requests.

+

PLEASE HELP us identify proper locations for IOCCC authors

+

If you know the location of an author listed under:

+

      ZZ - Unknown location

+

or if you find IOCCC author location that is incorrect, +then please submit a pull request, +or at least inform the IOCCC judges.

FYI: The ZZ - Unknown location is used for historic winning authors whose location or country is not known, whereas the XX - Anonymous location is used when the winning author does not wish to disclose their location.

+

The contents of these JSON files contain the best known information +about authors of IOCCC entries. See +FAQ on “author_handle.json” +for information about the contents of these JSON files and how they are used.

+

For example, if a given author_handle.json file contained:

+
    "location_code" : "ZZ",
+

and you knew that the author was located in Australia +(location code AU), we encourage you to submit a GitHub pull +request to change that line to:

+
    "location_code" : "AU",

Important note about XX - Anonymous location:

Unless you are the author who originally selected the XX - Anonymous location, please do not attempt to change an XX - Anonymous @@ -3460,7 +3481,7 @@ for information about how to update and/or correct IOCCC author information.

See the FAQ on “.auth.json” -for information about the contents of these JSON file and +for information about the contents of these JSON files and how they are used.

See the FAQ on “finding author handle” diff --git a/faq.md b/faq.md index 08c58269d..8377ed438 100644 --- a/faq.md +++ b/faq.md @@ -3708,19 +3708,22 @@ for information on opening up an IOCCC issue. -#### PLEASE HELP us identify proper locations for IOCCC authors +You may correct or update IOCCC author information by submitting a +GitHub pull request that modifies an author's `author_handle.json` file. -If you know the location of an author listed under: +For example, if a given `author_handle.json` file contained: -      **[ZZ - Unknown location](location.html#ZZ)** +``` + "url" : "https://www.example.com/employee/username", +``` -or if you find IOCCC author location that is incorrect, -then **please submit a pull request**, -or at least [inform the IOCCC judges](contact.html). +and you knew that the author has long ago left the `www.example.com` company, +and that they have a new faculty web page at `www.example.edu`, then you should +submit a GitHub pull request to change the above line to: -See the -FAQ on "[GitHub pull request](#pull_request)" -for more information. +``` + "url" : "https://www.example.edu/faculty/department/user.name", +``` Authors of IOCCC winning entries are kept in JSON files of the form: @@ -3736,32 +3739,38 @@ for more information about author handles. See the FAQ on "[author_handle.json](#author_json)" -for information about the contents of these JSON file and how they are used. +for information about the contents of these JSON files and how they are used. See the FAQ on "[finding author handles](#find_author_handle)" -for how to find your own _author_handle_. - -The contents of these JSON files contain the best known information -about authors of IOCCC entries. See -FAQ on "[author_handle.json](#author_json)" -for information about the contents of these JSON file and how they are used. +for how to find an _author_handle_. You may update IOCCC author information in a `author_handle.json` file by [submitting a pull request](#pull_request) against the [master branch](https://github.com/ioccc-src/winner/branches) of the [ioccc-src/winner repo](https://github.com/ioccc-src/winner). -As these files are JSON you should verify that they are validly formed (e.g. you -didn't make a typo). +See the +FAQ on "[GitHub pull request](#pull_request)" +for more information. -Please make sure that you run `make www` after updating the file or files. This unfortunately -takes quite a while but it is the safest way to do it. And while `make quick_www` -can greatly speed up your testing, we still recommend running a final `make www` just before -you form your pull request. +**IMPORTANT NOTE**: As these files are JSON you should verify that +they are validly formed (e.g., you didn't make a typo). -Once that command finishes a proper `git status` and `git diff` shows that -everything is in order. In the end the safest way is to run `make www`, however. +Before you form your GitHub pull request that modifies a +`author_handle.json` file, please run the `make www` command. This +unfortunately takes quite a while but it is the safest way to do +it. So you may wish to test your edits by running the somewhat +quicker `make quick_www` as this can speed up your testing. + +The `make quick_www` rule will update the `authors.html` and +`location.html` pages and it will also check the timestamps of the `index.html` +files versus the `README.md` files. Since they were touched and thus the +timestamp was updated, the +[bin/quick-readme2index.sh](%%REPO_URL%%/bin/quick-readme2index.sh) tool would +only worry about those two files. This greatly speeds things along while testing. +Nevertheless, doing a final `make www` is still recommended best practice +before you form your pull request. Please see FAQ on "[fixing an entry](#fix_an_entry)". @@ -3770,11 +3779,40 @@ See also the FAQ on "[GitHub pull request](#pull_request)" for more information about pull requests. +#### PLEASE HELP us identify proper locations for IOCCC authors + +If you know the location of an author listed under: + +      **[ZZ - Unknown location](location.html#ZZ)** + +or if you find IOCCC author location that is incorrect, +then **please submit a pull request**, +or at least [inform the IOCCC judges](contact.html). + **FYI**: The [ZZ - Unknown location](location.html#ZZ) is used for historic winning authors whose location or country is not known, whereas the [XX - Anonymous location](location.html#XX) is used when the winning author does **not wish to disclose their location**. +The contents of these JSON files contain the best known information +about authors of IOCCC entries. See +FAQ on "[author_handle.json](#author_json)" +for information about the contents of these JSON files and how they are used. + +For example, if a given `author_handle.json` file contained: + +``` + "location_code" : "ZZ", +``` + +and you knew that the author was located in [Australia](location.html#AU) +(location code **AU**), we encourage you to submit a **GitHub pull +request** to change that line to: + +``` + "location_code" : "AU", +``` + ### Important note about **XX - Anonymous location**: Unless you are the author who originally selected the **XX - Anonymous @@ -4074,7 +4112,7 @@ and/or correct IOCCC author information. See the FAQ on "[.auth.json](#auth_json)" -for information about the contents of these JSON file and +for information about the contents of these JSON files and how they are used. See the @@ -5322,6 +5360,7 @@ Of course if you know the author's name you can go directly to [authors.html](authors.html) and click on their surname's/last name's/second name's initial and then scroll down (if necessary) to the author in question. +


Jump to: [top](#)