Hello again everybody.

I thought I would give you a little heads up on my API idea.

So my approach was taking all of the global variables and sticking them
inside of a struct and then adding parameters to all of the functions so
that they used the parameters instead of the global variables. After doing
this for a little while, I concluded that what I was doing was very
inefficient and the true solution was to rewrite the project, something
that I simply will not do, because I risk breaking the project, which is
something that I do not want to do. *So, I am halting my work on a
tar-specific API*.

However, I am interested in working on the pax project. I think that a
tar-specific API is not really useful if it is being merged into a larger
project. A pax api would be useful I think.

Short sidebar: is ass...@gnu.org always really backed up? I sent in my form
at least 3 weeks ago and I have gotten no reply.

Do you agree with my thoughts? Do you want my help?

Thanks,
Charlie


On Tue, Sep 26, 2017 at 10:30 AM, Charlie Sale <chucks.8...@gmail.com>
wrote:

> Ok. Thanks for your help. I think I have enough information to get
> started. I will probably work on tar only for now.
>
> Thanks
> Charlie
>
> On Tue, Sep 26, 2017, 12:31 AM Pavel Raiskup <prais...@redhat.com> wrote:
>
>> Hi Charlie,
>>
>> On Monday, September 25, 2017 10:25:20 PM CEST Charlie Sale wrote:
>> > Does this mean that an API should not be developed for GNU tar, but
>> > instead for GNU paxutils?
>>
>> I don't think that the library location matters too much.  I just think
>> that the library shouldn't be just "separate product", but also the
>> low-level cornerstone for /bin/tar.  And paxutils git more or less served
>> this purpose.
>>
>> > If this is the case, should I be talking to paxutils instead?
>>
>> That's the same upstream (Sergey and Paul here on the bug-tar list).
>>
>> > Also, if I did go ahead and develop an API for GNU tar only, would I be
>> > able to just modify the existing modules, or do I have to reinvent the
>> > wheel and more or less rewrite the entire project? I would really just
>> > like to be able to add some data structures and remove global variables.
>>
>> Dunno, that's implementation detail the patch author should look at;  as
>> the patch author is going to defend the patch.
>>
>> Pavel
>>
>> --
>
> ~Charlie Sale
>

Reply via email to