Bug 679434 - RFE: Automatic repo. id to be shorter
Summary: RFE: Automatic repo. id to be shorter
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Chris Lumens
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-22 15:18 UTC by James Antill
Modified: 2011-03-09 15:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-09 15:23:19 UTC
Type: ---


Attachments (Terms of Use)

Description James Antill 2011-02-22 15:18:14 UTC
Description of problem:
 Currently the F13 repo. name for an anaconda install is:

anaconda-InstallationRepo-201005130101.x86_64

...which is "big". Esp. when we output it in yum, would it be possible to shorten this to something like:

Inst-20100513.x86_64

Comment 1 Chris Lumens 2011-02-22 16:26:37 UTC
What's the length limit you're retrying to stay under?

Comment 2 James Antill 2011-02-23 14:58:21 UTC
So if I run:

http://james.fedorapeople.org/yum/commands/length_distributions.py

...on "installed" then my NEVRA length tails off around 40 characters, add the two space characters and the '@' gives you get an absolute maximum of 37 characters for a _mostly_ non-overflowing repoid (on an 80 char. wide terminal).
 But given there are still 21 installed pkgs with a length of 48, every character helps ... 20-25 characters seems reasonable, to me, but I might be an idiot :).

Comment 3 Chris Lumens 2011-02-23 15:47:56 UTC
Wait, do we even still copy repo config files to /etc/yum.repos.d on the installed system at the end of installation post-F13?  I don't think we do, which means you shouldn't be seeing anaconda-* repos.

Comment 4 James Antill 2011-02-23 19:59:36 UTC
No, this is yumdb data. Eg.

% sudo yum ls yum zsh
Loaded plugins: aliases
Installed Packages
bash.x86_64     4.1.7-1.fc13      @updates                                      
yum.noarch      3.2.29-3.fc13     @fedora-yum-rawhide                           
zsh.x86_64      4.3.10-5.fc13     @anaconda-InstallationRepo-201005130101.x86_64


Note You need to log in before you can comment on or make changes to this bug.