Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 772849 Details for
Bug 803837
[RFE] spacewalk-repo-sync should process channel-specific config options, including the includepkgs directive
Home
New
Search
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.rh90 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 - read include/exclude from conf file.
0001-803837-RFE-spacewalk-repo-sync-should-process-channe.patch (text/plain), 1.17 KB, created by
Dimitar Yordanov
on 2013-07-12 19:38:14 UTC
(
hide
)
Description:
Patch - read include/exclude from conf file.
Filename:
MIME Type:
Creator:
Dimitar Yordanov
Created:
2013-07-12 19:38:14 UTC
Size:
1.17 KB
patch
obsolete
>From 27b97abff2292308c0cd195a69947b3ff2d2489b Mon Sep 17 00:00:00 2001 >From: Dimitar Yordanov <dyordano@redhat.com> >Date: Fri, 12 Jul 2013 21:32:21 +0200 >Subject: [PATCH] 803837 - [RFE] spacewalk-repo-sync should process > channel-specific config options > >--- > backend/satellite_tools/repo_plugins/yum_src.py | 6 ++++++ > 1 files changed, 6 insertions(+), 0 deletions(-) > >diff --git a/backend/satellite_tools/repo_plugins/yum_src.py b/backend/satellite_tools/repo_plugins/yum_src.py >index 3658289..ebdb771 100644 >--- a/backend/satellite_tools/repo_plugins/yum_src.py >+++ b/backend/satellite_tools/repo_plugins/yum_src.py >@@ -159,6 +159,12 @@ class ContentSource(object): > self.sack.populate(self.repo, 'metadata', None, 0) > pkglist = self.sack.returnPackages() > self.num_packages = len(pkglist) >+ >+ for filter_conf in self.repo.exclude: >+ filters.append(('-',[filter_conf])) >+ for filter_conf in self.repo.includepkgs: >+ filters.append(('+',[filter_conf])) >+ > if filters: > pkglist = self._filter_packages(pkglist, filters) > pkglist = self._get_package_dependencies(self.sack, pkglist) >-- >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 803837
: 772849