Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 571014

Summary: app-portage/layman >=2.3.0 needs command line argument such as -y
Product: Portage Development Reporter: samurai.no.dojo
Component: Enhancement/Feature RequestsAssignee: Layman Overlay Manager project <layman>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: samurai.no.dojo
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.