Monday, April 19, 2010

zypper-1.4.2: rewritten package selection code

Zypper has undergone a major refactoring of its package selection code recently. This was mainly to enable automatic testing and to make it easier and safer to add new features.
I'll submit zypper 1.4.2 including this change to Factory soon. It seems to work fine for the most part, but if you spot something that used to work for you in 1.4.1, please let us know via bugzilla. Don't forget to attach both zypper.log and solver test case.

The new version already enables use of unified package arguments (in install, update, and remove commands) in the form of:
[+/-][repo:][type:]name[.arch][OPevr[.arch]]

± (or ~|!) ; install/remove modifier
repo = ; repo alias, number, or name
type = patch|pattern|product ; if not specified 'package' isimplied
name ; can even be a glob
OP = -|=|>=|<=|>|< ; version operator
evr = [epoch:]version[-release] ; edition (version)

E.g. $ zypper in packman:xine-ui-0.99.5cvs20091115-0.pm.1.4 (don't forget to quote the args, if they contain ?/*/</> or spaces).

More about all this (and about a few more features added in the last months) later ...

There is still some work to do to fully support this (especially don't try foo.arch :O), but the main focus now is to make sure that all that used to work before works also now. For future plans see roadmap and comments in the SolverRequester_test code. Don't hesitate to send feedback to or discuss this stuff on zypp-devel@opensuse.org or comment this blog post.

29 comments:

Anonymous said...

Lets cross the bridge when we come to it......................................................

Anonymous said...

文章很棒~感謝!!..................................................

Anonymous said...

It's great!!..................................................

Anonymous said...

女優大奶性交性愛淫蕩淫慾淫亂淫婦淫妹淫叫淫水淫女情慾情色做愛限制級波霸口交18禁貼圖寫真視訊援交露點爆乳潮吹裸體裸照裸女愛愛無碼尋夢視訊聊天a漫

Anonymous said...

人類最大的悲劇不是死亡,而是沒有掌握有意義的人生..................................................

Anonymous said...

快樂是你與生俱來的權力,它不應該取決於你完成什麼。 ........................................

Anonymous said...

幸福不是一切,人還有責任。..................................................

Anonymous said...

放鬆一下,看個笑話吧!!
站住!還我貞操
珠江路上超強的IT廁所
班長後悔莫及
蚊子是如何誕生的
蚊子的眼淚(煽情版)
笑抽了!

Anonymous said...

It takes all kinds to make a world.................................................................

Anonymous said...

I guess I will need a lot.................................................................

Anonymous said...

生存乃是不斷地在內心與靈魂交戰;寫作是坐著審判自己。.................................................................

Anonymous said...

死亡是悲哀的,但活得不快樂更悲哀。......................................................................

Anonymous said...

人有兩眼一舌,是為了觀察倍於說話的緣故。............................................................

Anonymous said...

加油-不論如何都支持你............................................................

Anonymous said...

很期待新的內容,支持你............................................................

Anonymous said...

才華在逆境中展現,在順境中被掩藏。..................................................................

Anonymous said...

幸福沒有鑰匙,只有梯子。.................................................................

Anonymous said...

Man is not made for defeat. A mean can be destroyed but not defeated..................................................................

Anonymous said...

看看文章轉換心情,也幫你加個油哦..................................................................

Anonymous said...

相見亦無事,不來常思君.................................................................

Anonymous said...

做好事,不需要給人知道,雖然只是一件微不足道的事,但我相信,這會帶給我快樂。..................................................

Anonymous said...

當最困難的時候,也就是離成功不遠的時候。..................................................

Anonymous said...

臨淵羨魚,不如退而結網。............................................................

家唐銘 said...

支持大大~很有啟發性......................................................

Anonymous said...

如果你批評他人。你就沒有時間付出愛......................................................................

Anonymous said...

may the blessing be always with you!!............................................................

Anonymous said...

知識可以傳授,智慧卻不行。每個人必須成為他自己。. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Anonymous said...

時間就是靈魂的生命。................. ................................................

Anonymous said...

人不能像動物一樣活著,而應該追求知識和美德............................................................