Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881053 - app-admin/doctl: please use existing reproducible download SRC_URI
Summary: app-admin/doctl: please use existing reproducible download SRC_URI
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Vladimir Pavljuchenkov (SpiderX)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 881037
  Show dependency tree
 
Reported: 2022-11-12 07:29 UTC by cJ
Modified: 2025-04-21 12:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cJ 2022-11-12 07:29:04 UTC
https://github.com/digitalocean/doctl/releases provides manually uploaded artifacts that can be downloaded many times and giving bitwise-identical files, which is not the case of automatic on-the-fly ones generated by github.

Essentially:
-SRC_URI="https://github.com/digitalocean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/digitalocean/doctl/releases/download/v${PV}/${P}-source.tar.gz"

See https://bugs.gentoo.org/881037
Comment 1 Leho Kraav (:macmaN @lkraav) 2025-03-05 12:02:08 UTC
Upstream is at https://github.com/digitalocean/doctl/releases/tag/v1.123.0 already but our tree is still at 1.79.0.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-05 12:09:27 UTC
(In reply to Leho Kraav (:macmaN @lkraav) from comment #1)
> Upstream is at https://github.com/digitalocean/doctl/releases/tag/v1.123.0
> already but our tree is still at 1.79.0.

That's definitely a separate bug to request a version bump. This bug is about SRC_URI specifics and which artefact is used.
Comment 3 Larry the Git Cow gentoo-dev 2025-04-21 12:22:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03f751f4d3dcd0850462d3803d452c46fc8a5657

commit 03f751f4d3dcd0850462d3803d452c46fc8a5657
Author:     Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
AuthorDate: 2025-03-22 13:30:33 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2025-04-21 12:19:44 +0000

    app-admin/doctl: add 1.124.0, use shell-completion.eclass
    
    use reproducible SRC_URI (wrt 881053)
    
    Closes: https://bugs.gentoo.org/881053
    Signed-off-by: Vladimir Pavljuchenkov <spiderx@spiderx.dp.ua>
    Closes: https://github.com/gentoo/gentoo/pull/41091
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 app-admin/doctl/Manifest             |  1 +
 app-admin/doctl/doctl-1.124.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)