Repository navigation
feat: it says when there is a newer version, and brings its file down - #17
Merged
Merged
Conversation
A program installed once that never says another word is one still on its first beta a year later. So it looks -- a little after the window opens and once a day -- and when there is something newer a word appears at the end of the tab strip, beside the gear. Nothing else happens until the word is pressed: no dialog, nothing brought down. Pressed, it offers the file for this system, the .deb to whoever took the .deb and the folder to whoever did not, puts it where downloads go and checks it against the SHA256SUMS published beside it. It has another name until it has been checked. A version can be told not to be mentioned again, the whole thing can be turned off, and a beta is offered to whoever asks for betas and to whoever is running one. It does not install anything. Each system installs a different way, one wants a password, another will not let a running program be written over, and none of the files is signed: a program that replaced itself with something it could not vouch for would be worse than one that leaves the last step to whoever is sitting there. Looking costs no dependency. A version is a tag, and listing a repository's tags is the one thing this program could always do -- no API, no account, nothing sent that a clone does not send. But a tag is not a release: the files take a while to be built from it, and a tag pushed by mistake never gets any, so a newer tag is mentioned only once the sums published with its files can be read, and one without them is passed over for the one before. Bringing the file down is curl, over HTTPS and nothing else, instead of a library for it and the forty crates behind one for a request a month. With no curl it says so and the release's page is a click away. The SHA-256 is written out, sixty lines held to the published answers. It is a connection to github.com that nobody asked for, and SECURITY.md now says so beside the other things the window does by itself. Opening an address went through xdg-open, which only Linux has. It goes through the program each system has for it now, here and for the links that were already there. Tried on Linux against the releases there are, by a build told it was older than it is: the look, the file, the check against sha256sum's own answer, a tag with no release behind it, the word, its menu, the preferences. The buttons that hand the file to the desktop were not pressed, and nothing of it has been seen on macOS or Windows. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: Francesc <francesc.bagur@coffeesoftware.io>
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.
What this changes
The window says when there is a newer version than the one running, and will bring the file for this system down, checked. It does not install it.
What was decided
git ls-remotedoes and what this program could always do: no API, no account, no limit, nothing sent that a clone does not send.SHA256SUMSpublished with its files can be read, and one without them is passed over for the one before. Without this, pushing a tag would have put a download that is not there in front of everybody who has the program.curl, not an HTTPS library. Linux nearly always has it and macOS and Windows ship it; the alternative was forty crates for one request a month. HTTPS only, at the first address and at every one it is sent on to. With nocurlit says so and the release's page is a click away.SECURITY.mdsays so..debto whoever took the.deb, the folder to whoever did not, and nothing where the release builds nothing. The file names are written here and in the release workflow; a test reads the workflow and fails if they part.SECURITY.mdbeside the other things the window does by itself, it says so under its own switch, and the switch turns it off.xdg-open, which only Linux has. It goes through the program each system has for it now --open,rundll32 url.dll,FileProtocolHandler-- here and for the links that were already there. Only Linux's has been run.Checked
cargo testpasses here, not just in CI -- 409, ten of them newGITRUST_PRETEND_VERSION, which a release build does not read): the look, the file brought down and checked, the same sum fromsha256sum, a file already there kept, a tag with no release behind it passed over, the word, its menu, Look now, Not this version. The buttons that hand the file, the folder or the page to the desktop were not pressed, and nothing of it has been seen on macOS or Windowsgit commit -s) and read as sentences🤖 Generated with Claude Code