Commit Graph
169 Commits
Author SHA1 Message Date
Landon Curt Noll 3aafb6494b update manifest as per recent file changes
Changed "winner2nventory" tool to "winner2inventory" tool.
2023-11-09 14:10:05 -08:00
Landon Curt Noll e00d20111d rename .inventory.html -> inventory.html
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.
2023-11-06 02:23:30 -08:00
Landon Curt Noll 8968dd92c4 testing another GitHub rendering of 2020/ferguson1/inventory.html 2023-11-06 01:47:41 -08:00
Landon Curt Noll 09583c8856 testing GitHub rendering of 2020/ferguson1/inventory.html 2023-11-06 01:38:49 -08:00
Landon Curt Noll e037247cec test fix to URL generation fir gen_dot_winner.sh
Testing `2020/ferguson1/.inventory.html` and
a copy in `2020/ferguson1/inventory.html` due
to apparent GitHub HTML serving rules.
2023-11-06 01:32:47 -08:00
Landon Curt Noll e45db838e6 fix URLs generated by gen_dot_winner.sh for one entry
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.
2023-11-06 01:22:54 -08:00
Landon Curt Noll 4f88c4214b add initial .winner.json and .inventory.html for winners
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.
2023-11-06 00:22:19 -08:00
Cody Boone Ferguson 558a44af76 Typo fixes in tmp/README.md and tmp/run_all.sh 2023-11-05 02:16:38 -08:00
Landon Curt Noll 1243a86d57 reorder fields in manifest.numbers
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.
2023-11-05 01:49:02 -07:00
Landon Curt Noll 4e00062a3e update manifest as per new file
Added 2020/tsoj/prog.alt.c to manifest.
2023-11-04 21:07:21 -07:00
Landon Curt Noll 175f15b9a6 update manifest as per recent file changes in winner directories 2023-11-04 03:54:04 -07:00
Landon Curt Noll 5e0aa1948f cleanup author_wins.numbers
Remove comments that are no longed needed now that good idea of
the header being frozen has been done.
2023-11-04 03:49:29 -07:00
Landon Curt Noll c442fa6331 cleanup author.numbers
Remove comments that are no longed needed now that good idea of
the header being frozen has been done.
2023-11-04 03:46:41 -07:00
Cody Boone Ferguson 2cbacc9e9a Freeze header rows in *.numbers
This is so that when scrolling down more than a page one can see what
the column is supposed to include.
2023-11-04 01:47:47 -07:00
Cody Boone Ferguson 57fb34ccca Add 1998/schweikh3/try.sh to manifest
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.
2023-11-04 01:45:35 -07:00
Cody Boone Ferguson d4032df767 Add tmp/format-headers.sh script from Landon
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.
2023-11-03 03:47:14 -07:00
Landon Curt Noll 50837e452e update manifest with new files
Added to manifest:

1994/schnitzi/schnitzi.alt2.c
1998/schnitzi/try.sh
2023-11-02 14:49:36 -07:00
Cody Boone Ferguson 0c4fab88b3 Temporarily :-) fix typo in fake.gen_inventory.sh
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! :-)
2023-11-01 06:47:18 -07:00
Landon Curt Noll 5f8b1a8841 rename fix_manifest_csv.sh -> fix_csv.sh, fix other CSV files
The fix_csv.sh now fixes the other 3 CSV files:

    author.csv
    author_wins.csv
    year_prize.csv
2023-11-01 01:43:57 -07:00
Landon Curt Noll 7cb3c44a3b removed .id files from winning dirs
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.
2023-11-01 01:19:36 -07:00
Landon Curt Noll e69240ca3e add tmp/author_wins.numbers 2023-11-01 01:12:27 -07:00
Landon Curt Noll 542c687cb7 add year_prize.numbers
The year_prize.numbers is used to form year_prize.csv.
2023-11-01 01:00:28 -07:00
Landon Curt Noll a17fe36163 add tmp/fake.gen_inventory.sh tool
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.
2023-11-01 00:47:43 -07:00
Landon Curt Noll 9f8daad1cb improve fake.gen_index.sh -v 5 output, minor manifest update 2023-11-01 00:36:56 -07:00
Landon Curt Noll f536673e44 improve Makefile description in manifest 2023-11-01 00:25:03 -07:00
Landon Curt Noll 2e5f868896 improve Nu Html Checker code in index.html 2023-11-01 00:17:07 -07:00
Landon Curt Noll 90de7d9a81 improve URL formed by fake.gen_index.sh for W3C validator 2023-10-31 23:59:11 -07:00
Landon Curt Noll 1148486536 test method to W3C validate 2020/yang/index.html 2023-10-31 23:55:06 -07:00
Landon Curt Noll 8f7bf4afd9 test fixed validator URL on 2020/yang/index.html 2023-10-31 22:50:21 -07:00
Landon Curt Noll 1883e441c7 remove use of FONT from stb index.html files
We are still seeing if we can get the validator to work.
2023-10-31 22:44:17 -07:00
Landon Curt Noll d6f3d20bac improve winner index.html for a validator attempt 2023-10-31 22:40:25 -07:00
Landon Curt Noll a42aeeca8f add stub index files for each winner 2023-10-31 22:26:09 -07:00
Landon Curt Noll 929381ba0d add tmp/fake.gen_index.sh and tmp/run_all.sh 2023-10-31 22:23:48 -07:00
Landon Curt Noll c3f4eba5c4 fix cd error message for gen_path_list.found.sh 2023-10-31 21:42:59 -07:00
Landon Curt Noll 7b8cc99fdd move .inventory.html to rank 900 in manifest 2023-10-31 19:07:09 -07:00
Landon Curt Noll f7287e4263 add .inventory.html for all entries to manifest 2023-10-31 19:02:45 -07:00
Landon Curt Noll e04cb74012 update manifest as per new 1990/jaw/try.sh 2023-10-31 18:41:20 -07:00
Landon Curt Noll 19d1fb4a52 update manifest and improve some winners_text
Updated the manifest based on recent file changes.

Improved some winners_text fields, especially those
that were previously null.
2023-10-29 16:11:02 -07:00
Landon Curt Noll 51c179b895 update manifest
Fixed null winners_text files.

Fixed missing html files that will be made
from the md2html tool via a markdown file.
2023-10-29 15:06:35 -07:00
Cody Boone Ferguson e2266e1aa4 Rename try.me.sh scripts to try.sh
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.
2023-10-29 01:57:46 -07:00
Cody Boone Ferguson 0c6b533363 Rename demo.sh scripts to try.sh
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.
2023-10-29 01:48:16 -07:00
Landon Curt Noll 9c8ce5989a update manifest as per recent changes to source 2023-10-28 14:43:45 -07:00
Cody Boone Ferguson 00e9874905 Temporary (? :-) ) fixes in tmp/ scripts
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.
2023-10-27 02:43:25 -07:00
Landon Curt Noll f6e8398f44 checkpoint for full manifest review
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.
2023-10-27 01:42:17 -07:00
Landon Curt Noll 9cce43fb18 use a single manifest file
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.
2023-10-27 01:39:29 -07:00
Landon Curt Noll 41c796a88f improve cell format of full_manifest.numbers 2023-10-26 23:57:56 -07:00
Landon Curt Noll e3b55e0cc5 move ext field in manifest from 11th to 8th column 2023-10-26 23:50:46 -07:00
Landon Curt Noll d527911896 complete manifest by adding missing entries
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.
2023-10-26 23:14:11 -07:00
Landon Curt Noll 9fa4e3d39f add missing .id manifest files 2023-10-26 20:51:17 -07:00
Landon Curt Noll 730138b3cd rename check_awards.sh -> awards_check.sh 2023-10-26 20:28:03 -07:00