Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571014 - app-portage/layman >=2.3.0 needs command line argument such as -y
Summary: app-portage/layman >=2.3.0 needs command line argument such as -y
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-05 17:57 UTC by samurai.no.dojo
Modified: 2016-04-06 17:14 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 samurai.no.dojo 2016-01-05 17:57:14 UTC
Layman is not script/puppet... friendly.
when you need to add overly without user intervention it hangs (or fails) on asking for y/n input when overlay is not official.
I suggest to add some command line to overcome this deficiency.
eg:"# layman -y -a unofficial_overlay"

Reproducible: Always

Steps to Reproduce:
1.from script add repo with layman "# layman -a some_overlay"


Actual Results:  
it will hang on asking y/n question for unofficial overlay

Expected Results:  
with some "I know what I am doing" switch add new overlay
Comment 1 Devan Franchini (RETIRED) gentoo-dev 2016-01-13 21:58:35 UTC
To resolve this issue simply set "check_official" to "no" in your layman.cfg files.