From: Johannes Stezenbach <js@sig21.net>
To: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 1/3] command: introduce abi version
Date: Mon, 29 Oct 2012 18:00:10 +0100 [thread overview]
Message-ID: <20121029170010.GA3257@sig21.net> (raw)
In-Reply-To: <20121029160513.GA29599@game.jcrosoft.org>
On Mon, Oct 29, 2012 at 05:05:13PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 10:56 Mon 29 Oct , Johannes Stezenbach wrote:
> >
> > I wonder how this will work in practice. If I use a simple
> > /env/bin/init script and someone makes changes to a command
> > which isn't used by my /env/bin/init, will it still cause
> > my environment to be detected as incompatible?
> >
> > Maybe it would be a good idea to give the user control
> > over when to change COMMAND_ABI_VERSION by putting it into menuconfig?
> >
> > Either way I guess it means the default environment's init script
> > would need to implement automatic update to not lose important settings.
> here you loose nothing we just load defaulenv then you load the old one if you
> one the code does not save the defaultenv automatlically
Well, the whole point of having an environment is that the
user can save a customized version. So by definition
falling back to the default means you are going to annoy seme users
(even though it's usually not difficult to restore the customizations).
> > Bottom line: It's much better to not make incompatible ABI changes _ever_.
> I disagree here sometimes we do need as the ABI is really not convinian or
> POSIX or like this linux one
Well, if an ABI or API is fundamentally broken it might be
a good idea to fix it. But it should be well justified.
And COMMAND_ABI_VERSION seems to make the issue worse and not
better, by forcing an incompatibility where there actually
might be none.
Johannes
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-10-29 17:00 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-22 16:03 [PATCH 0/3] introduce command " Jean-Christophe PLAGNIOL-VILLARD
2012-10-22 16:07 ` [PATCH 1/3] command: introduce " Jean-Christophe PLAGNIOL-VILLARD
2012-10-22 16:07 ` [PATCH 2/3] envfs: add command_abi_version support Jean-Christophe PLAGNIOL-VILLARD
2012-10-23 8:59 ` Sascha Hauer
2012-10-23 10:20 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-23 12:56 ` Sascha Hauer
2012-10-23 13:27 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-22 16:07 ` [PATCH 3/3] environment: detect command_abi_version Jean-Christophe PLAGNIOL-VILLARD
2012-10-29 8:50 ` [PATCH 1/3] command: introduce abi version Sascha Hauer
2012-10-29 9:56 ` Johannes Stezenbach
2012-10-29 10:31 ` Sascha Hauer
2012-10-29 16:05 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-29 17:00 ` Johannes Stezenbach [this message]
2012-10-29 18:05 ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-23 8:51 ` [PATCH 0/3] introduce command " Sascha Hauer
2012-10-23 10:28 ` Jean-Christophe PLAGNIOL-VILLARD
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=20121029170010.GA3257@sig21.net \
--to=js@sig21.net \
--cc=barebox@lists.infradead.org \
--cc=plagnioj@jcrosoft.com \
/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