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 606237 Details for
Bug 850786
rpmlint doesn't work properly with RI files (unexpanded-macro, file-not-utf8, wrong-file-end-of-line-encoding)
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.rh92 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]
RI files are always binary
ri_files_are_binary.patch (text/plain), 867 bytes, created by
Josef Stribny
on 2012-08-22 12:28:26 UTC
(
hide
)
Description:
RI files are always binary
Filename:
MIME Type:
Creator:
Josef Stribny
Created:
2012-08-22 12:28:26 UTC
Size:
867 bytes
patch
obsolete
>From 61b00f1f964024a28d8e8a7695cf08c7bf8abbcd Mon Sep 17 00:00:00 2001 >From: Josef Strzibny <strzibny@dhcp-25-242.brq.redhat.com> >Date: Wed, 22 Aug 2012 13:41:40 +0200 >Subject: [PATCH] RI files are always binary > >--- > FilesCheck.py | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/FilesCheck.py b/FilesCheck.py >index 147311c..169f941 100644 >--- a/FilesCheck.py >+++ b/FilesCheck.py >@@ -273,6 +273,10 @@ def peek(filename, pkg, length=1024): > if not chunk: # Empty files are considered text > return (chunk, True) > >+ # RI files generated by RDoc are always binary >+ if re.search(r'.*\/ri\/.*\.ri$', filename.lower()): >+ return (chunk, False) >+ > # PDF's are binary but often detected as text by the algorithm below > if filename.lower().endswith('.pdf') and chunk.startswith('%PDF-'): > return (chunk, False) >-- >1.7.11.2 >
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 850786
:
606236
| 606237