Re: Question about debugging of bedtool's autopkgtest fail

2018-04-07 Thread Andreas Tille
Hi Liubov,

On Sat, Apr 07, 2018 at 09:51:08AM +, Liubov Chuprikova wrote:
> I've looked at *bedtools* package yesterday to understand how it works and
> how it is tested. The tests are written in a new way for me. It seems that
> I need to make changes in the test files outside the debian directory. Is
> it normal to modify upstream files in the usual way or I need something
> special to know how to work with upstream files?

You should not change upstream files.  If there is any need to change
these you can do this with quilt patches.  This is a short quilt
workflow (make sure you have added a quilt configuration as described in
Debian Med policy).

  quilt new test_suite_fixes.patch
  quilt edit file1_that_needs_to be changed
  quilt edit file2_that_needs_to be changed
  quilt refresh
  quilt pop
  git add debian/patches/*
  git commit -a -m"Fix upstream tests"

If you are not as comfortable with quilt you can alternatively edit the
git files and do

  mkdir -p debian/patches
  git diff > debian/patches/test_suite_fixes.patch
  echo test_suite_fixes.patch >> debian/patches/series

(the series file is listing all patches that should be applied.  You
can have more than one patch.)

In this case make sure you revert your changes in upstream dir -
may be by using

  git stash

If you are using patches please also add DEP3 headers at least
specifying

  Description: Fix test suite
  Author:
  Last-Update:

Hope this is sufficient for a short introduction 

  Andreas.

-- 
http://fam-tille.de



Question about debugging of bedtool's autopkgtest fail

2018-04-07 Thread Liubov Chuprikova
Hi Andreas,

I've looked at *bedtools* package yesterday to understand how it works and
how it is tested. The tests are written in a new way for me. It seems that
I need to make changes in the test files outside the debian directory. Is
it normal to modify upstream files in the usual way or I need something
special to know how to work with upstream files?

Thank you,
Liubov


Re: scoary Re: spread-phy missing, was Re: pynast did not migrate to salsa?

2018-04-07 Thread Andreas Tille
On Fri, Apr 06, 2018 at 09:47:53PM +0200, Andreas Tille wrote:
> On Fri, Apr 06, 2018 at 06:56:46PM +0200, Steffen Möller wrote:
> > The task page presented an unfit URL for scoary and also for the package
> > right above it - is this possibly because these are "yellow" packages that
> > are yet not in the distribution?
> 
> Ups, all "yellow" Git URL's are broken.  I need to check this.

Fixed[1].  It was a bug in the machine readable gatherer that was rewritten
for salsa.

Please keep on with your QA checks which are really valuable

  Andreas.

[1] 
https://salsa.debian.org/blends-team/website/commit/22d8aac9c8c069d69803578e15d6edabf4cb4603
 

-- 
http://fam-tille.de