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


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

Bug#792018: RFS: commandbox/2.0.0 ITP -- CFML REPL, CLI, Package Manager, and Embedded Server

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Emmanuel Bourg <ebourg@apache.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.java
Subject Bug#792018: RFS: commandbox/2.0.0 ITP -- CFML REPL, CLI, Package Manager, and Embedded Server
Date Sun, 19 Jul 2015 13:40:02 +0200
Message-ID <pNV6N-1qM-5@gated-at.bofh.it> (permalink)
References <pMKGt-6GP-13@gated-at.bofh.it> <pMN1D-1vP-7@gated-at.bofh.it> <pNtNg-4rN-25@gated-at.bofh.it>
X-Original-To Brad Wood <bdw429s@gmail.com>, 792018@bugs.debian.org
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4.689
Reply-To Emmanuel Bourg <ebourg@apache.org>, 792018@bugs.debian.org
Original-Sender Emmanuel Bourg <emmanuel.bourg@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc wnpp@debian.org, Brad Wood <brad@ortussolutions.com>
X-Debian-Pr-Message followup 792018
X-Debian-Pr-Package wnpp
X-Spam-Bayes score:0.0000 Tokens: new, 19; hammy, 150; neutral, 169; spammy, 0. spammytokens: hammytokens:0.000-+--H*r:e35, 0.000-+--H*RU:e35, 0.000-+--Hx-spam-relays-external:e35, 0.000-+--UD:anonscm.debian.org, 0.000-+--sk:anonscm
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Z5Fs1n6mvfj3OoDvfj12OJKpP4Yh8pj76Ses0urYROw=; b=DbcZEpjTNjN/ROUG9FOs7gW3XBIyGQy5anURFe7VOSmiZJLpLtNwMHOPa6aEa/10R+ QxHvgLsWOoi7HtiUG62m9ks6msRVvtzStFU5DAnvaaZjmfxgT/ep+zh2QdknfDIX3Ps5 I17OTxaDR2dX26DZliAshuPHNnimt8tt3O36b4Sw7DWjstdHoY+qGlyzMXl3faiorkvH 9yjcWbjYhUjL8QIyS/n046SmB+rXUzjG+9G3w16E3uDBFVfErvS0gQjf+vjXLzu+0vNP QIWqyp8lIAx47zW/YCTbv763PN6YUnunaf5ShDZ4+Nu1hu0HjSJ85l1UU/Sri/cuepB1 q+Rg==
X-Received by 10.181.13.36 with SMTP id ev4mr11980646wid.65.1437305878028; Sun, 19 Jul 2015 04:37:58 -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.0.1
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1191914
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <http://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 54
Organization linux.* mail to news gateway
X-Original-Cc Brad Wood <brad@ortussolutions.com>, debian-java@lists.debian.org
X-Original-Date Sun, 19 Jul 2015 13:37:54 +0200
X-Original-Message-ID <55AB8C12.6000301@apache.org>
X-Original-References <CALbQ1omEFjPSJ5iRd448kG6BEFTNrg9psn-qKb8ydJR8goEtsQ@mail.gmail.com> <55A76F1F.1000006@apache.org> <CALbQ1o=vr0moLgTkr7TpTUTupLB+NswkmQ6JvPSZ+47HM-RsGA@mail.gmail.com>
X-Original-Sender Emmanuel Bourg <emmanuel.bourg@gmail.com>
Xref aioe.org linux.debian.bugs.dist:665474 linux.debian.maint.java:8196

Cross-posted to 2 groups.

Show key headers only | View raw


Le 18/07/2015 08:18, Brad Wood a écrit :

> A source package makes sense in theory, but how do I create it? Does it
> contain the uncompiled Java and CFML source for the project?  If the
> source package must contain everything necessary to build my project,
> what restrictions are their on the build tools?  Will I have to rewrite
> to something other than Ant?  The current build is rather large and
> includes generation of API docs, and updating our artifacts repo.

A source package consists in the uncompiled upstream sources plus Debian
specific metadata and a makefile to build the project. Usually this
makefile delegates the work to the upstream build system, so you don't
have to rewrite something from scratch.

See for example the jsch package [1]. It contains the upstream sources
and an additional 'debian' directory. In this directory you'll find the
control file [2] that specifies the name, the description and the
dependencies of the source and binary packages, and the rules makefile
[3] that invokes the upstream Ant build file and assembles the jar files
and documentation produced into the final binary packages. The control
directory contains other files used by the makefile to build the binary
package.

If you clone the jsch package repository you can build the source and
the binary package with the 'debuild' command (you have to install the
devscripts package first).


> Does this mean I'd have to go through this entire process for every 3rd
> party lib and get them as separate packages on the Debian repo?  Can I
> solicit sponsorship for packages I don't have any control over?  How do
> you handle different versions of jars?  For instance, my project may
> need version 2.1 even though 2.3 is the latest, etc.  Does that also
> mean I'd have to create a source package and figure out how to compile
> each of the 3rd party libraries?

You are correct, every dependency must be packaged separately, and you
can package them even if you aren't an upstream developer (and we'll
happily support you in the process). If an already packaged dependency
is incompatible with your project, you can either patch your code to
work with the version available in Debian, or create a duplicate package
with a fixed version for this dependency (this isn't the common case
fortunately).

Emmanuel Bourg

[1] http://anonscm.debian.org/cgit/pkg-java/jsch.git/tree/
[2] http://anonscm.debian.org/cgit/pkg-java/jsch.git/tree/debian/control
[3] http://anonscm.debian.org/cgit/pkg-java/jsch.git/tree/debian/rules


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

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


Thread

Bug#792018: RFS: commandbox/2.0.0 ITP -- CFML REPL, CLI, Package Manager, and Embedded Server Emmanuel Bourg <ebourg@apache.org> - 2015-07-19 13:40 +0200
  Bug#792018: RFS: commandbox/2.0.0 ITP -- CFML REPL, CLI, Package Manager, and Embedded Server Brad Wood <bdw429s@gmail.com> - 2015-07-22 07:50 +0200

csiph-web