Code Monkey home page Code Monkey logo

Comments (7)

 avatar commented on August 22, 2024

The content of SD.zip is different from that one in SD directory. The command diff -qr SD.zip/ SD/ shows:

Only in SD/BIN: BACKUP
Only in SD/BIN: CORCLEAN
Only in SD/BIN: COREBIOS
Only in SD/BIN: UPGRADE
Only in SD.zip/SYS: AUTOBOOT.BAS
Files SD.zip/SYS/CONFIG/ESXDOS.CFG and SD/SYS/CONFIG/ESXDOS.CFG differ
Files SD.zip/SYS/CONFIG/TRDOS.CFG and SD/SYS/CONFIG/TRDOS.CFG differ
Only in SD.zip/SYS: CUSTOM
Only in SD.zip/SYS: CUSTOM.ASM
Only in SD.zip/SYS: CUSTOM.ZDSP
Only in SD.zip/SYS: NMI.INC
Only in SD.zip/SYS: NMI.PUBLICS
Only in SD.zip/SYS: README.TXT

from zxuno.

 avatar commented on August 22, 2024

(SYS/CONFIG/*.CFG files are equal except line endings). Should extra files be extracted from SD.zip back into SD directory? This will ease the update script if it needed (by the way it's already written, but not uploaded because of these differences)

from zxuno.

 avatar commented on August 22, 2024

Part of Makefile to test for an auto-update of SD.zip file process:

# update-SD.zip

# Update only if structure or content of files are different. Timestamps are ignored.
# Temporary files, directories:
#   SD.old/ .SD_old_created .SD_differs .SD_done SD_new.zip

.PHONY: update-SD.zip
update-SD.zip: .SD_done
	rm -f $<

.SD_done: .SD_old_created
	rm -f .SD_differs
	diff -r SD.old SD >/dev/null || if test $$? -eq 1; then touch .SD_differs; else echo 'diff failed!'; false; fi
	rm -f $<
	rm -rf SD.old
	if test -f .SD_differs; then cd SD && zip -9qr ../SD_new.zip .; fi
	if test -f SD_new.zip; then mv SD_new.zip SD.zip; fi
	rm -f .SD_differs
	touch $@

.SD_old_created:
	rm -rf SD.old
	mkdir SD.old
	if test -f SD.zip; then unzip -nqd SD.old SD.zip; fi
	touch $@

.PHONY: clean-update-SD.zip
clean-update-SD.zip:
	rm -f .SD_old_created .SD_differs .SD_done SD_new.zip
	rm -rf SD.old

Update: make update-SD.zip
Clean: make clean-update-SD.zip

from zxuno.

antoniovillena avatar antoniovillena commented on August 22, 2024

Yes. I think we must offer this redundant file because there is not easier alternative to people to download a folder from github

from zxuno.

kounch avatar kounch commented on August 22, 2024

How about using a release? When creating one, you can attach other files apart from the automatic archival of the source code.

from zxuno.

antoniovillena avatar antoniovillena commented on August 22, 2024

Ok. It's good to me using a release

from zxuno.

 avatar commented on August 22, 2024

Closed by bef7bd9

from zxuno.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.