On 05. des. 2013 10:42, Jiri Kastner wrote:
i like more idea of 'cutting off' oscilloscope from tuna as
it has
more common with rt-tests then with tuna itself.
Agreed! oscilloscope is really useful when joined with cyclictest. And
that's basically the path which this patch starts.
Next step is to rip out the oscilloscope parts from tuna.spec and
MANIFEST. Then to put the following files into a new git repository and
remove them from the tuna git repo:
oscilloscope/*
oscilloscope-cmd
setup-oscilloscope.py (rename to setup.py in new repo)
Then create a new MANIFEST file into the oscilloscope.git tree and copy
over the needed stuff from tuna.spec to oscilloscope.spec. And the
Makefile might also need some minor adjustments when being copied over
to oscilloscope too.
As I know there's some planned steps to rework the packaging parts, I
didn't want to put too much energy into splitting out the oscilloscope
parts from tuna.spec and Makefile yet.
We also need to bear in mind that we probably need to do some packaging
changes in RHEL too, as we currently ship a unified src.rpm with
tuna+oscilloscope. We need to ensure that splitting out oscilloscope
into a separate src.rpm won't cause troubles due to lack of coordination
with the rel-eng team.
With just this patch in place, nothing currently changes in the src.rpm,
it just cleans up the dependency on tuna in the oscilloscope package.
David S.
On Wed, Dec 04, 2013 at 09:47:31PM +0100, David Sommerseth wrote:
> This removes the dependency of tuna in the oscilloscope package and
> prepares the ground for packaging oscilloscope separately later on.
>
> Signed-off-by: David Sommerseth <davids(a)redhat.com>
> ---
> MANIFEST | 7 ++++--
> oscilloscope-cmd.py | 2 +-
> tuna/oscilloscope.py => oscilloscope/__init__.py | 0
> rpm/SPECS/tuna.spec | 9 +++++--
> setup-oscilloscope.py | 31 ++++++++++++++++++++++++
> 5 files changed, 44 insertions(+), 5 deletions(-)
> rename tuna/oscilloscope.py => oscilloscope/__init__.py (100%)
> create mode 100644 setup-oscilloscope.py
>