-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Source updates should record the change date #111
Comments
Nice! Currently |
It's not a drop-in solution for Niv, but here's a script I've hacked together to emulate this with GitHub's v4 API: update-commit-dates.sh, commit-dates-query.jq, commit-dates-filter.jq It runs pleasantly quickly. (This'll silently break if your Niv sources have underscores in them, but an actual solution could just index and avoid some extra bookeeeping by not being constructed out of |
Storing the current date would already be very useful. Maybe that's simpler as a first step ? |
I mean just storing the date of the last time an entry got |
The convention for unstable packages is to use the last modification date as
version
. Niv should assist in setting this by recording it when updating in a property likedate
.For VCS sources, this should be the date of the latest change (e.g. Git's commit date). For file sources, this can default to the current date. Datestamps should be normalized to UTC.
The text was updated successfully, but these errors were encountered: