Processed: Re: Bug#1043408: ITP: golang-github-dsnet-compress -- Collection of compression related Go packages.

2024-04-30 Thread Debian Bug Tracking System
Processing control commands:

> owner -1 !
Bug #1043408 [wnpp] ITP: golang-github-dsnet-compress -- Collection of 
compression related Go packages.
Owner changed from Nisha Pariyar  to Maytham Alsudany 
.

-- 
1043408: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043408
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#1043408: ITP: golang-github-dsnet-compress -- Collection of compression related Go packages.

2024-04-30 Thread Maytham Alsudany
Control: owner -1 !

I will be taking over this ITP and package maintenance as no response has been
received from Nisha.

Kind regards,
Maytham


signature.asc
Description: This is a digitally signed message part


Bug#1043408: ITP: golang-github-dsnet-compress -- Collection of compression related Go packages.

2024-04-15 Thread Maytham Alsudany
It's also worth noting that it's probably a better idea to version based off of 
commits rather than
tags. I've noticed that both forgejo and archiver depend on the latest commit, 
rather than 0.0.1.
So changelog should list 0.0.2~git20230904.39efe44 instead of 0.0.1.

Kind regards,
Maytham


signature.asc
Description: This is a digitally signed message part


Bug#1043408: ITP: golang-github-dsnet-compress -- Collection of compression related Go packages.

2024-04-15 Thread Maytham Alsudany
Hi Nilesh,

Since Nisha hasn't replied, then I'll reply :)

> I wanted to ask a couple of questions before I start with a review:
> 
> * Is there a package that needs dsnet/compress? If so, which one - and
>   is it a crucial dependency?

For me, this is an indirect dependency of vale[1] (golang-github-mholt-archiver 
depends on this),
and I'm planning on packaging forgejo[2].

> * The README says that:
>   NOTE: This library is in active development. As such, there are no 
>guarantees about the
stability of the API.
>   The author reserves the right to arbitrarily break the API for any 
>reason.
> 
> This does not sound very good in debian's context. Breaking APIs in
> major releases are still OK, but I'm a little concerned about this in
> for instance patch/minor releases.

Commits are very slow and spread out on the repo AFAICS, so I'm not worried 
about this.

> * There's a compression library https://github.com/klauspost/compress
>   which is already in debian (golang-github-klauspost-compress). The
>   additional functionality that dsnet/compress seems to provide is
>   brotli compression/decompression. If this is not used eventually
>   (assuming this package is dep of another package that you're trying to get 
>in)
>   do you think it'd be possible to patch the code and convince upstream?

brotli (de)compression is not the only functionality that this library provides 
over
klauspost/compress. The main highlight of dsnet/compress (AFAIK) is that it 
provides bzip2 support,
whereas klauspost/compress does not. This is why klauspost/compress's README 
mentions dsnet/compress
at the bottom under the heading "Other packages".

In the case of mholt/archiver, it depends on both klauspost/compress for most 
operations (working
with zip, gzip, and zstd), and dsnet/compress for bzip2.

Forgejo also depends on both compress packages, so I'm sure this is not unique 
to mholt/archiver.
 
> In principle I'd have just started with a review and uploaded eventually
> but the API problem made me re-think.

If Nisha doesn't reply (or has lost interest), then I'm happy to be put into 
Uploaders for this
package and take over this ITP.

Kind regards,
Maytham

[1]: https://bugs.debian.org/1066893
[2]: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/go.mod#L28



signature.asc
Description: This is a digitally signed message part


Bug#1043408: ITP: golang-github-dsnet-compress -- Collection of compression related Go packages.

2023-09-18 Thread Nilesh Patra
On Thu, 10 Aug 2023 19:16:55 +0545 Nisha Pariyar  
wrote:
> * Package name: golang-github-dsnet-compress
>Version : 0.0.1-1
>Upstream Author : Joe Tsai
> * URL : https://github.com/dsnet/compress
> * License : BSD-3-clause
>Programming Lang: Go
>Description : Collection of compression related Go packages.
> 
>   Collection of compression libraries for Go
>   .
>   A collection of pure Go libraries for popular compression algorithms,
>   designed to extend the Go standard library capabilities. Includes
>   implementations of Brotli (RFC 7932), BZip2, DEFLATE (RFC 1951), and
>   XFLATE formats. Offers a balance between maintainable code,
>   performance, and flexibility. Active development; API stability not
>   guaranteed. Requires Go 1.9+.

I wanted to ask a couple of questions before I start with a review:

* Is there a package that needs dsnet/compress? If so, which one - and
  is it a crucial dependency?
* The README says that:
NOTE: This library is in active development. As such, there are no 
guarantees about the stability of the API.
The author reserves the right to arbitrarily break the API for any 
reason.

This does not sound very good in debian's context. Breaking APIs in
major releases are still OK, but I'm a little concerned about this in
for instance patch/minor releases.

* There's a compression library https://github.com/klauspost/compress
  which is already in debian (golang-github-klauspost-compress). The
  additional functionality that dsnet/compress seems to provide is
  brotli compression/decompression. If this is not used eventually
  (assuming this package is dep of another package that you're trying to get in)
  do you think it'd be possible to patch the code and convince upstream?

In principle I'd have just started with a review and uploaded eventually
but the API problem made me re-think.

Let me know.

Best,
Nilesh


signature.asc
Description: PGP signature


Bug#1043408: ITP: golang-github-dsnet-compress -- Collection of compression related Go packages.

2023-08-10 Thread Nisha Pariyar

X-Debbugs-CC: debian-de...@lists.debian.org, debian...@lists.debian.org
Package: wnpp
Severity: wishlist
Owner: Nisha Pariyar 

* Package name: golang-github-dsnet-compress
  Version : 0.0.1-1
  Upstream Author : Joe Tsai
* URL : https://github.com/dsnet/compress
* License : BSD-3-clause
  Programming Lang: Go
  Description : Collection of compression related Go packages.

 Collection of compression libraries for Go
 .
 A collection of pure Go libraries for popular compression algorithms,
 designed to extend the Go standard library capabilities. Includes
 implementations of Brotli (RFC 7932), BZip2, DEFLATE (RFC 1951), and
 XFLATE formats. Offers a balance between maintainable code,
 performance, and flexibility. Active development; API stability not
 guaranteed. Requires Go 1.9+.


OpenPGP_0xD81FCFF8BFC3A65B.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature