Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 172496
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage team <dev-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mr. Bones. <mr_bones_@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
exclude_suffixes.patch Add new PORTAGE_COMPRESS_EXCLUDE_SUFFIXES variable. patch Zac Medico 2008-08-15 22:08 0000 1.92 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 172496 depends on: Show dependency tree
Bug 172496 blocks: 210077 216231
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-28 02:33 0000
<Mr_Bones_> vapier: so you could set something like ECOMPRESSDIR_IGNORE="html
pdfs pictures" and have ecompressdir ignore those dirs
<vapier> Mr_Bones_: i added support for ignoring of whole directories, hadnt
thought about doing that as well
<vapier> sounds feasible, but i'd do it bash style ECOMPRESS_MASK="html *.pdf
*.gif"
<vapier> then you could do use regular bash expressions

------- Comment #1 From Marius Mauch (RETIRED) 2007-10-06 15:32:55 0000 -------
Status?

------- Comment #2 From Zac Medico 2008-07-24 15:10:19 0000 -------
*** Bug 232843 has been marked as a duplicate of this bug. ***

------- Comment #3 From Zac Medico 2008-07-24 15:12:05 0000 -------
I think we should do like antarus suggested and use the `file` command to
separate out the text files and just compress those since generally those are
the only ones that we really like to have compressed.

------- Comment #4 From Zac Medico 2008-08-15 22:08:53 0000 -------
Created an attachment (id=163003) [details]
Add new PORTAGE_COMPRESS_EXCLUDE_SUFFIXES variable.

Add a PORTAGE_COMPRESS_EXCLUDE_SUFFIXES config variable which is used to filter
ecompress arguments. This allows the user to control compression of files
installed dodoc, excluding files with specific suffix patterns. The current
default value includes all of the suffixes that are recognized by dohtml, as
well as pdf.

(In reply to comment #3)
> I think we should do like antarus suggested and use the `file` command to
> separate out the text files and just compress those since generally those are
> the only ones that we really like to have compressed.

I ruled out this approach since the `file` output would be annoying to parse
(portable?) and we might want to exclude things like html files too.

------- Comment #5 From Zac Medico 2008-09-21 23:40:44 0000 -------
(In reply to comment #4)
> Created an attachment (id=163003) [edit] [details]
> Add new PORTAGE_COMPRESS_EXCLUDE_SUFFIXES variable.

This is released in 2.2_rc9.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug