ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sviataslau Svirydau <Sviataslau_Svirydau@epam.com>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] [Fwd: [Synaptic-devel] experimental task support added]
Date: Mon, 19 Jul 2004 12:07:23 +0300
Message-ID: <40FB8F4B.3030606@epam.com> (raw)

Приветствую,

В синаптике добавляют возможность выполнять установку пакетов, 
основываясь на задачах, которые необходимо будет выполнять пользователю.
У нас в той или иной форме такой подход уже не раз обсуждался, как одно 
из следствий - наличие у нас чисто виртуальных пакетов.
Сейчас появляется возможность приделать для этого еще и более-менее 
нормальное лицо.
В оригинале используется 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 <mvogt@acm.org>
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 <Sviataslau_Svirydau at epam.com>
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.



             reply	other threads:[~2004-07-19  9:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-19  9:07 Sviataslau Svirydau [this message]
2004-07-19  9:18 ` Alexey I. Froloff
2004-07-19  9:44   ` Sviataslau Svirydau
2004-07-19 10:55     ` Alexey I. Froloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40FB8F4B.3030606@epam.com \
    --to=sviataslau_svirydau@epam.com \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git