[compress] High Level API / Examples

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[compress] High Level API / Examples

Stefan Bodewig
Hi all

sorry to bother you again.

It seems we won't be able to figure out what the high level API we'd
want to provide should look like any time soon, or even whether we want
to provide one at all. If Commons VFS already provides the high level
API that is needed, there isn't anything we need to do at all and things
are fine :-)

Given the current state of master I propose to do the following:

* spin out a new branch from current master so if we want to ever go
  back to the scratchpad of APIs things are still reachable and don't
  get garbage collected by git.

* change back commons-compress' Main class to Lister (and maybe make
  that support 7z).

* remove everything from the current oacc.archivers.examples package

* move the Archiver and Expander classes from oacc.archivers to
  oacc.archivers.examples. Clearly label them as examples with APIs we
  are willing to break with every release without giving notice.

* remove the (File)Filter support from Archiver and Expander

Is this OK with everybody, any objections?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: [compress] High Level API / Examples

garydgregory
This is all fine with me. Should we give a VFS example on the Compress site?

Gary

On Sat, May 5, 2018, 09:56 Stefan Bodewig <[hidden email]> wrote:

> Hi all
>
> sorry to bother you again.
>
> It seems we won't be able to figure out what the high level API we'd
> want to provide should look like any time soon, or even whether we want
> to provide one at all. If Commons VFS already provides the high level
> API that is needed, there isn't anything we need to do at all and things
> are fine :-)
>
> Given the current state of master I propose to do the following:
>
> * spin out a new branch from current master so if we want to ever go
>   back to the scratchpad of APIs things are still reachable and don't
>   get garbage collected by git.
>
> * change back commons-compress' Main class to Lister (and maybe make
>   that support 7z).
>
> * remove everything from the current oacc.archivers.examples package
>
> * move the Archiver and Expander classes from oacc.archivers to
>   oacc.archivers.examples. Clearly label them as examples with APIs we
>   are willing to break with every release without giving notice.
>
> * remove the (File)Filter support from Archiver and Expander
>
> Is this OK with everybody, any objections?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [compress] High Level API / Examples

Stefan Bodewig
On 2018-05-05, Gary Gregory wrote:

> Should we give a VFS example on the Compress site?

I'd probably want to link to existing examples on the VFS site -
assuming there are any - as otherwise we'd need to adjust our examples
if things change on the VFS side of things.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]