sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: Casey Harkins <charkins AT upl.cs.wisc.edu>
- To: Jonathan Evraire <evraire AT tuwg.com>
- Cc: Andrew <afrayedknot AT thefrayedknot.armory.com>, sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery]submit script
- Date: Thu, 12 Sep 2002 09:29:52 -0500 (CDT)
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.
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!
-casey
On Thu, 12 Sep 2002, Jonathan Evraire wrote:
> Hi Andrew,
> just a quick note on a message someone submitted which sounded something
> like "can anyone do anything with this because it's not a bzip, bzip2 or
> tar?" You replied that running the command created a bzip2 (I think), but
> I'm pretty sure he was referring to your attached script. And (if I'm not
> mistaken), the answer to his question is "it's neither: it's a plain text
> file which, when given executable permissions, can be run directly". Am I
> right?
>
> Second, I recall a recent thread where the future of spell submissions
> was discussed. I believe the final outcome was that spells will
> eventually also be submitted via bugzilla. My question to you is: do you
> think you could add functionality to your script to enter the submitted
> spell appropriately in bugzilla?
>
> (Perhaps anyone who knows bugzilla pretty well can answer this?)
>
> Just a thought!
>
> Jonathan Evraire
> evraire at tuwg.com
>
>
> On Wed, 11 Sep 2002, Andrew wrote:
>
> > This is just a little script i wrote to submit spells to the spell submit
> > list. It tarball's the spell directory, looks up the section maintainer's
> > email and sends it to both them and the sm-spell-submit list, and prompts
> > for a message.
> >
> > I was thinking we could add this in sorcery somewhere as it would
> > encourage spell writing by other users, all they'd have to do is write
> > and test the spell in a directory somewhere, run the command and off it
> > goes, if all goes to plan the guru sees it and within a few days its in
> > the grimoire. Perhaps it could be a scribe option or something?
> >
> > Anyways its very very basic right now but i can spiff it up and make
> > it work with systems that dont have an mta, etc if theres interest in
> > it. If not...well you'll know how im submitting spells to the list.
> >
> > (IMPORTANT): i put an echo in front of the actual command it runs so
> > if you just unpack it and run it, it will just tell you what it would
> > have done, remove the echo on the last line to uncripple it.
> >
> > known bugs:
> > uses uuencode which uses sendmail, therefore it works fine on any
> > system whose mta provides a sendmail frontend (or they run *shudder*
> > sendmail), I need to find out how to make it work with systems uses imap
> > or pop3 style email.
> >
> > it probably wont work unless you are in the parent directory of the spell
> > directory, id need to add an option to parse out the directory name. Not
> > a whole lot of flexibility, no options, again this is a rough draft to
> > see if people are interested.
> >
> > It uses gaze maintainer <section> to find out who the section leader is,
> > currently it takes the first address it finds, i had to pipe the output
> > into grep twice because if there are two address's on the first line
> > an address is found on, both come out, If someone uses a funky style to
> > write their email or abuses the @ symbol my regexp may match it.
> >
> >
>
> _______________________________________________
> SM-Sorcery mailing list
> SM-Sorcery AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-sorcery
>
-
Re: [SM-Sorcery]submit script
, (continued)
-
Re: [SM-Sorcery]submit script,
Aaron Brice, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Andrew, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Eric Sandall, 09/11/2002
- Re: [SM-Sorcery]submit script, Andrew, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Eric Sandall, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Andrew, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Jonathan Evraire, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Andrew, 09/11/2002
-
Re: [SM-Sorcery]submit script,
Nick Jennings, 09/12/2002
- Re: [SM-Sorcery]submit script, Dufflebunk, 09/12/2002
- Re: [SM-Sorcery]submit script, Sergey A Lipnevich, 09/12/2002
-
Re: [SM-Sorcery]submit script,
Nick Jennings, 09/12/2002
- Re: [SM-Sorcery]submit script, Eric Schabell, 09/12/2002
-
Re: [SM-Sorcery]submit script,
Casey Harkins, 09/12/2002
- Re: [SM-Sorcery]submit script, Andrew, 09/12/2002
-
Re: [SM-Sorcery]submit script,
Andrew, 09/11/2002
- Re: [SM-Sorcery]submit script, Dufflebunk, 09/12/2002
-
Re: [SM-Sorcery]submit script,
Andrew, 09/13/2002
-
Re: [SM-Sorcery]submit script,
Seth Woolley, 09/13/2002
- Re: [SM-Sorcery]submit script, Jonathan Evraire, 09/13/2002
-
Re: [SM-Sorcery]submit script,
Andrew, 09/13/2002
- Re: [SM-Sorcery]submit script, Bearcat M. Sandor, 09/13/2002
-
Re: [SM-Sorcery]submit script,
Aaron Brice, 09/13/2002
-
Re: [SM-Sorcery]submit script,
Ryan Abrams, 09/13/2002
- Re: [SM-Sorcery]submit script, Jordan Share, 09/14/2002
-
Re: [SM-Sorcery]submit script,
Ryan Abrams, 09/13/2002
-
Re: [SM-Sorcery]submit script,
Seth Woolley, 09/13/2002
-
Re: [SM-Sorcery]submit script,
Aaron Brice, 09/11/2002
Archive powered by MHonArc 2.6.24.