[Bug 212233] New: Save up to 36 MB in inst-sys
https://bugzilla.novell.com/show_bug.cgi?id=212233 Summary: Save up to 36 MB in inst-sys Product: openSUSE 10.2 Version: Alpha 5 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Installation AssignedTo: snwint@novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com CC: aj@novell.com I've found out that we have a lot of useless .mo file in the /inst-sys/usr/share/YaST2/locale/, I have a script, that can tell which files are not needed :) Well, there might be exceptions, if someone uses `dgettext` function which is not handled yet. But if anybody cares.... AJ: what do you think of that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 ------- Comment #1 from locilka@novell.com 2006-10-13 07:19 MST ------- Created an attachment (id=101421) --> (https://bugzilla.novell.com/attachment.cgi?id=101421&action=view) Script -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 ------- Comment #2 from aj@novell.com 2006-10-13 07:24 MST ------- fine with me to try for Alpha5+. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 ------- Comment #3 from snwint@novell.com 2006-10-13 07:32 MST ------- Yes, translations are by far the biggest part of our inst-sys. If we can reduce that, it would help a lot. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |visnov@novell.com, mvidner@novell.com, | |jsrain@novell.com ------- Comment #4 from locilka@novell.com 2006-10-13 07:41 MST ------- I'd ask someone from YaST team to evaluate this possibility. Martin, Jiri, Stano: what do you think of that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 mvidner@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Save up to 36 MB in inst-sys|Save up to 36 MB in inst-sys (unused .mo's) ------- Comment #5 from mvidner@novell.com 2006-10-13 08:06 MST ------- Good idea. Your script will miss textdomains that are used from binaries, or declared with different case ("Textdomain"). I think we should use something like this script (for ycp sources) plus a whitelist (binaries, special cases). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 ------- Comment #6 from locilka@novell.com 2006-10-16 06:44 MST ------- Created an attachment (id=101550) --> (https://bugzilla.novell.com/attachment.cgi?id=101550&action=view) New version of the script Whitelist is built-in and includes: packages-qt control-center storage iso-languages iso-countries packages packagemanager base control rpm-groups -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 ------- Comment #7 from locilka@novell.com 2006-10-16 06:44 MST ------- Created an attachment (id=101551) --> (https://bugzilla.novell.com/attachment.cgi?id=101551&action=view) Output of the script Saves cca 33.5 MB -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #101551|0 |1 is obsolete| | ------- Comment #8 from locilka@novell.com 2006-10-16 06:48 MST ------- Created an attachment (id=101554) --> (https://bugzilla.novell.com/attachment.cgi?id=101554&action=view) Output of the script -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 ------- Comment #9 from snwint@novell.com 2006-10-16 10:03 MST ------- Created an attachment (id=101588) --> (https://bugzilla.novell.com/attachment.cgi?id=101588&action=view) alternative script I've made a perl script based on your script that hopefully does the same but much faster. ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=212233 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #10 from snwint@novell.com 2006-10-16 10:33 MST ------- Ok, it saved about 15MB after compression and YaST didn't crash right away afterwards. So, I'd call this working. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com