smart Digest, Vol 21, Issue 2

linux_learner linux.learner at gmail.com
Wed May 9 21:14:10 PDT 2007


Grant, I know your frustration. When I got involved, there was less
documentation than there is now. I have done the documentation for smart. I
took what Gustavo did and expanded on it.
http://labix.org/smart/howtoUnfortunately, I don't know how to add
pictures well with the wiki Gustavo
uses. Before I started this, the smart config options were completely
undocumented. http://labix.org/smart/config-options  I think I drove Gustavo
and company nuts asking all the questions I did. I used this
http://wiki.suselinuxsupport.de/wikka.php?wakka=HowtoSmartPackageManager as
my rough draft for http://labix.org/smart/howto but as you can see, it was a
lot easier for me to add screen shots to wikka.

Now, personally, I think we should team up and work together. I have been
wanting to compile a collection of errors, so that users can more easily see
what an error is, what it means, and how to fix it. I have been wanting to
add more examples, but I have been really sick lately. I am a newly
diagnosed diabetic and have been having seizures as well. This makes it
rather hard to keep going on the smart documentation. Also, everything is to
scattered about. Like the errors. I'd have to scour the smart mailing lists,
and internet forums and other mailing lists for errors and bug reports
pertaining to smart. This is quite time consuming. Obviously, the smart
mailing lists is the best place to start. But even that can be time
consuming.

Get back with me, and let me know what you think. I hope that you'll work
with me, and improve on the documentation.

On 5/9/07, Grant McWilliams <grantmasterflash at gmail.com> wrote:
>
> I hadn't thought of using Python because I don't know it as well and this
> certain project needs to be
> maintainable by the company I'm consulting for after I'm done and gone,
> hence the shell script.
>
> I've spent quite a lot of time digging through what little docs there are
> concerning smart and I've decided
> as soon as I'm done with my current project I'm writing exhaustive Smart
> documentation including examples
> because the frustration level has been high. There just aren't many
> examples on the net about this even though
> it's getting used. I needed to install software across a secure channel
> which brought me to smart because of the
> mention in the doc about scp being a supported protocol. No examples, no
> more data, nothing. I did get it to work
> and like I said I'll be writing documentation even if it doesn't get used
> officially because it needs to be done.
>
> I don't have the time to give back in the form of coding but documentation
> I can find time for so that's my gift, wanted or not. :-)
>
> Grant
>
> On 5/9/07, smart-request at lists.labix.org <smart-request at lists.labix.org>
> wrote:
> >
> > Send smart mailing list submissions to
> >         smart at lists.labix.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >          http://lists.labix.org/listinfo.cgi/smart-labix.org
> > or, via email, send a message with subject or body 'help' to
> >         smart-request at lists.labix.org
> >
> > You can reach the person managing the list at
> >         smart-owner at lists.labix.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of smart digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: smart channel --show doesn't return proper code
> >       (Gustavo Niemeyer)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Wed, 09 May 2007 19:52:22 -0300
> > From: Gustavo Niemeyer <gustavo at niemeyer.net>
> > Subject: Re: smart channel --show doesn't return proper code
> > To: smart at labix.org
> > Message-ID: <464250A6.1020904 at niemeyer.net>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Hi Grant,
> >
> > > When I do smart channel --show <channelname> and the channel doesn't
> > > exist shouldn't smart return a 1 instead of a 0? It seems to be
> > > returning 0's for everything.
> > >
> > > I have  a script that checks to see if a channel has already been
> > > added and if not adds it. We're having to take the output of channel
> > > --show and grep it instead of relying on the return code. Am I off on
> > > this or maybe not understanding why smart channel --show always
> > > returns a 0 return code?
> >
> > Yep, you're right.  Many commands are not quite scripting-ready yet.
> >
> > Did you consider using Python to perform that?  Should be quite
> > simple to use Smart as a library.
> >
> > --
> > Gustavo Niemeyer
> > http://niemeyer.net
> >
> >
> > ------------------------------
> >
> > _______________________________________________
> > Smart Package Manager mailing list
> > smart at labix.org
> > http://lists.labix.org/listinfo.cgi/smart-labix.org
> >
> >
> > End of smart Digest, Vol 21, Issue 2
> > ************************************
> >
>
>
>
> --
> Some people, when confronted with a problem, think "I know, I'll use
> Windows."
> Now they have two problems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.labix.org/pipermail/smart-labix.org/attachments/20070509/45eab9e6/attachment-0003.htm>


More information about the Smart mailing list