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 867636 Details for
Bug 1069879
spacwalk-clone-by-date prints the same message for every channel.
[?]
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]
Patch
0001-1069879-sw-repo-sync-prints-message-per-channel.patch (text/plain), 1.54 KB, created by
Dimitar Yordanov
on 2014-02-25 20:40:56 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dimitar Yordanov
Created:
2014-02-25 20:40:56 UTC
Size:
1.54 KB
patch
obsolete
>From e54dd0b98837839c7d417fb395c110fe89808573 Mon Sep 17 00:00:00 2001 >From: Dimitar Yordanov <dyordano@redhat.com> >Date: Tue, 25 Feb 2014 21:38:51 +0100 >Subject: [PATCH] 1069879 - sw-repo-sync prints message per channel > >--- > utils/cloneByDate.py | 13 ++++++------- > 1 file changed, 6 insertions(+), 7 deletions(-) > >diff --git a/utils/cloneByDate.py b/utils/cloneByDate.py >index 588a1da..7824395 100644 >--- a/utils/cloneByDate.py >+++ b/utils/cloneByDate.py >@@ -128,7 +128,11 @@ def main(options): > > > print "Reading repository information." >- >+ if options.use_update_date: >+ options.use_update_date = 'update_date' >+ else: >+ options.use_update_date = 'issue_date' >+ print "Using %s." % options.use_update_date > > cloners = [] > needed_channels = [] >@@ -561,13 +565,8 @@ class ChannelCloner: > """ Returns tuple of all available for cloning, and what falls in the date range""" > available_errata = self.db_api.applicable_errata(self.from_label, self.to_label) > to_clone = [] >- if self.use_update_date: >- date_to_use = 'update_date' >- else: >- date_to_use = 'issue_date' >- print "Using ", date_to_use > for err in available_errata: >- if self.to_date and err[date_to_use].date() <= self.to_date.date(): >+ if self.to_date and err[self.use_update_date].date() <= self.to_date.date(): > if self.security_only: > if err['advisory_type'] == 'Security Advisory': > to_clone.append(err) >-- >1.8.3.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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1069879
: 867636