<div dir="ltr">Thanks for the clarification. The attached patch seems to work for me. Does it look good to you as well?</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 19, 2015 at 7:56 AM, Johannes Schauer <span dir="ltr"><<a href="mailto:josch@debian.org" target="_blank">josch@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Quoting Michael Stapelberg (2015-10-18 23:10:06)<br>
<span class="">> I can’t figure out how to specify multiple binary packages when calling<br>
> dose-ceve. The manpage for -r says:<br>
><br>
>  Â  Â  Â  -r pkgspec<br>
>  Â  Â  Â  Â  Â  Using the same syntax as in -c, this option use the reverse<br>
> dependency relation to make the transitive closure.<br>
>  Â  Â  Â  Â  Â  This option can also be specified as --rcone=pkgspec.<br>
><br>
> So the manpage for -c says:<br>
><br>
>  Â  Â  Â  -c pkgspec<br>
>  Â  Â  Â  Â  Â  The match of an atomic dependency (a package name p possibly<br>
> together with a version constraint c) is the set of all packages in the<br>
> repository with name p, and a version that satisfies the constraint c.  The<br>
> dependency cone of a package p is the set of all matches of all atomic<br>
> dependencies of p, together with their respective dependency cones.  The<br>
> package specification pkgspec is a list of packages (separated by a<br>
> semicolon), where each package is specified as follows: (name,version).<br>
<br>
</span>Right, unfortunately it turns out that when we recently implemented the feature<br>
that the -c and -r option would take a string in the Debian dependency format<br>
when handling Debian packages, we forgot to document it :(<br>
<span class=""><br>
> Now I tried specifying multiple binary packages, but couldn’t get any<br>
> combination to work:<br>
><br>
> <a href="https://paste.debian.net/316796/" rel="noreferrer" target="_blank">https://paste.debian.net/316796/</a> (so as to not make this email too long)<br>
><br>
> So, I’m at a loss. What am I misunderstanding here? Can you please provide<br>
> an example invocation of how you think ratt should call dose-ceve in this<br>
> specific case?<br>
<br>
</span>The following will work:<br>
<br>
dose-ceve --deb-native-arch=amd64 -T debsrc -r 'golang-golang-x-tools (= 1:0.0~git20150716.0.87156cb+dfsg1-4),golang-golang-x-tools-dev' -G pkg deb://Packages debsrc://Sources<br>
<br>
You can see that the format of the -r option is the same as in a Depends field.<br>
<span class=""><br>
> Also, may I suggest the following improvements to dose-ceve:<br>
><br>
> 1. When -r is specified multiple times, it should not overwrite the package<br>
> spec, but amend it. If you think -r should only be specified exactly once,<br>
> I suggest dose-ceve should error out when users specify multiple -r values.<br>
><br>
> 2. The manpage ceve(1) should come with an example for pkgspec.<br>
><br>
> 3. Instead of merely stating that the provided pkgspec is invalid,<br>
> dose-ceve should tell the user why the pkgspec is invalid, and ideally<br>
> include a valid example.<br>
><br>
> (4. Possibly, the manpage ceve(1) should be worded a bit more clearly with<br>
> regards to pkgspec, but perhaps it’s just me…)<br>
<br>
</span>No it's not just you and I agree with all your suggestions.<br>
<br>
To not forget about your valuable input, I submitted a bug to the upstream<br>
bugtracker:<br>
<br>
<a href="https://gforge.inria.fr/tracker/index.php?func=detail&aid=19616&group_id=4395&atid=13808" rel="noreferrer" target="_blank">https://gforge.inria.fr/tracker/index.php?func=detail&aid=19616&group_id=4395&atid=13808</a><br>
<br>
Thanks!<br>
<br>
cheers, josch<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Best regards,<br>Michael</div>
</div>