Comments (4)
@rodrigoaguilera as I'm not familiar with Alpine, can you please explain in further detail?
Isn't there a command like apk upgrade <pkg name>
to do what you want?
from lastversion.
Sure I can explain.
I have a dockerfile that fixes the versions of packages so instead of having steps like apk add <pkg name>
I add the version like apk add <pkg name>=<current version>
. This way I have no surprises when package is updated and I can track package upgrades in version control.
I use lastversion to be able to automate the process that edits the dockerfile with the latest versions but sometime there is a mismatch between the upstream and what is in alpine package repository so that is why I want to know what is the "lastversion" in alpine.
from lastversion.
@rodrigoaguilera I guess this won't be implemented for the time being. I've checked if there's something easily parseable like rss
feed for package updates, but there's none there. Parsing HTML I'd like to avoid, as a different website layout will yield broken fetching of the versions... Unless you have other ideas than parsing that page :)
from lastversion.
I understand is a big effort.
An alternative to parsing HTML is to fetch the APKBUILD file for the package and from there read the pkgver
and pkgrel
variables. With those you can build the version but the alpine version also needs to be provided somehow to fetch the APKBUILD file from a specific release. An example:
https://git.alpinelinux.org/aports/tree/main/git/APKBUILD?h=3.17-stable
I don't have the bandwidth right now to contribute this change to lastversion
just dropping an idea that doesn't involve HTML.
from lastversion.
Related Issues (20)
- Feature: Could we get release date of the latest version on command line HOT 5
- Web API: /hooks/github is not implemented
- Wrong version of cadvisor HOT 2
- Wrong version of n8n HOT 5
- CRITICAL: API request was denied despite using an API token. Missing scopes? HOT 5
- [GitLab] CRITICAL - No release was found HOT 8
- [GitLab] Last version and tag missmatch HOT 1
- [GitLab] lastversion reports old version HOT 1
- Some projects return incorrect versions when using gt param HOT 1
- Support unpkg.com?
- Pre-release version being picked up as regular release HOT 7
- Release Candidate Pre Release not Shown HOT 2
- lastversion 3.5.0 requires cachecontrol<=0.12.11 but you have cachecontrol 0.14.0 which is incompatible, breaks lastversion when upgrading pip packages. HOT 1
- Problem fetching pulumi assets HOT 1
- Zero padding is not done with CalVer HOT 2
- Wrong last version when too much new tags
- HTTP Cache improvements
- "TypeError: Parser must be a string or character stream, not NoneType" when using against a private enterprise repository
- Incorrect versions detected as latest (icu4c, hdf5, bullet) HOT 2
- Lastversion fails for GitLab instances with non-standard ports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lastversion.