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 999611 Details for
Bug 1198723
[RFE] GPG support for Debian packages /repos
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]
apt-transport-spacewalk patch for signed repos
file_1198723.txt (text/plain), 1.50 KB, created by
schuler.philipp
on 2015-03-09 15:44:34 UTC
(
hide
)
Description:
apt-transport-spacewalk patch for signed repos
Filename:
MIME Type:
Creator:
schuler.philipp
Created:
2015-03-09 15:44:34 UTC
Size:
1.50 KB
patch
obsolete
>diff --git a/pre_invoke.py b/pre_invoke.py >index a84244b..6022637 100755 >--- a/pre_invoke.py >+++ b/pre_invoke.py >@@ -37,10 +37,9 @@ from up2date_client import up2dateErrors > def get_channels(): > """Return channels associated with a machine""" > try: >- channels = ['main'] >+ channels = [] > for channel in rhnChannel.getChannelDetails(): >- if channel['parent_channel']: >- channels.append(channel['label']) >+ channels.append(channel['label']) > return channels > except up2dateErrors.Error: > return [] >@@ -65,18 +64,19 @@ def update_sources_list(): > if source.uri.startswith('spacewalk://'): > source.set_enabled(False) > sw_source.append(source) >+ for source in sw_source: >+ sources.remove(source) > > if up2dateAuth.getSystemId(): > channels = get_channels() > if len(channels): >- for source in sw_source: >- sources.remove(source) >- sources.add(type='deb', >+ for chan in channels: >+ sources.add(type='deb', > uri='spacewalk://' + get_server(), >- dist='channels:', >- orig_comps=channels, >+ dist=chan, >+ orig_comps=['repodata'], > file=get_conf_file() >- ) >+ ) > sources.save() > > if __name__ == '__main__':
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 1198723
: 999611 |
999612
|
999613
|
999617
|
1301897
|
1301909
|
1301915