[Yum] future stuff, again

Grigory Bakunov black at asplinux.ru
Thu Aug 29 14:44:19 UTC 2002


On 27 Aug 2002, seth vidal wrote:


I need to sorry for delay - to many works on this week.

> hmmm. I'm just being paranoid about creating security problems :)
Sure.
It's a good virtue for admin. :)

> > > 4. implement reget support that was sent in.
> > YES!!!! :)
> can you re-send that patch you submitted a while back - I want to look
> at it again but I think I lost it.

Ooops.
As i already say we have our own cvs repository with yum and our patches
ALL in this repository.
I make diff for you, it's have reget support, lots of cleanup etc...
I need to say - i didn't test this code.


I also find one funky bug - then you do
yum clean headers 
it doesn't remove header.info file.

> > > 2. fix up/deal with/make saner urlgrab
> > > 3. make it i18n compliant - so we could use different log stuff - I'm
> > > going to have to figure out how to do this first :) I don't think it's
> > > terribly hard but I don't know how to do it.
> > YESYESYES! :)
> > Look at translate.py in yum distribution! :)
> > And look like anaconda support i18n.
> 
> I will, I'd like to KNOW how it works better, not just thief some
> working code. I know the anaconda stuff does it but I want to be comfy
> with it first. just b/c this is a learning-experience for me :)


Oh.
It's very easy.
Let's the battle begin!

1) Change s/Catalog('up2date')/Catalog('mutt')/g
	make sure what you have mutt.mo file in
	/usr/share/locale/{your_locale}/ directory
2) start python interpreter and follow me :)
black% python                                                           
Python 1.5.2 (#1, Jul 22 2002, 20:19:42)  [GCC 2.96 20000731 (ASPLinux 7.3 2.96-1 on linux-i386
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
# load translate.py module
>>> from translate import _, N_, cat

# All strings what need to be translated must be wrapped with _().
# it's easy. look:
>>> _('Test')
'Test'

# But if file mutt.mo already defined translation of this word - it's get 
# it like this:
>>> _('Mail')                       
'\363\317\332\304\301\324\330'

After this you need to know what we have sort of tools to extract
_("strings") from source and prepare .po files.
Read `info gettext` for short instructions.

So?
Any more questions? :)

> 
> > > 4. Make the rpm callbacks prettier
> > > 5. make yum-arch more intelligent about which headers it makes new -I
> > > don't know if this will speed it up at  all, but its worth a shot
> > 
> > What about server side dependences ?
> > I realy like yum but up2date works MUCH faster on big repositories :(
> > 
> 
> Thats REALLY not in the scope of yum. The server-side would have to be
> passed a lot of information. This is closer to what current does for
> up2date and I'm not sure how you'd go about deciding that part.

NONONO!
I just mean what we can store dependency tree in file on server!


> 
> ah - but they don't make the new kernels the default - thats what the
> grub stuff is for.
> 

Ah yes! I absolutely foret about it.
Youre right!


-- 
........................................................................
IRC: irc.openprojects.net #asplinux                      Grigory Bakunov
EMAIL: black at asplinux.ru                           ASPLinux Support Team
ICQ: 51369901                                     http://www.asplinux.ru
-----BEGIN GEEK CODE BLOCK-----
GCS/MU d-(--) s:- a- C+++>++$ UBLAVSX+++$ P+ L++++$ E++$ W++ N+>- o? K?
w-- O- M V-(--) PS+ PE+ !Y PGP+>++++ t+ 5++ X+++ R+++ tv+>-- b+++ ?DI D+
G++ e>++$ h- r++ y+ z++(+++)
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diff.gz
Type: application/x-gzip
Size: 33162 bytes
Desc: 
Url : http://lists.baseurl.org/pipermail/yum/attachments/20020829/d06305a0/attachment-0001.bin 


More information about the Yum mailing list