Bug 1996621 - hamcrest does not provides osgi anymore
Summary: hamcrest does not provides osgi anymore
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: hamcrest
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-23 10:30 UTC by Sergio Basto
Modified: 2022-01-05 10:15 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-05 10:15:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sergio Basto 2021-08-23 10:30:20 UTC
Description of problem:

on F33 `dnf repoquery hamcrest  --provides`
(...)
osgi(org.hamcrest.generator) = 1.3.0
osgi(org.hamcrest.integration) = 1.3.0
osgi(org.hamcrest.library) = 1.3.0


on rawhide `dnf repoquery --disablerepo='*' --enablerepo=rawhide hamcrest  --provides`

we don't see any provides of osgi 


Version-Release number of selected component (if applicable):
hamcrest-0:2.2-5.fc35.noarch


Expected results:

osgi(org.hamcrest.generator) = 2.2.0
osgi(org.hamcrest.integration) = 2.2.0
osgi(org.hamcrest.library) = 2.2.0

Additional info:

Comment 1 Mikolaj Izdebski 2021-11-15 14:33:55 UTC
Confirmed.
Reproducer: dnf -q -C --repo rawhide repoquery --provides hamcrest | grep osgi
Is hamcrest OSGi metadata needed by anything in Fedora? This will help prioritize this bug.

Comment 2 Sergio Basto 2021-11-15 15:08:14 UTC
eclipse.spec have 

Requires:       osgi(org.hamcrest.core)

Comment 3 Mikolaj Izdebski 2021-11-15 20:18:23 UTC
Yes, I'm aware Eclipse was the primary user of OSGi metadata, but Eclipse is retired.
I'll keep it low priority, possibly eventually close as WONTFIX unless there is a reason to re-add OSGi metadata.

Comment 4 Sergio Basto 2021-11-16 22:26:23 UTC
(In reply to Mikolaj Izdebski from comment #3)
> Yes, I'm aware Eclipse was the primary user of OSGi metadata, but Eclipse is
> retired.
> I'll keep it low priority, possibly eventually close as WONTFIX unless there
> is a reason to re-add OSGi metadata.

but I'd like bring back eclipse to Fedora , for that one of the first goals is build tycho

Comment 5 Mikolaj Izdebski 2021-11-17 10:17:11 UTC
I see. Can you provide a patch or PR for adding OSGi metadata that will work for Eclipse?

OSGi metadata is added with a downstream patch. Traditionally, Fedora Eclipse maintainers were maintaining such patches as the metadata is coming from Eclipse Orbit and Fedora package maintainers have no easy way of testing whether such patch is correct.

Comment 6 Sergio Basto 2021-11-17 22:52:00 UTC
(*) for that one, of the first goals is build tycho

the build eclipse we need bootstrap some builds which requires OSGi metadata IIRC and have OSGi metadata would be more easier to build it, that why I was interested on OSGi metadata. if we can build and all other packages associated to eclipse without OSGi metadata fine for me.  

Again I think now the path is build "tycho" but we have many obstacles (like OSGi metadata ...) 

Best regards,

Comment 7 Mikolaj Izdebski 2022-01-05 10:15:12 UTC
Upstream hamcrest does not include OSGi metadata, but I will accept downstream patches adding it.
Until then I'm closing the bug as WONTFIX, feel free to reopen it once patch or pull request with OSGi metadata is submitted.


Note You need to log in before you can comment on or make changes to this bug.