[Slackbuilds-users] sbosubmit: SlackBuilds.org command line submission tool

Jeremy Hansen jebrhansen+SBo at gmail.com
Wed Sep 28 02:39:47 UTC 2016


Andrzej,

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.

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.

Jeremy

On Tue, Sep 27, 2016, 5:31 PM Andrzej Telszewski <atelszewski at gmail.com>
wrote:

> On 27/09/16 22:59, Arkadiusz Drabczyk wrote:
> > On Fri, Sep 09, 2016 at 03:43:09PM +0200, Andrzej Telszewski wrote:
> >> Hi,
> >>
> >> I have written command line submission tool for SlackBuilds.org
> >> Before going public, I would like to ask you to give it a try and report
> >> back any problems you might find.
> >> As of now, I consider the tool to be feature complete (more options will
> >> come one day), so please report back only possible errors rather than
> >> features requests.
> >>
> >> Source code together with SlackBuild for it can be found here (once
> tested,
> >> it will get removed):
> >> http://www.telszewski.net/software/src/sbosubmit/
> >
> > Hello Andrzej,
> >
> > I just used your tool and it seems to work, thank you for your work!
> >
>
> I'm really happy to hear that :-)
> I can see that you sent your SlackBuild to both the testing server and
> SlackBuilds.org server ;-)
>
> > Just one tiny remark - I accidentally had a source tarball (~2.8 MB)
> > in a directory where I used sbosubmit and it failed with the following
> > message:
> >
> > [II] creating archive...
> > [EE] archive: Buffer exhausted
> >
> > It comes from libarchive and is probably caused by too large size of
> > output archive.  In current form it's quite uninformative to the user.
> > Shouldn't it be changed to something better?
> >
>
> The buffer size is set to 1MiB. That's actually the maximal archive size
> SlackBuilds.org would accept.
>
> I could probably report a differently worded message, although there is
> no way to tell what the archive size should be (other than it should not
> exceed the 1MiB).
>
> I personally do not place the source code tarball directly in the
> SlackBuild directory, but rather soft-link it to the source code tarball
> that is located under my "central" tarballs store.
>
> Using soft-linked tarball is preferred when working with sbosubmit,
> since soft links are skipped when creating the submission archive. This
> way you won't accidentally send the source code tarball within
> submission archive.
>
> For the record, a directory named "tmpdir" is skipped too, and it can be
> used as playground when developing the SlackBuild.
>
> > IMO though it would be the best if we just sent new submissions and
> > updates as patches directly to the mailing list as it was done during
> > the transition from 14.1 to 14.2 instead of using the submission form.
> > It only takes 2 commands - git-format-patch and git-send-email, much
> > faster and comfortable.
> >
>
> Switching to git would be a sad day for sbosubmit ;-)
> BTW, sbosubmit is only one command to type :-^
>
> Once more, thanks for testing and reporting back!
>
> > (BTW, message sent through gmane.org do not show up on the list.  Does
> > anyone else here use gmane.org?)
> >
>
>
> --
> Best regards,
> Andrzej Telszewski
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20160928/e37c1e6c/attachment.html>


More information about the SlackBuilds-users mailing list