feat: github action to download latest files -> add, also add pdf generation, works - #24
Open
srghma wants to merge 3 commits into
Open
feat: github action to download latest files -> add, also add pdf generation, works#24srghma wants to merge 3 commits into
srghma wants to merge 3 commits into
Conversation
Author
The previous 'MagicNixCache/magic-nix-cache-action' repository is deprecated/removed and cannot be resolved by GitHub Actions. Update it to the correct and active repository 'DeterminateSystems/magic-nix-cache-action@main'. Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: srghma <219769217+srghma@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
why the official repo is not public at all? would be easier than to download from remote
generated pdf have same style as in https://github.com/mietek/sf/blob/master/doc/pdf/lf.pdf . so, its ugly. will try to make them colorized like htmldonekind of prompt I used
https://softwarefoundations.cis.upenn.edu/ has 7 volumes
Make py script
Json file acts as state file . It saves versions of tars which is written in remote html Eg Version 7.0 (2026-01-09 13:17, Coq 9.0.0 or later) All 7 strings
Goes to each of 7 pages (sh script should hardcode 7 urls) Eg https://softwarefoundations.cis.upenn.edu/lf-current/index.html Checks that in stored JSON version is same , else will download new tars , clear existing dir completely, unpack
Add GitHub job cron each day every 30 min recheck if new version is published
Should update xxx-current dirs with code
But there is a tar inside of these dirs - I expect it will be removed automatically
Also add script to generate pdfs for each of books
Apart from coq files - opam config etc should not be removed, but reused and maybe updated
If GitHub job requires deps e.g. to update or generate pdf - should install and cache