Bug 524787

Summary: zypper needs way to mark a repo with gpgcheck=0 from cmdline
Product: [openSUSE] openSUSE 11.4 Reporter: Dax Kelson <admin-novell>
Component: libzyppAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Enhancement    
Priority: P1 - Urgent CC: dheidler
Version: RC 1   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.1   
Whiteboard: patches-welcome lhf
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on: 714910    
Bug Blocks:    

Description Dax Kelson 2009-07-23 21:14:13 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090717 Fedora/3.5.1-1.fc11 Firefox/3.5.1 AutoPager/0.5.2.2 (http://www.teesoft.info/)

With rug this command existed:

rug set security-level checksum

It was a one-time command you could run. Very useful, especially in a lab environment where we are testing packages that aren't signed.

With zypper I see no equivalent. However, I did discover that you can manually edit the repo file in /etc/zypp/repos.d/ and add the line 'gpgcheck=0'.

My request:

Add functionality to the "zypper addrepo" command such as '--set-gpgcheck 0'. Also add something similar to the "zypper modifyrepo" command.

Reproducible: Always




This is regression from rug.
Comment 1 Jan Kupec 2009-07-29 12:55:32 UTC
Thanx for the report! Sure, this is an easy thing to do, but with low priority. Patch is always welcome.

Speaking of regressions from rug - this is not in the set of rug functionality that we internally agreed to provide in zypper for SLE11 (derived from openSUSE 11.1) => it's a feature request, not a bug.
Comment 2 Jan Kupec 2010-09-29 14:28:28 UTC
11.1 -> 11.4
Comment 3 Jason Craig 2011-02-21 00:26:38 UTC
Still present in 11.4 RC1.

(changed during the 2011-02-20 Open-Bugs-Day about bugs for obsolete versions of openSUSE)
Comment 5 Dominik Heidler 2011-05-05 13:08:29 UTC
fixed in zypper 1.6.2 (git commit 724bf5870f6db661356862776a791459fc505a9f)
Comment 6 Michael Andres 2011-08-30 09:20:06 UTC
The implementation seems to change the default behavior for all newly created repos to have gpgchecks _disabled_.
Comment 7 Michael Andres 2011-08-30 09:54:32 UTC
fixed in zypper-1.6.15