Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 892591 - Available upstream version is omitted (on dev-lang/julia)
Summary: Available upstream version is omitted (on dev-lang/julia)
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: Packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Packages Website
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-30 11:40 UTC by Alexander Kurakin
Modified: 2023-04-05 18:37 UTC (History)
1 user (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 Alexander Kurakin 2023-01-30 11:40:41 UTC
`dev-lang/julia-bin` (`1.8.3`) shows `Version 1.8.5 is available upstream` [1] while `dev-lang/julia` (`1.8.3-r2`) doesn't [2].

`metadata.xml` are the same. Not in `ignored-packages`.

---

[1] https://packages.gentoo.org/packages/dev-lang/julia-bin
[2] https://packages.gentoo.org/packages/dev-lang/julia
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-30 12:17:13 UTC
This is an issue to report to repology. Could you do that at https://github.com/repology/repology-rules and link it here please? Thanks.

We could work around it though: https://archives.gentoo.org/gentoo-dev/message/b793f4da5a5b5e20a063ea431500a820
Comment 2 Alexander Kurakin 2023-01-30 12:37:16 UTC
(In reply to Sam James from comment #1)
> This is an issue to report to repology. 

But why? Both `dev-lang/julia-bin` and `dev-lang/julia` link to the same Repology item:

https://packages.gentoo.org/packages/dev-lang/julia-bin -> https://repology.org/project/julia-bin -> https://repology.org/project/julia/versions

https://packages.gentoo.org/packages/dev-lang/julia -> https://repology.org/project/julia -> https://repology.org/project/julia/versions

Or, do you mean, that the situation differs via API? Then, why does it work for surrogate `julia-bin` but original `julia`?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-30 13:10:56 UTC
Oh, I see (this would've been worth saying originally). Repology already knows our julia-bin and julia are both the same upstream.
Comment 4 Larry the Git Cow gentoo-dev 2023-04-05 18:37:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/sites/soko.git/commit/?id=fb4d1832f08cce06bf55c32380f13d87d2c6fc4b

commit fb4d1832f08cce06bf55c32380f13d87d2c6fc4b
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2023-04-05 16:16:58 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2023-04-05 16:16:58 +0000

    update/repology: fix affected packages and latest version
    
    - repology json can combine multiple gentoo packages into one "group"
      (for example normal and "-bin" packages). Mark outdated for all those
      packages.
    - when selecting current latest version, instead of using the last entry
      in array, version compare them and select latest.
    
    Closes: https://bugs.gentoo.org/771126
    Closes: https://bugs.gentoo.org/892591
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 pkg/portage/repology/outdated.go | 108 ++++++++++++++++++++++-----------------
 1 file changed, 61 insertions(+), 47 deletions(-)