rewrite bin/tar-entry.sh

We rewrote the `bin/tar-entry.sh` algorithm so that we do NOT have
to require Linux to produce a compressed tarball that is byte-for-byte
identical to a macOS compressed tarball for the same entry.

Changed `bin/tar-entry.sh` VERSION from "1.2 2024-03-22"
to "1.3 2024-03-25".

Added `bin/untar-entry.sh` to untar an entry from the
compressed tarball.

Added `make untar_entry_tarball` to untar all entry files.

Added `make untar_year_tarball` and `make untar_all_tarball`
stub Makefile rules.  The core it referred to does not yet exist.

Updated IOCCC manifest.  Updated `.entry.json` for `2004/sds`.

Performed `make www` to update web pages.  In most cases the
entry `index.html` added an inventory link for the new `.tar.tstamp` file.

Performed `form_entry_tarball` to complete the test of the above.

TODO: Test the results under Linux.

TODO: Update `bin/tar-year.sh`.  Update year level compressed tarballs.

TODO: Update `bin/tar-all.sh`.  Update top level compressed tarball.

TODO: Write `bin/untar-year.sh` and `bin/untar-all.sh`.
This commit is contained in:
Landon Curt Noll committed 2024-03-25 22:44:34 -07:00
1 parent f3b5ff762f
commit 9f57052020
1003 files changed
+1376 -550

No files matched your search

+1
View File
@@ -2182,6 +2182,7 @@
2004,sds,Makefile,30,true,makefile,true,entry Makefile
2004,sds,sds.orig.c,50,true,c,true,original source
2004,sds,try.sh,100,true,shellscript,true,how to run
2004,sds,README_sds.txt,200,true,test,true,sample data used by try.sh
2004,sds,2004_sds.tar.bz2,100000,false,tbz2,false,download entry source
2004,sds,index.html,2000000000,false,html,false,entry home page
2004,sds,README.md,4294967295,true,markdown,true,markdown source for index.html
1 # year dir file_path inventory_order OK_to_edit display_as display_via_github entry_text
2182 2004 sds Makefile 30 true makefile true entry Makefile
2183 2004 sds sds.orig.c 50 true c true original source
2184 2004 sds try.sh 100 true shellscript true how to run
2185 2004 sds README_sds.txt 200 true test true sample data used by try.sh
2186 2004 sds 2004_sds.tar.bz2 100000 false tbz2 false download entry source
2187 2004 sds index.html 2000000000 false html false entry home page
2188 2004 sds README.md 4294967295 true markdown true markdown source for index.html
Binary file not shown.
+1
View File
@@ -2184,6 +2184,7 @@
2004/sds/2004_sds.tar.bz2
2004/sds/Makefile
2004/sds/README.md
2004/sds/README_sds.txt
2004/sds/index.html
2004/sds/sds.c
2004/sds/sds.orig.c
+1
View File
@@ -2184,6 +2184,7 @@
2004/sds/2004_sds.tar.bz2
2004/sds/Makefile
2004/sds/README.md
2004/sds/README_sds.txt
2004/sds/index.html
2004/sds/sds.c
2004/sds/sds.orig.c
+1
View File
@@ -1462,6 +1462,7 @@
2004/sds/.gitignore
2004/sds/Makefile
2004/sds/README.md
2004/sds/README_sds.txt
2004/sds/sds.c
2004/sds/sds.orig.c
2004/sds/try.sh