Opened 14 months ago
Closed 14 months ago
#18955 closed enhancement (fixed)
cryptsetup-2.6.1
Reported by: | pierre | Owned by: | Bruce Dubbs |
---|---|---|---|
Priority: | normal | Milestone: | 12.1 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description
New minor.point version: we have missed 2.5.0 and 2.6.0
Change History (12)
comment:1 by , 14 months ago
follow-up: 3 comment:2 by , 14 months ago
Summary: | cryptsetup-2.6.1 → cryptsetup-2.6.1 (fix currency?) |
---|
follow-up: 4 comment:3 by , 14 months ago
Replying to pierre:
fix currency?
This is tricky. There is a 2.7 directory at https://www.kernel.org/pub/linux/utils/cryptsetup but it only has -rc0 files. The currency has to go to that directory and if it can't find a stable .tar.xz tarball it would need to back up to the previous directory. Not simple.
If we just leave it a 2.7, we would have to wait for the stable release. In this case the last stable release was in February.
I did find https://gitlab.com/cryptsetup/cryptsetup but is has one of those oh-so-clever webpages that does not present the data directly but makes the browser do some sort of secondary fetch to get most the the real data. That's a difficult task with wget or curl or links.
I'm leaning towards just marking the package as "manual" unless someone has a better idea.
follow-up: 7 comment:4 by , 14 months ago
Replying to Bruce Dubbs:
Replying to pierre:
fix currency?
This is tricky. There is a 2.7 directory at https://www.kernel.org/pub/linux/utils/cryptsetup but it only has -rc0 files. The currency has to go to that directory and if it can't find a stable .tar.xz tarball it would need to back up to the previous directory. Not simple.
If we just leave it a 2.7, we would have to wait for the stable release. In this case the last stable release was in February.
I did find https://gitlab.com/cryptsetup/cryptsetup but is has one of those oh-so-clever webpages that does not present the data directly but makes the browser do some sort of secondary fetch to get most the the real data. That's a difficult task with wget or curl or links.
I'm leaning towards just marking the package as "manual" unless someone has a better idea.
Try this: https://gitlab.com/api/v4/projects/195655/repository/tags
follow-up: 6 comment:5 by , 14 months ago
configure: error: Building man pages requires asciidoctor installed
:(
comment:6 by , 14 months ago
Replying to Xi Ruoyao:
configure: error: Building man pages requires asciidoctor installed:(
It can be disabled with --disable-asciidoc
. And even if it's disabled the man pages (shipped in the tarball) are stil installed.
follow-up: 8 comment:7 by , 14 months ago
Replying to Xi Ruoyao:
Replying to Bruce Dubbs:
Replying to pierre:
Try this: https://gitlab.com/api/v4/projects/195655/repository/tags
I can't get that to work. When I do a wget on that url it returns a single physical line that is 32580 bytes long. I can't figure out a regex to extract what is needed.
comment:8 by , 14 months ago
Replying to Bruce Dubbs:
Replying to Xi Ruoyao:
Replying to Bruce Dubbs:
Replying to pierre:
Try this: https://gitlab.com/api/v4/projects/195655/repository/tags
I can't get that to work. When I do a wget on that url it returns a single physical line that is 32580 bytes long. I can't figure out a regex to extract what is needed.
Try:
curl "https://gitlab.com/api/v4/projects/195655/repository/tags?per_page=5" | grep -o 'v[0-9\.]\+"'
comment:9 by , 14 months ago
How about:
git ls-remote --tags --refs https://gitlab.com/cryptsetup/cryptsetup.git | grep -v "\-rc" | tail -1
comment:10 by , 14 months ago
I did the currency a bit differently in php. I had not realized that the input string was json. This explains what I did:
// $lines is an array of size 1. It is a json string. if ( $package == "cryptsetup" ) { $a = array(); $names = array(); $object = json_decode( $lines[0], true ); // When decoded, each entry is an associative array. // The name is what we want and of the form v<version> foreach( $object as $a ) { $name=$a['name']; array_push( $names, $name . "\n" ); } $max = find_max( $names, "/v\d/", "/^v([\d\.]+\d)$/" ); return $max; }
comment:11 by , 14 months ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | cryptsetup-2.6.1 (fix currency?) → cryptsetup-2.6.1 |
comment:12 by , 14 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commits
032d0cfcbd Update to shared-mime-info-2.4. 30940d7b95 Update to cryptsetup-2.6.1.
Release notes are very detailed and can be found at https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.5/v2.5.0-ReleaseNotes and https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.6/v2.6.0-ReleaseNotes
for 2.6.1: Cryptsetup 2.6.1 Release Notes
Stable bug-fix release with minor extensions.
All users of cryptsetup 2.6.0 should upgrade to this version.
Changes since version 2.6.0