Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368503 - app-portage/smart-live-rebuild-0.8 does not parse http->https mercurial output
Summary: app-portage/smart-live-rebuild-0.8 does not parse http->https mercurial output
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Michał Górny
URL: http://mercurial.selenic.com/bts/issu...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 20:54 UTC by A.J.
Modified: 2011-05-31 19:36 UTC (History)
0 users

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 A.J. 2011-05-23 20:54:26 UTC
Got a live ebuild that (probably incorrectly) points to http://bitbucket where it is expected to point to https://bitbucket.  The live ebuild probably should be fixed (and I'll see what I can do with the overlay maintainers) but it seems it can be handled in smart-live-rebuild as well.

apalmer@biiru ~ $ sudo smart-live-rebuild
*** Updating the repositories using 6 parallel jobs...
->  http://bitbucket.org/misery/dynamic-playlist
--> hg identify --id --rev tip http://bitbucket.org/misery/dynamic-playlist --config trusted.users=portage
->  git://git.musicpd.org/qball/gmpc-lyricwiki.git
--> git ls-remote --heads git://git.musicpd.org/qball/gmpc-lyricwiki.git master
->  git://git.musicpd.org/master/libmpdclient.git
--> git ls-remote --heads git://git.musicpd.org/master/libmpdclient.git master
->  git://repo.or.cz/libmpd.git
--> git ls-remote --heads git://repo.or.cz/libmpd.git master
->  git://git.musicpd.org/master/mpc.git
--> git ls-remote --heads git://git.musicpd.org/master/mpc.git master
->  git://git.musicpd.org/master/gmpc.git
--> git ls-remote --heads git://git.musicpd.org/master/gmpc.git master
->  http://bitbucket.org/misery/dynamic-playlist
--> update from 0a8c66672d52 to real URL is https://bitbucket.org/misery/dynamic-playlist
0a8c66672d52

->  git://git.musicpd.org/master/mpd.git
--> git ls-remote --heads git://git.musicpd.org/master/mpd.git master
->  git://git.musicpd.org/master/gmpc.git
--> at rev 8b60ddda4fd375d07554d4e05e89503ee772c0a7 (no changes)
->  git://git.musicpd.org/master/mpc.git
--> at rev 13f0cabbf34771c71c24a1311051dde3e1409642 (no changes)
->  git://repo.or.cz/libmpd.git
--> at rev 5051938782ae8ee2b45b6da10b24f5a671d5b129 (no changes)
->  git://git.musicpd.org/master/libmpdclient.git
--> at rev 721bc25416311ea8b201ec56cb821c0c48d8c18d (no changes)
->  git://git.musicpd.org/qball/gmpc-lyricwiki.git
--> at rev 74506f7c7049dcf7ebdd9f9254cb546512d8574f (no changes)
->  git://git.musicpd.org/master/mpd.git
--> at rev 9ac8f89b1d8a0c2b4a9ba391ce174fbb3fa816e9 (no changes)
*** Found 1 packages to rebuild.
->  emerge --oneshot >=media-plugins/dynamic-playlist-9999
Calculating dependencies -^C

Exiting on signal 2                                                                                                                                                              ... done!
apalmer@biiru ~ $ sudo hg identify --id --rev tip http://bitbucket.org/misery/dynamic-playlist --config trusted.users=portage
real URL is https://bitbucket.org/misery/dynamic-playlist
0a8c66672d52


Reproducible: Always

Steps to Reproduce:
1.  Add the mpd overlay
2.  unmask media-plugins/dynamic-playlist-9999
3.  build dynamic-playlist
4.  run smart-live-rebuild
Actual Results:  
Rebuilds the ebuild every time whether it changes or not.

Expected Results:  
No new ebuild.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-05-24 20:28:48 UTC
I'd say the 'real url' part should go to STDERR and not STDOUT. Please report that upstream, and let me know what they think of it.
Comment 2 A.J. 2011-05-24 21:16:24 UTC
OK, makes sense.

http://mercurial.selenic.com/bts/issue2828