Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #8471

Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for building Debian packages with Gradle

Path csiph.com!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.maint.java
Subject Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for building Debian packages with Gradle
Date Thu, 15 Oct 2015 18:20:03 +0200
Message-ID <qjTq3-3aG-55@gated-at.bofh.it> (permalink)
References <qj7Op-7Q1-9@gated-at.bofh.it> <qj8hr-8pd-7@gated-at.bofh.it>
X-Original-To debian-java@lists.debian.org
X-Mailbox-Line From debian-java-request@lists.debian.org Thu Oct 15 16:13:08 2015
Old-Return-Path <emmanuel.bourg@gmail.com>
X-Amavis-Spam-Status No, score=-7.697 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham autolearn_force=no
X-Policyd-Weight using cached result; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=xRrXKoTFRUC2era2Z0vDg0dPFFwj+rcDylWGmxVhJIM=; b=Og9h1KDyfk+9BLxOLSC1dIqm+RCil2I79pG02usZMPa4xOEqul4j9JZKatTbNWKREr /PVDngVuMu/lGSHYb22m8WKV4go5oDfJr9x7tPKMhmZcS3kvIaACf2R5/I+RLaG3m9B/ UiqJdHK5PIRXwBQYtpOydoPKswVS38fQHB9bm2mWWYMcvDVaxzcRrkwKOUD9RW0tzeBt SOQtzCElwNFFyyNVj9FfXZ7KCl3wGjx3jDYR5f+/si7cPjEoNvsjGWDZBqzsVCOwcc/8 k2qlVTgqSSSt64by12f1vVDevOU/6WbHE5brJvNi0/NzrGRNYBxQk4hDXS+WHBiGLpuZ +X2Q==
X-Received by 10.194.158.68 with SMTP id ws4mr12827633wjb.25.1444925556108; Thu, 15 Oct 2015 09:12:36 -0700 (PDT)
Sender robomod@news.nic.it
X-Enigmail-Draft-Status N1110
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 8bit
X-Mailing-List <debian-java@lists.debian.org> archive/latest/18786
List-ID <debian-java.lists.debian.org>
List-URL <https://lists.debian.org/debian-java/>
List-Archive https://lists.debian.org/msgid-search/561FD072.1000707@apache.org
Approved robomod@news.nic.it
Lines 31
Organization linux.* mail to news gateway
X-Original-Date Thu, 15 Oct 2015 18:12:34 +0200
X-Original-Message-ID <561FD072.1000707@apache.org>
X-Original-References <144474241578.11140.17014213312834695527.reportbug@icare.ariane-software.com> <561D0C14.3020904@debian.org>
X-Original-Sender Emmanuel Bourg <emmanuel.bourg@gmail.com>
Xref csiph.com linux.debian.maint.java:8471

Show key headers only | View raw


Le 13/10/2015 15:50, Matthias Klose a écrit :

> if gradle is the next big thing, please make sure that it works with
> zero as well.  It looks like gradle is so slow that it times out on the
> zero architectures.  A simple mode emitting a dot or a line every 15min
> or so if no other output happens would be fine to let the builds finish.

Following this suggestion I've added a build listener displaying a
message every 10 minutes. I hesitated between the lyrics of "Stayin'
Alive" [1] and "Still Alive" [2], but I eventually settled for a simple
"Gradle is still running, please be patient".


> Also, please make sure that your helper is able to skip architecture
> independent bits for arch-only builds.

I'm afraid this is not possible because every Gradle project do things
differently. But we can work around this by specifying the arch any/all
tasks in the override_dh_auto_build* targets. For openjfx I've done
something like this and it seems to work well:

    override_dh_auto_build-arch:
	dh_auto_build -- sdk -x javadoc -x src

    override_dh_auto_build-indep:
	dh_auto_build -- javadoc src

Emmanuel Bourg

[1] https://www.youtube.com/watch?v=I_izvAbhExY
[2] https://www.youtube.com/watch?v=Y6ljFaKRTrI

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Find similar


Thread

Bug#801683: ITP: gradle-debian-helper -- Helper tools for building Debian packages with Gradle Emmanuel Bourg <ebourg@apache.org> - 2015-10-13 15:30 +0200
  Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for  building Debian packages with Gradle Matthias Klose <doko@debian.org> - 2015-10-13 16:00 +0200
    Re: Bug#801683: ITP: gradle-debian-helper -- Helper tools for  building Debian packages with Gradle Emmanuel Bourg <ebourg@apache.org> - 2015-10-15 18:20 +0200

csiph-web