From: David Sterba <dsterba@suse.cz>
To: Zach Brown <zab@redhat.com>
Cc: David Sterba <dsterba@suse.cz>, linux-btrfs@vger.kernel.org
Subject: Re: [PATCH 1/2] btrfs-progs: introduce command namespace for development features
Date: Wed, 7 Aug 2013 13:26:58 +0200 [thread overview]
Message-ID: <20130807112658.GP5284@twin.jikos.cz> (raw)
In-Reply-To: <20130806180137.GM12314@lenny.home.zabbo.net>
On Tue, Aug 06, 2013 at 11:01:37AM -0700, Zach Brown wrote:
> My biggest worry about this is that it complicates the coordination of
> automated testing, which is already in a terrible state for btrfs-progs.
> It can't possibly motivate people to write tests if we make the process
> more cumbersome than it already is.
>
> So we develop tests for a command (maybe in xfstests, maybe in
> btrfs-progs) that use this magical _ namespace. Then the command is
> merged. When are the tests updated? Do they fallback to both so that
> the tests can work across the merge? Do we add some complexity to try
> and magically match _ commands that aren't found with matching commands
> somewhere else in the heirarchy? Ugh, all 'round.
My motivation is to merge various patchsets into one git tree even if
it's not in a final state of development, to let people test use it and
give feedback about usability. Patches floating around in the
mailinglist get tested by very few people.
A test developed for a _ command is unlikely to be merged into xfstests,
I expect the test to land there after the command is fininished
and has fixed command line UI.
In the meantime, the test reflects the _ status of the command. I was
thinking about extending xfstests to allow external testscripts to be
run as if it were a regular xfstest (using all the infrastructure). That
way the test is part of the btrfs-progs patchset and is synchronized
with the command name. Once it's done, _ is dropped and test can be
submitted to xfstests.
> I'm not sure I understand what problem this is really solving. People
> shouldn't be expecting to find incomplete features in the master branch,
> right? If people are looking to test incomplete work they can get your
> integration branch and, well, we don't care if it changes later?
Well, I hope no incomplete feature ends up in master, but for example
the chunk-recover got merged. Moving the command name is simple, but we
want to catch it earlier than when it's too late.
I have to re-organize integration branch(es) better, so there is eg. a
branch without unstable stuff, possibly always in a pullable state. On
top of that a bunch of topic branches with the _ features.
Let me know if I missed to answer something important.
david
next prev parent reply other threads:[~2013-08-07 11:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 12:25 [PATCH 0/2] btrfs-progs: Introduce devel namespace David Sterba
2013-08-06 12:25 ` [PATCH 1/2] btrfs-progs: introduce command namespace for development features David Sterba
2013-08-06 18:01 ` Zach Brown
2013-08-07 3:10 ` Anand Jain
2013-08-07 11:26 ` David Sterba [this message]
2013-08-07 12:38 ` David Sterba
2013-08-07 18:12 ` Zach Brown
2013-08-06 12:25 ` [PATCH 2/2] btrfs-progs: move chunk-recover command to devel namespace David Sterba
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=20130807112658.GP5284@twin.jikos.cz \
--to=dsterba@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=zab@redhat.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;
as well as URLs for NNTP newsgroup(s).