From 65cf4470879c47dd3a7bde13b9aa1f62e6eaade0 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 27 Feb 2025 14:56:01 -0800 Subject: [PATCH 1/2] Update FAQ, guidelines and quick start This addresses most (if not all) of the recent changes to chkentry(1) though a more thorough check will be made later after the mkiocccentry code freeze. --- faq.html | 73 +++++++++++++++-------- faq.md | 92 ++++++++++++++++++++-------- next/guidelines.html | 136 +++++++++++++++++++++++------------------- next/guidelines.md | 139 +++++++++++++++++++++++-------------------- quick-start.html | 58 +++++++++--------- quick-start.md | 62 +++++++++---------- 6 files changed, 324 insertions(+), 236 deletions(-) diff --git a/faq.html b/faq.html index ad9a3ea7d..3d553869a 100644 --- a/faq.html +++ b/faq.html @@ -425,7 +425,7 @@

IOCCC FAQ Table of Contents

-

This is FAQ version 28.2.10 2025-02-26.

+

This is FAQ version 28.2.11 2025-02-27.

0. Entering the IOCCC: the bare minimum you need to know

  • Q 0.2: What platform should I assume for my submission?
  • Q 0.3: What should I put in my submission Makefile?
  • @@ -480,6 +481,7 @@
  • Q 3.9: What is an entry_id?
  • Q 3.10: What is a .entry.json file and how is it used?
  • Q 3.11: How can I validate any JSON document?
  • +
  • Q 3.12: How can I install the mkiocccentry(1) and related tools?
  • 4. Compiling IOCCC entries

    NOTE: Please see our IOCCC markdown guide for important information on using markdown in the IOCCC.

    -

    NOTE: It is NOT necessary to install the tools to use them as you can run -the tools from the top of the mkiocccentry repo directory just fine, though -you’ll have to use the form of ./mkiocccentry instead of just mkiocccentry. -However, installing it will make it easier for you as you can run it from your -submission’s directory. See the -FAQ on “installing mkiocccentry” -at the mkiocccentry repo.

    -

    IMPORTANT NOTE: if you run the program outside the repo directory -(specifying the absolute or relative path to the tool) and you have not -installed the tools then you will have to specify the options for the tools that -are required like chkentry(1), txzchk(1) and fnamchk(1). But even if you -have installed them but some tools are out of date (in the install path) it will -cause problems. Additionally, if you do not have the most recent version when -submitting a tarball it will be rejected for not having the right versions of -the tools. This is why you MUST make sure you have the most recent version -of all the tools and you either run it from the repo directory itself OR you -install them (make install as via sudo or as root). We recommend you install -the tools but if you wish to run it from the repo directory you may.

    If the mkiocccentry tool indicates that there is a problem with your submission, especially if it identifies a Rule 2, or any other rule, related problem, you are strongly encouraged to revise and @@ -558,9 +543,24 @@ correct your entry and then re-run the mkiocccentry tool.

    If you choose to risk violating rules, be sure and explain your reason for doing so in your remarks.md file.

    See also Rule 17!

    +

    IMPORTANT NOTE: if you run the program outside the repo directory +(specifying the absolute or relative path to the tool) and you have not +installed the tools (and we STRONGLY recommend you do install them), +then you will have to specify the options for the tools that are required like +chkentry(1), txzchk(1) and fnamchk(1). And remember to make sure you have +the latest version so you do not violate Rule 17. +See the +FAQ on “obtaining the latest mkiocccentry tools”, +the +FAQ on “compiling the mkiocccentry tools”, +the +FAQ on “installing the mkiocccentry tools” +and the +FAQ on “using the mkiocccentry tools” +for more help.

    -

    7. Upload your submission to the IOCCC submit server

    +

    7. Upload your submission to the IOCCC submit server

    The screenshots on the “how to upload your submission to the IOCCC” page diff --git a/quick-start.md b/quick-start.md index 1cdac2008..314d1641b 100644 --- a/quick-start.md +++ b/quick-start.md @@ -1,3 +1,5 @@ +This is quick start guide is version **28.0.0 2025-02-27**. +

    # Entering the IOCCC: the bare minimum you need to know @@ -8,7 +10,7 @@ To submit your code to the IOCCC, you **MUST** follow these steps:
    -#### 0. Verify that the IOCCC is pending or open for submissions +## 0. Verify that the IOCCC is pending or open for submissions
    First, check the "**[current status of the IOCCC](status.html)**" page to see current contest status. @@ -21,7 +23,7 @@ See also the [IOCCC news](news.html#news) for more information.
    -#### 1. Read the latest IOCCC rules and review the IOCCC guidelines +## 1. Read the latest IOCCC rules and review the IOCCC guidelines
    Please pay close attention to the [official IOCCC rules](next/rules.html). @@ -33,7 +35,7 @@ suggestions, useful hints, and IOCCC humor. :-)
    -#### 2. Register for the IOCCC +## 2. Register for the IOCCC
    @@ -45,7 +47,7 @@ then follow the directions on "**[how to register for the IOCCC](next/register.h
    -#### 3. Wait for your submit server username and initial password +## 3. Wait for your submit server username and initial password
    Once you have [registered for the IOCCC](next/register.html), @@ -74,7 +76,7 @@ for assistance.
    -#### 4. Login to the submit server and change your password +## 4. Login to the submit server and change your password
    Using the **Username** and **Initial password** you receive via email in @@ -90,7 +92,7 @@ Please visit the "**[change your submit server initial password](next/pw-change.
    -#### 5. Obtain and compile the latest mkiocccentry toolkit +## 5. Obtain and compile the latest mkiocccentry toolkit
    Once the contest is [open](status.html#open), download the most recent @@ -102,14 +104,16 @@ could change. Once the content is [open](status.html#open), be sure you **have the latest** version installed. To help you, please see the -FAQ on "[how to obtain the most recent mkiocccentry](#obtaining_mkiocccentry)" +FAQ on "[how to obtain the most recent mkiocccentry](faq.html#obtaining_mkiocccentry)", +the +FAQ on "[compiling mkiocccentry toolkit](faq.html#compiling_mkiocccentry)" and the -FAQ on "[compiling mkiocccentry toolkit](#compiling_mkiocccentry)", +FAQ on "[installing the mkiocccentry tools](faq.html#install)" for more details.
    -#### 6. Run the mkiocccentry tool to form your submission tarball +## 6. Run the mkiocccentry tool to form your submission tarball
    For more details on `mkiocccentry`, what it is, how to obtain it and how to use @@ -145,7 +149,7 @@ Three files are required to exist in `topdir`: * `Makefile` - Makefile to build (make all) and cleanup (make clean & make clobber) as well + Makefile to build (make all) and clean up (make clean & make clobber) as well as the other required rules * `remarks.md` @@ -156,26 +160,6 @@ Three files are required to exist in `topdir`: **NOTE**: Please see our [IOCCC markdown guide](markdown.html) for **important information** on using markdown in the IOCCC. -**NOTE**: It is *NOT* necessary to install the tools to use them as you can run -the tools from the top of the `mkiocccentry` repo directory just fine, though -you'll have to use the form of `./mkiocccentry` instead of just `mkiocccentry`. -However, installing it will make it easier for you as you can run it from your -submission's directory. See the -FAQ on "**[installing mkiocccentry](https://github.com/ioccc-src/mkiocccentry/blob/master/FAQ.md#install)**" -at the mkiocccentry repo. - -**IMPORTANT NOTE**: if you run the program outside the repo directory -(specifying the absolute or relative path to the tool) and you have not -installed the tools then you will have to specify the options for the tools that -are required like `chkentry(1)`, `txzchk(1)` and `fnamchk(1)`. But even if you -have installed them but some tools are out of date (in the install path) it will -cause problems. Additionally, if you do not have the most recent version when -submitting a tarball it will be rejected for not having the right versions of -the tools. This is why you **MUST** make sure you have the most recent version -of all the tools and you either run it from the repo directory itself OR you -install them (`make install` as via `sudo` or as root). We recommend you install -the tools but if you wish to run it from the repo directory you may. - If the `mkiocccentry` tool indicates that there is a problem with your submission, especially if it identifies a [Rule 2](next/rules.html#rule2), or any other rule, related problem, you are **strongly** encouraged to revise and @@ -186,10 +170,26 @@ for doing so in your `remarks.md` file. See also [Rule 17](next/rules.html#rule17)! +**IMPORTANT NOTE**: if you run the program outside the repo directory +(specifying the absolute or relative path to the tool) and you have not +installed the tools (and we **STRONGLY** recommend you **do** install them), +then you will have to specify the options for the tools that are required like +`chkentry(1)`, `txzchk(1)` and `fnamchk(1)`. And remember to make sure you have +the latest version so you do not violate [Rule 17](rules.html#rule17). +See the +FAQ on "[obtaining the latest mkiocccentry tools](faq.html#obtaining_mkiocccentry)", +the +FAQ on "[compiling the mkiocccentry tools](faq.html#compiling_mkiocccentry)", +the +FAQ on "[installing the mkiocccentry tools](faq.html#installing)" +and the +FAQ on "[using the mkiocccentry tools](faq.html#using_mkiocccentry)" +for more help. +
    -#### 7. Upload your submission to the IOCCC submit server +## 7. Upload your submission to the IOCCC submit server
    From 2199f31bc53bc98c6dc9fdee9094acf53059c5fa Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 27 Feb 2025 15:01:27 -0800 Subject: [PATCH 2/2] Fix link in quick-start.html --- quick-start.html | 2 +- quick-start.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quick-start.html b/quick-start.html index ba27761fe..56aea7213 100644 --- a/quick-start.html +++ b/quick-start.html @@ -548,7 +548,7 @@ for doing so in your remarks.md file.

    installed the tools (and we STRONGLY recommend you do install them), then you will have to specify the options for the tools that are required like chkentry(1), txzchk(1) and fnamchk(1). And remember to make sure you have -the latest version so you do not violate Rule 17. +the latest version so you do not violate Rule 17. See the FAQ on “obtaining the latest mkiocccentry tools”, the diff --git a/quick-start.md b/quick-start.md index 314d1641b..f4a07325d 100644 --- a/quick-start.md +++ b/quick-start.md @@ -175,7 +175,7 @@ See also [Rule 17](next/rules.html#rule17)! installed the tools (and we **STRONGLY** recommend you **do** install them), then you will have to specify the options for the tools that are required like `chkentry(1)`, `txzchk(1)` and `fnamchk(1)`. And remember to make sure you have -the latest version so you do not violate [Rule 17](rules.html#rule17). +the latest version so you do not violate [Rule 17](next/rules.html#rule17). See the FAQ on "[obtaining the latest mkiocccentry tools](faq.html#obtaining_mkiocccentry)", the