Due to GitHub not serving nor rendering HTML files whose filename
starts with "." (dot), we renamed `.inventory.html` to `inventory.html`.
Renamed: `tmp/gen_dot_winner.sh` -> `tmp/gen_winner_json.sh`
Fixed URL generation for GitHub links in `inventory.html`.
The manifest was updated accordingly.
The `tmp/README.md` file was updated accordingly.
For 2020/ferguson1 as a test, we fixed the URLs generated
by `gen_dot_winner.sh`.
As GitHub seems to not want to render HTML of files
that start with "." we copied `2020/ferguson1/.inventory.html`
to `2020/ferguson1/inventory.html` as a test.
Fixed an incorrect author win for "1989_jar.2" in `author_wins.numbers`
and `author_wins.csv`.
Changed winner_JSON_format_version to "0.5 2023-11-04".
Added `gen_dot_winner.sh` tool to generate .winner.json and .inventory.html
for a winner. This tool uses [pandoc](https://pandoc.org) to convert
markdown to HTML.
Used this command to generate `.winner.json` and `.inventory.html` for
all winners:
```sh
./run_all.sh -v 1 -D 1 ./gen_dot_winner.sh
```
Updated `tmp/README.md` to reflect the above.
Retired "fake.gen_inventory.sh" to `tmp/OLD_manifest/fake.gen_inventory.sh`.
Added `-D level` flag to `run_all.sh` to specify the `-v level` for
the tool that is being run.
Moved winners_rank to 4th.
Moved ext to 11th.
Renamed path to file_path.
Updated README.md, fix_csv.sh accordingly.
Fix comment cut and paste error in fake.gen_inventory.sh.
I do not know if I completed it properly in manifest.numbers as I'm not
sure if I have th winner_rank value right: I just took it from another
try.sh field.
The path_list.{found,manifest,required}.txt files were also updated.
With a slight modification so that the script uses git ls-files so that
it only acts on files called README.md under the directories of the
years (i.e. '[0-9]{4}/*README.md') that are under git control this
script formats headers so that the spacing before lines starting with
'##' (as in '^##') are correct. It checks for specific header names.
More could be added if necessary and if any heading level is wrong or it
is decided that a different heading level might be better the regexp can
be modified to fix it as well.
This script will be useful to run after every README.md file has been
updated.
Added to tmp/ as it is likely (or possibly?) a temporary tool that might
not be needed after the temp-test-ioccc repo is merged back into the
winner repo. On the other hand it might be useful to use after new
contests are run or even after some major edits of README.md files.
Uses perl in a bash loop.
I can't help it and everyone knows it too. Even a typo in a temporary
file is a terrible tragedy that must be fixed. It has to be done. It
cannot be ignored! You might just want to call me the IOCCC corrections
officer! :-)
The `.id` files are no longer needed and so they were removed.
The `winner_id` (the contents of the `.id` files) are simply
a concatenation of "year" and "_" and "dir".
Adjusted `.inventory.html`, `tmp/README.md`,
`tmp/fake.gen_inventory.sh`, and the manifest according
to the above.
The new tool, tmp/fake.gen_inventory.sh, now adds
a fake .inventory.html file to each winner entry.
Once the winner2nventory tool is written, the .inventory.html
will contain links to all winner files listed in the inventory.
For now, the tmp/fake.gen_inventory.sh tool just creates
a placeholder file.
This is to make them consistent with the others called try.sh which
seems better named as it's under the try section.
The manifest files in tmp/ have been updated as well, including the
macOS Numbers file.
This is because they are under the try section. I'm aware that there's a
script called try.me.sh but that's not been decided on a name change. It
probably should be changed to try.sh to be consistent and probably will
be but it's not been yet.
The manifest files in tmp/ have been updated as well, including the
macOS Numbers file.
Typos and make the renaming of check_awards.sh -> awards_check.sh
consistent in the comments (as in change the name of the script in the
comments to the new name).
None of these are super important as they're temporary files but they
are still incorrect so have to be fixed in my mind.
Minor format update for the numers spreadsheet.
TODO next: Now that the manifest reflects the files in the winners,
attention needs to turn to making the winners_rank, filetype,
winners_show, display_via and winners_text consistent and reasonable.
Now, there is a single manifest called manifest.numbers.
The manifest.csv is formed by exporting manifest.numbers
and running fix_manifest_csv.sh (which was fix_numbers_csv.sh).
The "full_manifest" is now just manifest.
Renamed "file_list.*.txt" to "path_list.txt".
Renamed check_file_list.sh to check_path_list.sh.
The previous set of manifest files are preserved, for now, under
the OLD_manifest directory as a temporary measure in case we need
to revert and very old changes.
Updated README.md, check_path_list.sh and fix_manifest_csv.sh
as per the above changes.
Minor cleanup on a few manifest.number fields.
The manifest now matches the files found in the winning
directories.
The tool, gen_file_list.found.sh, does a make clobber and
generates the list of files found in winning directories.
The tool, check_file_list.sh, may be used to verify that the manifest
matches the list of files found in winning directories.