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 158669 Details for
Bug 247275
syncing imcremental dumps on disconnected satellites unlinks existing packages from rhnchannelpackage
[?]
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 to skip package clean up while importing channel dumps
inc-dumps.patch (text/x-patch), 1.32 KB, created by
Pradeep Kilambi
on 2007-07-06 16:44:12 UTC
(
hide
)
Description:
patch to skip package clean up while importing channel dumps
Filename:
MIME Type:
Creator:
Pradeep Kilambi
Created:
2007-07-06 16:44:12 UTC
Size:
1.32 KB
patch
obsolete
>Index: sync_handlers.py >=================================================================== >--- sync_handlers.py (revision 117783) >+++ sync_handlers.py (working copy) >@@ -400,10 +400,10 @@ > importer.status() > return importer > >-def link_channel_packages(batch): >+def link_channel_packages(batch, strict=1): > importer = packageImport.ChannelPackageSubscription(batch, > diskImportLib.get_backend(), >- caller="satsync.linkPackagesToChannels", strict=1) >+ caller="satsync.linkPackagesToChannels", strict=strict) > importer.run() > importer.status() > return importer >Index: satsync.py >=================================================================== >--- satsync.py (revision 117783) >+++ satsync.py (working copy) >@@ -1629,7 +1629,11 @@ > uq_packages[pid] = package > > try: >- importer = sync_handlers.link_channel_packages(uq_packages.values()) >+ if OPTIONS.mount_point: >+ importer = sync_handlers.link_channel_packages(uq_packages.values(), strict=0) >+ else: >+ importer = sync_handlers.link_channel_packages(uq_packages.values()) >+ > except (SQLError, SQLSchemaError, SQLConnectError), e: > tbOut = cStringIO.StringIO() > Traceback(mail=0, ostream=tbOut, with_locals=1)
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 247275
: 158669