public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Svyatogor <svyatogor@gentoo.org>
To: gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files
Date: Wed, 13 Aug 2003 20:19:26 +0300	[thread overview]
Message-ID: <200308132019.37871.svyatogor@gentoo.org> (raw)
In-Reply-To: <200308131844.24013.lanius@gentoo.org>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I just want to clarify what is the purpose of the rules file. It contains a 
set of functions for generating the various menu elements for a spicific 
window manager. E.g. it would contain a start_submenu function, which is 
called to begin a new sub menu.

I would like to explain my position of using bash scripts. Even though the 
rules files will be installed by the WM ebuild, it is likely that the users 
will want to change some things, which are not directly customisable through 
the menu files (though we'll do our best to cut down on such things). It is 
reasonable to expect the vast majority of users to be familiar with bash (at 
least basic stuff), while not really many users now Python. With this in mind 
I have proposed to use shell.

P.S. Heh, I also was gonna write it. Youwere quicker ;)

On Wednesday 13 August 2003 19:44, Heinrich Wendel wrote:
> Hi,
>
> Svyatogor and me are working on a menu system (like debian ones) for
> gentoo. Now we have come to the part where we have to decide whether to use
> python or bash scripts for the rule files of the window managers.
>
> The Python scripts are 2 times as fast as a bash script and in my opinion
> would make live easier, are easier to handle. But svyatogor votes for bash
> scripts, as more people know how to write bash scripts than python scripts,
> here an example of both:
>
> Python:
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/examples/f
>luxbox.py?rev=1.3&cvsroot=gentoo-src&content-type=text/plain
>
> Bash:
> http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/gentoo-menu/examples/f
>luxbox.wm?rev=1.3&cvsroot=gentoo-src&content-type=text/plain
>
> What would you prefer?
>
> mfg, heinrich
>
> --
> gentoo-dev@gentoo.org mailing list

- -- 
Let the Force be with us!
Sergey Kuleshov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/OnMnbYNN+aDJgscRAqW6AKDCZdMgxCGGqrEJgEfJA3z75yL4KgCfRIOi
4+NyYXve3gBOubo8RCWqrHU=
=SeTj
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-08-13 17:51 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13 16:44 [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files Heinrich Wendel
2003-08-13 17:19 ` Svyatogor [this message]
2003-08-13 17:52 ` Sven Vermeulen
2003-08-13 17:56 ` Spider
2003-08-13 18:32   ` Adam Porich
2003-08-13 19:21     ` Philippe Lafoucrière
2003-08-13 19:19 ` [gentoo-dev] " thomas weidner
2003-08-13 20:38 ` [gentoo-dev] " Chris Gianelloni
2003-08-13 20:38   ` Heinrich Wendel
2003-08-13 21:08     ` Chris Gianelloni
2003-08-13 21:16       ` Heinrich Wendel
2003-08-13 21:50         ` Chris Gianelloni
2003-08-13 21:55         ` Peter Ruskin
2003-08-13 22:17           ` Heinrich Wendel
2003-08-13 23:35             ` Chris Gianelloni
2003-08-14  0:36               ` Heinrich Wendel
2003-08-13 23:48             ` Peter Ruskin
2003-08-14  3:00               ` Mike Frysinger
2003-08-14  8:11                 ` [gentoo-dev] Gentoo Menu - Some Comments Svyatogor
2003-08-14 10:02                   ` Peter Ruskin
2003-08-14 11:10                     ` Chris Gianelloni
2003-08-14 11:31                     ` Stuart Herbert
2003-08-14 11:45                       ` John
2003-08-14 12:00                         ` Chris Gianelloni
2003-08-14 12:01                       ` Svyatogor
2003-08-14 15:05                         ` Stuart Herbert
2003-08-14 11:34                     ` Svyatogor
2003-08-14 11:46                       ` Chris Gianelloni
2003-08-14 11:46                       ` Paul de Vrieze
2003-08-14 12:02                         ` Seemant Kulleen
2003-08-13 22:31           ` [gentoo-dev] Gentoo Menu - Bash vs. Python Rule files Fred Van Andel
2003-08-13 23:09           ` Mike Frysinger
2003-08-13 23:12             ` Heinrich Wendel
2003-08-13 22:14 ` Fred Van Andel
2003-08-13 22:48   ` Heinrich Wendel
2003-08-13 22:54     ` Fred Van Andel
2003-08-14 10:47     ` Chris Gianelloni
2003-08-13 22:54   ` Spider
2003-08-13 22:57     ` Heinrich Wendel
2003-08-14  0:11       ` Spider
2003-08-14 10:49       ` Chris Gianelloni
2003-08-14 10:24   ` Paul de Vrieze
2003-08-14 11:17     ` Chris Gianelloni
2003-08-14 11:22       ` Paul de Vrieze
2003-08-14 11:43         ` Chris Gianelloni
     [not found] ` <200308140000.47539.lanius@gentoo.org>
2003-08-13 23:47   ` Chris Gianelloni
2003-08-13 23:45     ` Heinrich Wendel
2003-08-14  0:10       ` Heinrich Wendel
2003-08-14 10:59         ` Chris Gianelloni
2003-08-14 10:56       ` Chris Gianelloni
2003-08-14 11:10         ` Toby Dickenson
2003-08-14 11:19           ` Chris Gianelloni
2003-08-14 11:28         ` Svyatogor
2003-08-14 11:37           ` Chris Gianelloni
2003-08-14 11:53             ` Paul de Vrieze

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=200308132019.37871.svyatogor@gentoo.org \
    --to=svyatogor@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox