mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Oleg Verych <olecom@flower.upol.cz>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Jan Engelhardt <jengelh@computergmbh.de>,
	zippel@linux-m68k.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Unfortunate infinite make recursion
Date: Sun, 23 Sep 2007 09:37:48 +0200	[thread overview]
Message-ID: <20070923073748.GR24301@flower.upol.cz> (raw)
In-Reply-To: <20070923060335.GA22208@uranus.ravnborg.org>

On Sun, Sep 23, 2007 at 08:03:35AM +0200, Sam Ravnborg wrote:
> > > Please Oleg.
> > > You know very well that most people will not have their kernel src RO.
> > 
> > Sure, if it will be not comfortable.
> > 
> > But if kbuild deals with this transparently, it must be OK. Brokenness
> > due to binutils, kbuild, root user bugs won't garbage source. Only thing
> > to ask from experienced users *and* kernel developers, is
> > `useradd kbuild`, everything else will not bother anybody.
> Better would be to fix the bugs where we today clobber the sources.
> Care to point out the exact cases you see.

It is not about particular case, it is about whole environment.

* interactive:
    shell (profile setup).--> source editing / patching
                          `-> building parts / doing tests

    where profile is one particular source tree with particular
    config/development goals. On multiple terminals (sessions), one
    may just type in favorite shell `wana profile-xx` and environment
    is set up there. I.e.

    + where ever you are, it's easy to go to current obj or src tree,
    + quilt knows its setup
    + kbuild does also
    + tracking files, sent to editor (e.g. emacsclient / emacsserver)
      o easily composing file / change sets to be operated by quilt
      o kbuild knows exactly what to check and possibly to rebuild
    + all actions are written to history, that can be imported into any session
      o saving sessions
      o restore sessions: checking profile consistency / updating
    + less ugly (e.g. just stupid bash command line) user interface
      o even ordinary command line can be improved much-much more in
        terms of efficiency and comfort
      o more nice-looking information of what is happening and how is
        happening

* automatic:
    running setup of selected profiles:
    o patch/update sources
    o configure and (cross) build multiple source trees with multiple output
      trees each.
    o run time testing: emulators, hardware.

Many ideas, collected in kbuild-2.5-history.tar.bz2 back in 2000, are
still interesting and useful.

More i do development, more i realize, that i spend too much time to
do trivial and repeating things. And this time will not go less, if
something like that will be by hand.

I'd really like to see a work flow of best development staff, because
behind patches i can not see anything. And frankly, i doubt there's
anything significant there. The only sharing of tools i can see is
patch scripts (now quilt), diff-tools, linux/scripts. Still just tools.

There's no environment, where people would know particular configs for
editors, mailers, 2-3 steps easy to get right help messages, i.e
*environment*. UI tricks, like common, most useful, sh aliases for using
tools, different color schemas: for error/log output, editing C or asm
(with linux specific annotations, rules), tools like checkpatch, but not
checkpatch -- helper for developers to get changes checked and ready to
create actual patch, etc. etc. etc....

For example, i'd really like to have, candy C + diff color fontlocking
(emacs' brain damaged lexicon) for easy patch reviewing. I did some
trivial enhancements more than 3 years ago, like highlighting of actions
that change variable's value, thus, i don't do many stupid things in C any
more. I'd like to have candy fontlocking for sed and shell and
sed-in-shell syntax, etc. etc.

And all this is needed just for stupid terminal emulator. So, what
people are doing all this time? Noo, X? There's no X, period.
____

  reply	other threads:[~2007-09-23  7:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-22 11:24 Jan Engelhardt
2007-09-22 15:42 ` Oleg Verych
2007-09-22 20:40   ` Sam Ravnborg
2007-09-22 22:23     ` Oleg Verych
2007-09-23  6:03       ` Sam Ravnborg
2007-09-23  7:37         ` Oleg Verych [this message]
2007-09-22 20:52 ` Sam Ravnborg
2007-09-23  6:17   ` Jan Engelhardt
     [not found] <96blF-29e-27@gated-at.bofh.it>
2007-09-22 21:19 ` Bodo Eggert

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=20070923073748.GR24301@flower.upol.cz \
    --to=olecom@flower.upol.cz \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    --cc=zippel@linux-m68k.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

all inboxes | Powered by JetHome®