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 585260 Details for
Bug 822620
spacewalk-repo-sync errors if package already exists in another org
[?]
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]
proposed patch for spacewalk-repo-sync query
0001-fix-spacewalk-repo-sync-query-to-look-at-packages-in.patch (text/plain), 893 bytes, created by
Tasos Papaioannou
on 2012-05-17 15:52:09 UTC
(
hide
)
Description:
proposed patch for spacewalk-repo-sync query
Filename:
MIME Type:
Creator:
Tasos Papaioannou
Created:
2012-05-17 15:52:09 UTC
Size:
893 bytes
patch
obsolete
>From 32c89987325105db96dbb1b494b35feb41380a3e Mon Sep 17 00:00:00 2001 >From: Anastasios Papaioannou <tpapaioa@redhat.com> >Date: Thu, 17 May 2012 11:29:11 -0400 >Subject: [PATCH] fix spacewalk-repo-sync query to look at packages in same > org as channel > >--- > backend/server/rhnPackage.py | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > >diff --git a/backend/server/rhnPackage.py b/backend/server/rhnPackage.py >index f069443..77de2f7 100644 >--- a/backend/server/rhnPackage.py >+++ b/backend/server/rhnPackage.py >@@ -320,6 +320,9 @@ def get_info_for_package(pkg, channel_id): > on p.evr_id = pe.id > join rhnPackageArch pa > on p.package_arch_id = pa.id >+ join rhnChannel c >+ on c.id = :channel_id >+ and c.org_id = p.org_id > left join rhnChannelPackage cp > on p.id = cp.package_id > and cp.channel_id = :channel_id >-- >1.7.7.6 >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 822620
: 585260