Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 154551 Details for
Bug 239452
up2date 4.5.5 not downloading packages as specified by activation key
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
patch for activation key based package install..
akey.patch (text/x-patch), 2.10 KB, created by
Pradeep Kilambi
on 2007-05-11 15:42:08 UTC
(
hide
)
Description:
patch for activation key based package install..
Filename:
MIME Type:
Creator:
Pradeep Kilambi
Created:
2007-05-11 15:42:08 UTC
Size:
2.10 KB
patch
obsolete
>Index: up2dateBatch.py >=================================================================== >--- up2dateBatch.py (revision 114702) >+++ up2dateBatch.py (working copy) >@@ -51,6 +51,7 @@ > self.noMatchesForComps = 0 > > self.actionPkgListInfo = [] >+ self.actionPkgNames = [] > if self.cfg['useRhn']: > self.__maybeUpdateVersion() > >@@ -182,6 +183,10 @@ > for pkg in self.allAvailablePackages: > if pkg[:4] in actionPkgNVREA: > selPackages.append(pkg) >+ elif self.actionPkgNames: >+ for pkg in self.availablePackages: >+ if pkg[0] in self.actionPkgNames: >+ selPackages.append(pkg) > elif (self.listOfComps != []) and (self.listOfGlobs != []): > for pkg in self.availableUpdates: > selPackages.append(pkg) >@@ -245,10 +250,26 @@ > # should probably iterate over remotePackageNames once > # using a counter, and use that to index into remotePackages > for pkg in actionPkgs: >- # compare nvre instead of just names. >- for tmppkg in filter(lambda a,b=pkg: a[:4]==b[:4], remotePackages): >+ pkg_join = '' >+ for mem in pkg: >+ if mem == 0: >+ pkg_join += '' >+ else: >+ pkg_join += mem >+ if pkg_join == pkg[0]: >+ # In this case, server sent just name info >+ pkg_list = filter(lambda a,b=pkg: a[0]==b[0], remotePackages) >+ else: >+ # compare all fields, as server gave us the info >+ pkg_list = filter(lambda a,b=pkg: a[:4]==b[:4], remotePackages) >+ >+ for tmppkg in pkg_list: > updList.append(tmppkg[0]) >- self.actionPkgListInfo.append(tmppkg) >+ if pkg_join == pkg[0]: >+ if tmppkg[0] not in self.actionPkgNames: >+ self.actionPkgNames.append(tmppkg[0]) >+ else: >+ self.actionPkgListInfo.append(tmppkg) > > if len(updList): > for pkg in updList:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 239452
: 154551