Bug 182148

Summary: rhnpush shouldn't automatically generate the ~/.rhnpushrc and ./.rhnpushrc config files
Product: [Retired] Red Hat Network Reporter: John Wregglesworth <wregglej>
Component: RHN/BackendAssignee: John Wregglesworth <wregglej>
Status: CLOSED CURRENTRELEASE QA Contact: Vlady Zlatkin <vzlatkin>
Severity: medium Docs Contact:
Priority: medium    
Version: rhn410CC: rhn-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rhn410 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-07-20 01:48:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 188658    
Bug Blocks: 171832, 181957    

Description John Wregglesworth 2006-02-20 19:56:00 UTC
Description of problem: rhnpush shouldn't automatically generate the
~/.rhnpushrc and the ./.rhnpushrc config files. It should, however, use them if
they are present.

Comment 1 John Wregglesworth 2006-02-21 16:19:08 UTC
Fixed in SVN.

Test Plan:
1. On a 410 Sat, create a custom channel through the WebUI.

2. On the 410 sat, make sure that the ~/.rhnpushrc and ./.rhnpushrc files don't
exist and push a package with rhnpush into the custom channel.

rhnpush --server=localhost -c<custom-channel-label> <package-name]

3. Make sure that the ~/.rhnpushrc and ./.rhnpushrc files still aren't present.

4. Create a ./.rhnpushrc file and set an option in it. It could look something
like this:

[rhnpush]
new_cache = 1

5. Run rhnpush the same way you did for 2. It should use the configuration
option that you set in step 4.

6. Create a ~/.rhnpushrc file and set an option in it. It could look something
like this:

[rhnpush]
extended_test = 1

7. Run rhnpush the same way you did for 2. It should use the configuration
option that you set in step 6.

8. Change the ~/.rhnpushrc and ./.rhnpushrc files so they set the same option,
but to different values.

9 Run rhnpush again, and make sure that it uses the value for the option from
./.rhnpushrc.

Comment 2 John Wregglesworth 2006-04-11 14:36:01 UTC
Changing state to ON_QA after QA push.

Comment 4 Beth Nackashi 2006-07-20 00:13:44 UTC
closing - currentrelease

Comment 5 Beth Nackashi 2006-07-20 01:48:16 UTC
closing - current release