Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628280 - www-apps/chromedriver-bin-2.30 uses generic name for downloaded files
Summary: www-apps/chromedriver-bin-2.30 uses generic name for downloaded files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Austin English (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2017-08-19 10:18 UTC by Oleg Akimov
Modified: 2017-11-29 21:37 UTC (History)
1 user (show)

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


Attachments
www-apps/chromedriver-bin-2.31.ebuild with fixed source name (chromedriver-bin-2.31.ebuild,622 bytes, text/plain)
2017-08-19 10:18 UTC, Oleg Akimov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Akimov 2017-08-19 10:18:43 UTC
Created attachment 489668 [details]
www-apps/chromedriver-bin-2.31.ebuild with fixed source name

Ebuild stores downloaded file without actual package version:

emerge -F =www-apps/chromedriver-bin-2.30
...
Saving to: ‘/mnt/distfiles/chromedriver_linux64.zip’
...
Saving to: ‘/mnt/distfiles/chromedriver_linux32.zip’


How to reproduce bug:
1. create ebuild with next available version in your local overlay
2. calculate digest (upsss - file is already downloaded by previous install)
3. install package
4. check chromedriver version - you will see previous version

Solution: rename source files
Comment 1 Oleg Akimov 2017-08-19 10:20:00 UTC
Comment on attachment 489668 [details]
www-apps/chromedriver-bin-2.31.ebuild with fixed source name

this ebuild will download files with path like this:
/usr/distfiles/chromedriver-bin-2.31.linux64.zip
Comment 2 Austin English (RETIRED) gentoo-dev 2017-11-29 21:37:04 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a385dddd0fe2acbfa98457a35f0578e60e9f1506

Thanks for reporting.