From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <40FB8F4B.3030606@epam.com> Date: Mon, 19 Jul 2004 12:07:23 +0300 From: Sviataslau Svirydau Organization: EPAm User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040621 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: ALT Devel discussion list Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 19 Jul 2004 09:07:28.0085 (UTC) FILETIME=[D08C0050:01C46D6F] Subject: [devel] [Fwd: [Synaptic-devel] experimental task support added] X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 09:07:32 -0000 Archived-At: List-Archive: List-Post: Приветствую, В синаптике добавляют возможность выполнять установку пакетов, основываясь на задачах, которые необходимо будет выполнять пользователю. У нас в той или иной форме такой подход уже не раз обсуждался, как одно из следствий - наличие у нас чисто виртуальных пакетов. Сейчас появляется возможность приделать для этого еще и более-менее нормальное лицо. В оригинале используется Debian's tasksel. Теоритически, не составляет труда это прикрутить в любой системе. Нужно лишь определить по каким признакам определять таски (группы пакетов). Например, основываясь на rpm, это может быть Provides: task?.. Но не стоит забывать, что во время вызова tasksel база данных рпм может быть заблокирована. Какие будут мысли-предложения? Полное обсуждение доступно здесь: http://lists.gnu.org/archive/html/synaptic-devel/2004-07/msg00031.html -------- Original Message -------- Subject: [Synaptic-devel] experimental task support added Date: 16 Jul 2004 02:17:08 +0200 From: Michael Vogt To: synaptic-devel@nongnu.org Dear Friends, as discussed some weeks ago with Panu I added experimental task support for synaptic. It works pretty well on debian already, but you need a bleeding edge tasksel (get it via "svn co svn://svn.debian.org/tasksel/trunk") to make it work. Here is a screenshot of it in action: http://people.debian.org/~mvo/synaptic/synaptic-with-tasks.png The GUI needs a bit more love, I hope Sebastian can have a look at it :) The Tasks are currently under "File/Tasks", this is likley to change. The design should make it easier for other distros to add there own task (or whatever it is called there) support. The current code uses the following "protocol": Please note, that we can easily change /usr/bin/tasksel to something different or make it configurable via synaptic.conf or -o Synaptic::taskHelperProg or something. Please also note that the --task-descr function (and the properties button in the current GUI) does not work yet. As always, feedback about this feature is welcome! bye, Michael Task support for synaptic ------------------------- Synaptic works on quite a few distributions. To make support for the various task systems easy synaptic needs a helper application called "/usr/bin/tasksel". It has to support the following commands: --list-tasks: returns a list of the format "$taskname\t$task-short-description" --task-packages $task: list the packages included in the given task this option can be used more than once for different tasks --task-descr $task: print a long description about the given task Examples: $ tasksel --list-tasks database-server SQL database desktop Desktop environment dns-server DNS server file-server File server mail-server Mail server print-server Print server web-server Web server $ tasksel --task-packages dns-server --task-packages print-server bind9 bind9-doc dlint dnsutils lwresd cupsys cupsys-bsd cupsys-client cupsys-driver-gimpprint foomatic-db-engine foomatic-db-hpijs foomatic-filters-ppds bye, Michael _______________________________________________ Synaptic-devel mailing list Synaptic-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/synaptic-devel -- Regards, Sviataslau Svirydau phone: +375 17 210 1662, ext. 1302 mobile: +375 29 641 4214 -- Power, n.: The only narcotic regulated by the SEC instead of the FDA.