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:

瑜吟 said...

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

BurtonClary031 said...

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

上心 said...

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

韋于倫成 said...

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

育德 said...

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

D415_evonN_Risinger0 said...

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

又陽 said...

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

SadeRa盈君iford0412 said...

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

SadeRa盈君iford0412 said...

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

曉薇 said...

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

邦雄 said...

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

子帆子帆 said...

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

陳登陽 said...

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

江冠彭珮李佳宏陽筠 said...

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

姿柯瑩柯dgdd憶曾g智曾 said...

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

王美妹 said...

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

宛真宛真 said...

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

寧年 said...

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

彥安 said...

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

郁雯郁雯 said...

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

俊成俊成 said...

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

RicoLisi0802志竹 said...

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

ToryO_Vis建銘 said...

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

家唐銘 said...

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

邱思吳佳順翰 said...

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

淑昆珍昆珍君 said...

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

冠霖林冠霖林冠霖林 said...

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

佳張張張張燕張張張張張 said...

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

廷家祥家祥雯 said...

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