GitShow/tj/go-update
tj

go-update

Go package for auto-updating system-specific binaries via GitHub releases.

by tj
Star on GitHubFork

Go

241 stars22 forks2 contributorsQuiet · 6y agoSince 2017MIT

Meet the team

See all 2 on GitHub →
tj
tj18 contributions
dominicletz
dominicletz3 contributions

Languages

View on GitHub →
Go100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

2 of 6 standards met

Community profile →
42
✓README✓License○Contributing○Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 3 in progress · Last activity 6y ago
See all on GitHub →
dominicletz
parse github version numbers for comparisonOpenPR

This piece does parse the version numbers ignoring any initial 'v' and splitting numbers at each "." or "-" The comparison works for semantic versioning as well as using git describe output. Some comparison examples: 'v1.2.3-22' > 'v1.2.3' 'v1.2.4' > 'v1.2.3' 'v2' > 'v1.2.3' 'v2' == '2' 'v2.0' == 'v2' 'v2.0.0.0.0' == 'v2'

dominicletz · 6y ago
ale-ben
Implemented Sha256 ChecksumOpenPR

Added Checksum parameter to the Manager struct. If not specified the check is ignored. If specified after closing the tarball in installTo the program compares the software checksum with the provided one

ale-ben · 6y ago

Recent fixes

View closed PRs →
StarpTech
Running application can't be replacedClosedIssue

Application is installed in PATH. 1. Run application 2. Run auto-update 3. Access is denied

StarpTech · 6y ago
tj
test on windowsClosedIssue

pretty typical stdlib stuff so it should be fine

tj · 6y ago
dominicletz
add windows compatibility workaroundMergedPR

In Windows we can't directly replace running binaries. It seems the previous fix attempt on this got lost. This code snippet makes the windows workaround explicit in code and moves the current binary to dst + ".old". I've tested this and use this in my fork on windows: https://github.com/diodechain/go-update

dominicletz · 6y ago
Structured data for AI agents

Repository: tj/go-update. Description: Go package for auto-updating system-specific binaries via GitHub releases. Stars: 241, Forks: 22. Primary language: Go. Languages: Go (100%). License: MIT. Open PRs: 3, open issues: 2. Last activity: 6y ago. Community health: 42%. Top contributors: tj, dominicletz.

·@ofershap

Replace github.com with gitshow.dev