<div dir="ltr">Err...sorry...I really think this all just user error on my part. Never mind. No more spam. Good night.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 15, 2016 at 9:22 PM, Spencer Parkin <span dir="ltr"><<a href="mailto:spencertparkin@gmail.com" target="_blank">spencertparkin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks, my guess is this: The snapcraft command (and the "Publish" button on the website) let you do...<br></div><div><br></div><div>$ snapcraft release [myproj] X stable<br><br>...where X is any revision of your project, even one that did _not_ pass automated scrutiny. The command (and the website) tell you that publishing is successful, but it really wasn't. It would be nice if the command (and the website) gave feedback that it rejected publication due to the desired revision not having passed inspection.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div>--Sp<br></div><div><br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 15, 2016 at 8:32 PM, Michael Hall <span dir="ltr"><<a href="mailto:mhall119@ubuntu.com" target="_blank">mhall119@ubuntu.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">If an app fails the automated review, it won't be published at all,<br>
which is what happened here.<br>
<br>
In the overview page for your app<br>
(<a href="https://myapps.developer.ubuntu.com/dev/click-apps/5902/" rel="noreferrer" target="_blank">https://myapps.developer.ubun<wbr>tu.com/dev/click-apps/5902/</a>) you will see<br>
a red exclamation mark next to revision #1, which indicates that it had<br>
some issues and was not published.<br>
<br>
If you click on that<br>
(<a href="https://myapps.developer.ubuntu.com/dev/click-apps/5902/rev/1/" rel="noreferrer" target="_blank">https://myapps.developer.ubun<wbr>tu.com/dev/click-apps/5902/<wbr>rev/1/</a>) and<br>
scroll down to the review and comment history, it will tell you what the<br>
problem was (and Jamie gave advice on how to correct it).<br>
<br>
Since this was manual feedback from a human reviewer, I'm not sure how<br>
we can get this across to the snapcraft commandline interface. Perhaps<br>
the new APIs sergio mentioned for querying status can include them.<br>
<br>
Michael Hall<br>
<a href="mailto:mhall119@ubuntu.com" target="_blank">mhall119@ubuntu.com</a><br>
<div><div><br>
On 09/15/2016 10:16 PM, Spencer Parkin wrote:<br>
> Thanks all for your help. I followed the following instructions...<br>
><br>
> <a href="https://developer.ubuntu.com/en/snappy/build-apps/upload-your-snap/" rel="noreferrer" target="_blank">https://developer.ubuntu.com/e<wbr>n/snappy/build-apps/upload-you<wbr>r-snap/</a><br>
><br>
> ...then, seeing the snap passed with no warnings or errors, pushed the<br>
> "Publish" button at...<br>
><br>
> <a href="https://myapps.developer.ubuntu.com/dev/click-apps/5902/rev/2/" rel="noreferrer" target="_blank">https://myapps.developer.ubunt<wbr>u.com/dev/click-apps/5902/rev/<wbr>2/</a><br>
><br>
> It's been published now for 2 days. Maybe the system is still churning<br>
> on it. I suppose, too, there's a way to do the publishing from the<br>
> command line instead as some of you have pointed out.<br>
><br>
> Reading through "snapcraft -h", I see that the upload option is<br>
> deprecated. Perhaps the first URL I cited above should be revised to<br>
> reflect this.<br>
><br>
> Anyhow, it should already be published, but all variants of "sudo snap<br>
> install [myprojname]" have failed with "snap not found."<br>
><br>
> I've gone ahead and tried...<br>
><br>
> $ snapcraft push [mysnapfile]<br>
><br>
> This chugs for a while during the upload, then reports that an error<br>
> occurred when trying to analyze the snap. Maybe I'll try rebuilding the<br>
> snap and pushing it again later when I get some time.<br>
><br>
> I'm running version 2.16 of snapcraft, which I believe is the latest<br>
> version. Oh wait...no...version 2.17 is the latest.<br>
><br>
> I did...<br>
><br>
> $ snapcraft release [myproj] 2 stable<br>
><br>
> ...and that appeared to work, or so it said.<br>
><br>
> Oh, I got it to work now! I see what I did wrong. I had revision 1<br>
> released to the masses, which had errors. But revision 2 didn't, so I<br>
> guess now the "snap" command could find it in the store. If you try to<br>
> release a snap that had errors, it won't get found or be installable.<br>
><br>
> Hurrah! That worked! Okay, thanks guys. My crappy app is now live.<br>
> ;) This is truly a momentous day for us all.<br>
><br>
> On Thu, Sep 15, 2016 at 4:56 PM, Sergio Schvezov<br>
</div></div>> <<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canonical.com</a> <mailto:<a href="mailto:sergio.schvezov@canonical.com" target="_blank">sergio.schvezov@canoni<wbr>cal.com</a>>><br>
<span>> wrote:<br>
><br>
> El jueves, 15 de septiembre de 2016 18h'37:00 ART, Mark Shuttleworth<br>
</span>> <<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a> <mailto:<a href="mailto:mark@ubuntu.com" target="_blank">mark@ubuntu.com</a>>> escribió:<br>
<div><div>><br>
> On 15/09/16 14:28, Spencer Parkin wrote:<br>
><br>
> I'm embarrassed to say that while, supposedly, I have<br>
> published a<br>
> candidate and a stable release, I have no idea how to "go<br>
> get them"<br>
> the same way that, say, a user would. I run "snap find<br>
> <myprojectname>", but it doesn't find it, and I can't find<br>
> it on any<br>
> store front page. Perhaps there's still some vetting to be<br>
> done. That's fine. If I've pushed up a beta or candidate,<br>
> though, shouldn't<br>
> I be able to do something with it? Is all this documented<br>
> somewhere<br>
> in a completely obvious place that I have completely overlooked?<br>
><br>
><br>
> Try 'sudo snap install --edge <yourprojectname>'<br>
><br>
> Have you done "snapcraft release" or just "snapcraft push"? Or<br>
> snapcraft<br>
> push --release=?<br>
><br>
><br>
> Just to expand a bit, if you did `snapcraft release` or `snapcraft<br>
> push --release` you should see a channel mapping for the current<br>
> state of your snap. If you did see this, and the output is correct<br>
> then you did indeed do the right thing.<br>
><br>
> As a side note, we are working on some new APIs to get to query the<br>
> status of your snap on the store as well.<br>
><br>
> Evan might be able to figure out what is going on store side if needed.<br>
><br>
> Cheers<br>
> Sergio<br>
><br>
><br>
><br>
> --<br>
> Enviado con Dekko desde mi dispositivo Ubuntu<br>
><br>
> --<br>
> Snapcraft mailing list<br>
</div></div>> <a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a> <mailto:<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcr<wbr>aft.io</a>><br>
<span>> Modify settings or unsubscribe at:<br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mail<wbr>man/listinfo/snapcraft</a><br>
</span>> <<a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mai<wbr>lman/listinfo/snapcraft</a>><br>
<div><div>><br>
><br>
><br>
><br>
<br>
--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>