<p dir="ltr">Andrzej,</p>
<p dir="ltr">Has there been any thought to add a tarball detection to the script to prevent accidental source uploading? While many tarballs are larger than 1MB and will get flagged by your side limit, not all are, and for those who keep the actual source in the slackbuild's directory may accidentally upload that to SBo.</p>
<p dir="ltr">But I do like the idea of symlinking the source into the directory. I've tarred up source before (and uploaded it to git), and I need to find a better way.</p>
<p dir="ltr">Jeremy</p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 27, 2016, 5:31 PM Andrzej Telszewski <<a href="mailto:atelszewski@gmail.com">atelszewski@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 27/09/16 22:59, Arkadiusz Drabczyk wrote:<br>
> On Fri, Sep 09, 2016 at 03:43:09PM +0200, Andrzej Telszewski wrote:<br>
>> Hi,<br>
>><br>
>> I have written command line submission tool for SlackBuilds.org<br>
>> Before going public, I would like to ask you to give it a try and report<br>
>> back any problems you might find.<br>
>> As of now, I consider the tool to be feature complete (more options will<br>
>> come one day), so please report back only possible errors rather than<br>
>> features requests.<br>
>><br>
>> Source code together with SlackBuild for it can be found here (once tested,<br>
>> it will get removed):<br>
>> <a href="http://www.telszewski.net/software/src/sbosubmit/" rel="noreferrer" target="_blank">http://www.telszewski.net/software/src/sbosubmit/</a><br>
><br>
> Hello Andrzej,<br>
><br>
> I just used your tool and it seems to work, thank you for your work!<br>
><br>
<br>
I'm really happy to hear that :-)<br>
I can see that you sent your SlackBuild to both the testing server and<br>
SlackBuilds.org server ;-)<br>
<br>
> Just one tiny remark - I accidentally had a source tarball (~2.8 MB)<br>
> in a directory where I used sbosubmit and it failed with the following<br>
> message:<br>
><br>
> [II] creating archive...<br>
> [EE] archive: Buffer exhausted<br>
><br>
> It comes from libarchive and is probably caused by too large size of<br>
> output archive. In current form it's quite uninformative to the user.<br>
> Shouldn't it be changed to something better?<br>
><br>
<br>
The buffer size is set to 1MiB. That's actually the maximal archive size<br>
SlackBuilds.org would accept.<br>
<br>
I could probably report a differently worded message, although there is<br>
no way to tell what the archive size should be (other than it should not<br>
exceed the 1MiB).<br>
<br>
I personally do not place the source code tarball directly in the<br>
SlackBuild directory, but rather soft-link it to the source code tarball<br>
that is located under my "central" tarballs store.<br>
<br>
Using soft-linked tarball is preferred when working with sbosubmit,<br>
since soft links are skipped when creating the submission archive. This<br>
way you won't accidentally send the source code tarball within<br>
submission archive.<br>
<br>
For the record, a directory named "tmpdir" is skipped too, and it can be<br>
used as playground when developing the SlackBuild.<br>
<br>
> IMO though it would be the best if we just sent new submissions and<br>
> updates as patches directly to the mailing list as it was done during<br>
> the transition from 14.1 to 14.2 instead of using the submission form.<br>
> It only takes 2 commands - git-format-patch and git-send-email, much<br>
> faster and comfortable.<br>
><br>
<br>
Switching to git would be a sad day for sbosubmit ;-)<br>
BTW, sbosubmit is only one command to type :-^<br>
<br>
Once more, thanks for testing and reporting back!<br>
<br>
> (BTW, message sent through <a href="http://gmane.org" rel="noreferrer" target="_blank">gmane.org</a> do not show up on the list. Does<br>
> anyone else here use <a href="http://gmane.org" rel="noreferrer" target="_blank">gmane.org</a>?)<br>
><br>
<br>
<br>
--<br>
Best regards,<br>
Andrzej Telszewski<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>