Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]submit script

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]submit script
  • Date: Thu, 12 Sep 2002 08:11:18 -0700

On Thu, Sep 12, 2002 at 09:29:52AM -0500, Casey Harkins wrote:
>
> The script was attached as submit.tar.bz2 but was actually a tar.gz. gzip
> would bomb out not recognizing the suffix. Anyway, this leads into the one
> "bug" I found in the script.
yea ironically i messed that up, i think i responded about it a couple posts
up.

>
> The script does something like this:
>
> tarball=$1.tar.bz2
> tar -cvzf $tarball $1 > /dev/null
>
> This will also create a tar.gz but give it a tar.bz2 extension. The tar
> line should either use --bzip2 to use bzip2 instead of gzip. I would
> avoid using a short option for bzip2 as I've seen various versions of
> tar use -j, -y, or -I for bzip2.
>
> Another suggestion, remove the tarball before creating it.
>
> rm -f $tarball
>
> Finally, support for submitting updates would be nice as well. Add a
> command line option to specify it is an update, then change the subject
> line appropriately.
>
> Bugzilla support would be nice too, but I'm not sure this had been
> settled, just that it needs to be addressed post-1.0. Maybe some PHP+MYSQL
> hackers could throw together a sort of Spellzilla, a simplified bugzilla
> for handling spells submissions, updates and bugs. Just a thought!
>
great, all that helps. Im planning on putting in options for the following:
add in a gaze what <spell> feature to automatically put that in the email.
the option to use the default editor instead of cat for the real message.
bz2 and gz extensions.
option to choose New, Updated, Modified etc tags to the subject instead of
just New

keep the tarball around after submitting, or delete it, as well as choose
where it ends up if you keep it

fix the bug so it will work from any directory, not just the parent

specify the mailing list address

choose the email address from the maintainer list to use, or none at all (not
sure how this should work yet)

based on the traffic about bugzilla not actually to be used for spell submits
i wont work on that feature right now. Of course if someone threw together
some functions that talked to bugzilla i'd add that in.

Since there appears to be some interest in this project I will keep the
script at ftp://thefrayedknot.armory.com/submit if anybody wants the latest
bleeding edge version. Major changes I'll post to the list if no one is
opposed to that.

Andrew




Archive powered by MHonArc 2.6.24.

Top of Page