Re: Application API
"Dustin J. Mitchell" <[email protected]> Wed, 12 Dec 2018 12:40:52 -0500
| Newsgroups | gmane.comp.archivers.amanda.devel |
|---|---|
| Message-ID | <CAJtE5vQWFWAJkvMb2pV1JN0JmP-=DmsM6fgT9WY3V7zgEBjgZQ@mail.gmail.com> |
Ah, OK, I didn't realize there was discussion elsewhere than the PR. I retract some of the force in my previous comments. Dustin Op wo 12 dec. 2018 om 10:25 schreef Chapman Flack <[email protected]>: > At first, JLM had some review comments, most of which got addressed > in the later commits to that PR (those between August 2017 and > January 2018). > > The last open item was to come up with a reasonable default > implementation of local state for scripts (it's OO, so it doesn't > have to be perfect for everything, any script can override with a > custom implementation, but there should be some built-in implementation > good enough for most purposes). Scripts can need local state > because the existing mechanism for scripts to set properties can only > pass the properties to later-invoked /applications/, not to other > scripts (or to the same script, say, in a later post-* invocation). > > My preferred design idea for that open item was in > > https://marc.info/?l=amanda-hackers&m=151120396810173&w=2 > > but I didn't get any community feedback; the message thread kind of > trails off at that point. > > -Chap > > > On 12/12/18 9:48 AM, Dustin J. Mitchell wrote: > > Hm, any idea why that hasn't been merged? That's an awful long time with > > no response. It seems like there's a lot more interest from non-Zmanda > > folks than Zmanda folks for the last year+. > > > > Perhaps it's time to consider a fork? > > > > Can someone from Zmanda comment on why this PR has been left open, and > why > > so few commits in the last year? > > > > Dustin > > > > Op wo 12 dec. 2018 om 09:09 schreef Chapman Flack <[email protected] > >: > > > >> On 12/12/18 00:15, Olivier wrote: > >>> Hello, > >>> > >>> Is there information available about writting an Amanda plugin, beside > >>> the wiki page at > >>> http://wiki.zmanda.com/index.php/Application_API/Operations > >>> > >>> I have found that the information in the wiki are incomplete: > >> > >> Hello, > >> > >> The not-yet-applied pull request #78 addresses a lot of the incomplete > >> points in the Application/Script API documentation (and also fleshes out > >> the API itself so there is less implementation that every application > >> developer has to duplicate). > >> > >> https://github.com/zmanda/amanda/pull/78 > >> > >> The notes on that pull request should be helpful for more insight into > >> the issues involved. > >> > >> If you are starting out to develop an application without the PR#78 > code, > >> you may find very helpful the thread of -hackers messages that were > >> necessary while developing it, to pin down the precise meaning of a lot > >> of points in the current documentation. That thread is here: > >> > >> http://marc.info/?l=amanda-hackers&s=coding+an+Application+in+perl > >> > >> You'll probably find in there the specific issue you ran into here, as > >> well as others that you might not have run into yet. > >> > >> Regards, > >> -Chap > >> > > > >