After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731127 - gnome-weather: add some conditional dependencies
gnome-weather: add some conditional dependencies
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: module sets
3.12.x
Other Linux
: Normal minor
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2014-06-02 21:01 UTC by Michael Catanzaro
Modified: 2016-08-23 12:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gnome-weather: conditionally build with coverage (1.02 KB, patch)
2014-06-02 21:04 UTC, Michael Catanzaro
committed Details | Review
gnome-weather: conditionally build dogtail tests (1.03 KB, patch)
2014-06-02 21:04 UTC, Michael Catanzaro
committed Details | Review
3.22: gnome-weather has conditional dependency on gnome-world (1.25 KB, patch)
2016-08-23 12:35 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2014-06-02 21:01:51 UTC
I just removed dogtail as a suggests of gnome-weather; maybe this would be a good use for a jhbuild condition?  I bet this would be useful for other modules as well.

Also, I see gnome-weather supports coverage builds. Might as well hook those up to the existing coverage condition.
Comment 1 Michael Catanzaro 2014-06-02 21:04:02 UTC
Created attachment 277765 [details] [review]
gnome-weather: conditionally build with coverage
Comment 2 Michael Catanzaro 2014-06-02 21:04:38 UTC
Created attachment 277766 [details] [review]
gnome-weather: conditionally build dogtail tests
Comment 3 Javier Jardón (IRC: jjardon) 2014-06-03 09:57:20 UTC
Review of attachment 277765 [details] [review]:

sure
Comment 4 Michael Catanzaro 2014-06-03 12:22:33 UTC
Ah, I accidentally pushed both of these when you only approved the first one, can you confirm that's OK or should I revert the dogtail patch?
Comment 5 Javier Jardón (IRC: jjardon) 2014-06-03 15:36:06 UTC
Giovanni is the gnome-weather maintainer, so lets him to decide
Comment 6 Giovanni Campagna 2014-06-03 18:54:00 UTC
Ok with the coverage, because it's default off, but the tests should be default on.
Comment 7 Javier Jardón (IRC: jjardon) 2014-06-04 09:38:31 UTC
Hi Giovanni,

sory, but taking a second look to this, if dogtail depends on pygtk it cant be included in the modulesets by default (pygtk is not part of GNOME for several releases already)
Comment 8 Giovanni Campagna 2014-06-15 14:45:16 UTC
(In reply to comment #7)
> Hi Giovanni,
> 
> sory, but taking a second look to this, if dogtail depends on pygtk it cant be
> included in the modulesets by default (pygtk is not part of GNOME for several
> releases already)

Well, dogtail is part of gnome-continuous, and is depended upon by gnome-software too. I understand pygtk is deprecated, but I see no replacement for dogtail anytime soon.
Comment 9 Michael Catanzaro 2014-07-06 00:04:06 UTC
Comment on attachment 277765 [details] [review]
gnome-weather: conditionally build with coverage

This was pushed a while back
Comment 10 Michael Catanzaro 2014-07-06 00:04:42 UTC
Comment on attachment 277766 [details] [review]
gnome-weather: conditionally build dogtail tests

This was pushed a while back, but I wonder if it's wrong to provide this even as a conditional, since dogtail only exists in gnome-world.
Comment 11 Michael Catanzaro 2016-08-23 12:33:50 UTC
(In reply to Michael Catanzaro from comment #10)
> Comment on attachment 277766 [details] [review] [review]
> gnome-weather: conditionally build dogtail tests
> 
> This was pushed a while back, but I wonder if it's wrong to provide this
> even as a conditional, since dogtail only exists in gnome-world.

Yeah, it's definitely wrong. I'm disabling the tests, sorry. gnome-core cannot depend on anything in gnome-world. I'm concerned that jhbuild did not have a warning about this obvious breakage. :/

That said, it looks like dogtail might not depend on pygtk anymore, so it might be an acceptable dependency for core-deps nowadays. We can investigate that in a separate bug if you want.
Comment 12 Michael Catanzaro 2016-08-23 12:34:22 UTC
Ah, there was no warning because there is a dogtail conditional. It's only conditionally broken. :p
Comment 13 Michael Catanzaro 2016-08-23 12:35:26 UTC
The following fix has been pushed:
f1e0296 3.22: gnome-weather has conditional dependency on gnome-world
Comment 14 Michael Catanzaro 2016-08-23 12:35:30 UTC
Created attachment 334004 [details] [review]
3.22: gnome-weather has conditional dependency on gnome-world

Remove it.