Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2023-01-24 Thread Daichi Fukui
Hi all
CC: Iwamatsu-san

On Thu, 10 Nov 2022 21:57:30 +0900 Daichi Fukui <
when.a.cat.sits.beside@gmail.com> wrote:
> > > >> * Package name: c4core
> > > >>   Version : 0.1.9
> > > >>   Upstream Author : Joao Paulo Magalhaes 
> > > >> * URL : https://github.com/biojppm/c4core
> > > >> * License : MIT
> > > >>   Programming Lang: C++
> > > >>   Description : library of low-level C++ utilities, written
with
> > > low-latency projects in mind

I've uploaded the draft source package of c4core, which consists of
debian/master, upstream, pristine-tar [0].
When you have time, can you review it and help me upload to the archive?
Note that the upstream version was updated to 0.1.11.

As for the issue discussed earlier [1], I decided to keep fast_float.hpp
and fast_float_all.h header files embedded in c4core.
This is because they do not belong to src/c4/ext/debugbreak or
src/c4/ext/fast_float
in terms of source tree.

[0] https://salsa.debian.org/dfukui/c4core
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017088#30

Best,
Fukui


Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2022-11-10 Thread Daichi Fukui
Hi all,

On Mon, 31 Oct 2022 21:46:18 +0900 Daichi Fukui <
a.dog.will.t...@akane.waseda.jp> wrote:
> Hi Punit-san,
>
> Thanks for a reply.
>
> On Tue, 25 Oct 2022 at 06:46, Punit Agrawal 
wrote:
>
> > Hi Fukui-san,
> >
> > Daichi Fukui  writes:
> >
> > > Hello Debian Developers,
> > >
> > > On Sat, 13 Aug 2022 13:03:16 + Fukui Daichi <
> > a.dog.will.t...@akane.waseda.jp> wrote:
> > >> Package: wnpp
> > >> Severity: wishlist
> > >> Owner: Fukui Daichi 
> > >> X-Debbugs-Cc: debian-de...@lists.debian.org,
> > a.dog.will.t...@akane.waseda.jp
> > >>
> > >> * Package name: c4core
> > >>   Version : 0.1.9
> > >>   Upstream Author : Joao Paulo Magalhaes 
> > >> * URL : https://github.com/biojppm/c4core
> > >> * License : MIT
> > >>   Programming Lang: C++
> > >>   Description : library of low-level C++ utilities, written with
> > low-latency projects in mind
> > >>
> > >> Rationale:
> > >>rapidyaml [0] depends on this utility.
> > >>Moreover, jsonnet [1] depends on rapidyaml.
> > >>
> > >>[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397
> > >>[1] https://tracker.debian.org/pkg/jsonnet
> > >>
> > >> Maintenance plan:
> > >>Because I am a novice in debian packaging, I would like to
> > >>ask for someone who can review my upload. I need a sponsor too.
> > >>
> > >>
> > >
> > > As mentioned in a different bugreport [0], c4core depends on
> > biojppm/cmake, debugbreak, and fast_float.
> > > To meet the dependency, we're now preparing for uploading debugbreak
and
> > fast_float [1][2].
> > >
> > > As for biojppm/cmake, it looks like this software is used for the
> > author's project only.
> > > This makes me wonder if it is really reasonable to package
biojppm/cmake.
> > > It is technically possible to package it but it could end up with no
> > other packages depending on the packaged biojppm/cmake than c4core.
> > > To make a clear decision, I would like to ask for your opinion on this
> > issue.
> > >
> > > If you are interested, see also a discussion [3] similar to this one.
> >
> > I'm not familiar with Debian convention regarding this so please take
> > any comments here with a pinch of salt.
> >

I've been trying to use the newly added libfast-float-dev [0] and
debugbreak [1] packages to replace some embedded header files of c4core.

While looking at libfast-float-dev, I came up with the following issue.
Let me explain what's going on.

c4core uses fast_float.hpp and fast_float_all.h many times in its source
code,
so first I tried to simply replace them with the header files which the
libfast-float-dev package provides.
Note that the fast_float.hpp is effectively a wrapper for fast_float_all.h.
However, it seems a bit difficult to use the libfast-float-dev package for
replacing fast_float.hpp and fast_float_all.h.
This is because fast_float_all.h was apparently created with
fast_float/script/amalgamate.py as a single header file,
which the libfast-float-dev package does not provide as such.

Taking the situation above into account, I would like to propose the
following options to address this issue.

Options:

(a) Use fast_float.hpp and fast_float_all.hpp, both of which are already
embedded in c4core;
we don't use libfast-float-dev for replacing them.

(b) Use the fast_float pacakge - use amalgamate.py to generate a single
header like fast_float_all.hpp,
add it to the fast_float package, then replace fast_float_all.hpp with the
one which the package provides

I would appreciate it if you help me decide which option to take or if you
share other options, if any.
What do you think?

FYI, there are no issues when it comes to using debugbreak for c4core.

[0] https://packages.debian.org/bookworm/libfast-float-dev
[1] https://packages.debian.org/bookworm/debugbreak

Best,
Fukui


Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2022-10-31 Thread Daichi Fukui
Hi Punit-san,

Thanks for a reply.

On Tue, 25 Oct 2022 at 06:46, Punit Agrawal  wrote:

> Hi Fukui-san,
>
> Daichi Fukui  writes:
>
> > Hello Debian Developers,
> >
> > On Sat, 13 Aug 2022 13:03:16 + Fukui Daichi <
> a.dog.will.t...@akane.waseda.jp> wrote:
> >> Package: wnpp
> >> Severity: wishlist
> >> Owner: Fukui Daichi 
> >> X-Debbugs-Cc: debian-de...@lists.debian.org,
> a.dog.will.t...@akane.waseda.jp
> >>
> >> * Package name: c4core
> >>   Version : 0.1.9
> >>   Upstream Author : Joao Paulo Magalhaes 
> >> * URL : https://github.com/biojppm/c4core
> >> * License : MIT
> >>   Programming Lang: C++
> >>   Description : library of low-level C++ utilities, written with
> low-latency projects in mind
> >>
> >> Rationale:
> >>rapidyaml [0] depends on this utility.
> >>Moreover, jsonnet [1] depends on rapidyaml.
> >>
> >>[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397
> >>[1] https://tracker.debian.org/pkg/jsonnet
> >>
> >> Maintenance plan:
> >>Because I am a novice in debian packaging, I would like to
> >>ask for someone who can review my upload. I need a sponsor too.
> >>
> >>
> >
> > As mentioned in a different bugreport [0], c4core depends on
> biojppm/cmake, debugbreak, and fast_float.
> > To meet the dependency, we're now preparing for uploading debugbreak and
> fast_float [1][2].
> >
> > As for biojppm/cmake, it looks like this software is used for the
> author's project only.
> > This makes me wonder if it is really reasonable to package biojppm/cmake.
> > It is technically possible to package it but it could end up with no
> other packages depending on the packaged biojppm/cmake than c4core.
> > To make a clear decision, I would like to ask for your opinion on this
> issue.
> >
> > If you are interested, see also a discussion [3] similar to this one.
>
> I'm not familiar with Debian convention regarding this so please take
> any comments here with a pinch of salt.
>
> Considering that you've found a precedent, you should be able to package
> biojppm/cmake together with c4core. Does upstream provide a combined
> release tarball with it included? If so, I'd suggest using that for the
> upload and look to split it out of the package if required.
>
> Hope that helps.
>
> Regards,
> Punit
>
> > [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397#35
> > [1] https://ftp-master.debian.org/new/debugbreak_1.0-1.html
> > [2] https://ftp-master.debian.org/new/fast-float_3.5.1-1.html
> > [3] https://lists.debian.org/debian-security-tools/2020/12/msg00012.html
>
>
OK, I'll keep biojppm/cmake embedded rather than creating a new package for
it.

Yes, c4core upstream provides a tarball combined with biojppm/cmake.
With the help of DDs, I'll try to upload the source code with cmake
included in it when it's ready.

Best,
Fukui


Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2022-10-24 Thread Punit Agrawal
Hi Fukui-san,

Daichi Fukui  writes:

> Hello Debian Developers,
>
> On Sat, 13 Aug 2022 13:03:16 + Fukui Daichi 
>  wrote:
>> Package: wnpp
>> Severity: wishlist
>> Owner: Fukui Daichi 
>> X-Debbugs-Cc: debian-de...@lists.debian.org, a.dog.will.t...@akane.waseda.jp
>> 
>> * Package name: c4core
>>   Version : 0.1.9
>>   Upstream Author : Joao Paulo Magalhaes 
>> * URL : https://github.com/biojppm/c4core
>> * License : MIT
>>   Programming Lang: C++
>>   Description : library of low-level C++ utilities, written with 
>> low-latency projects in mind
>> 
>> Rationale:
>>rapidyaml [0] depends on this utility.
>>Moreover, jsonnet [1] depends on rapidyaml.
>> 
>>[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397
>>[1] https://tracker.debian.org/pkg/jsonnet
>> 
>> Maintenance plan:
>>Because I am a novice in debian packaging, I would like to
>>ask for someone who can review my upload. I need a sponsor too.
>> 
>> 
>
> As mentioned in a different bugreport [0], c4core depends on biojppm/cmake, 
> debugbreak, and fast_float.
> To meet the dependency, we're now preparing for uploading debugbreak and 
> fast_float [1][2].
>
> As for biojppm/cmake, it looks like this software is used for the author's 
> project only.
> This makes me wonder if it is really reasonable to package biojppm/cmake.
> It is technically possible to package it but it could end up with no other 
> packages depending on the packaged biojppm/cmake than c4core.
> To make a clear decision, I would like to ask for your opinion on this issue.
>
> If you are interested, see also a discussion [3] similar to this one.

I'm not familiar with Debian convention regarding this so please take
any comments here with a pinch of salt.

Considering that you've found a precedent, you should be able to package
biojppm/cmake together with c4core. Does upstream provide a combined
release tarball with it included? If so, I'd suggest using that for the
upload and look to split it out of the package if required.

Hope that helps.

Regards,
Punit

> [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397#35
> [1] https://ftp-master.debian.org/new/debugbreak_1.0-1.html
> [2] https://ftp-master.debian.org/new/fast-float_3.5.1-1.html
> [3] https://lists.debian.org/debian-security-tools/2020/12/msg00012.html



Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2022-10-18 Thread Daichi Fukui
Hi all,

> As mentioned in a different bugreport [0], c4core depends on
biojppm/cmake,
> debugbreak, and fast_float.
> To meet the dependency, we're now preparing for uploading debugbreak and
> fast_float [1][2].
>
> As for biojppm/cmake, it looks like this software is used for the author's
> project only.
> This makes me wonder if it is really reasonable to package biojppm/cmake.
> It is technically possible to package it but it could end up with no other
> packages depending on the packaged biojppm/cmake than c4core.
> To make a clear decision, I would like to ask for your opinion on this
> issue.

With the help of Debian developers, debugbreak and fast_float were uploaded
to the archive.
Thus it is a good time to work on c4core.

If you don't mind, can you share your thoughts on the issue relating
to biojppm/cmake as discussed above?

Best,
Fukui


Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2022-09-29 Thread Daichi Fukui
Hello Debian Developers,

On Sat, 13 Aug 2022 13:03:16 + Fukui Daichi <
a.dog.will.t...@akane.waseda.jp> wrote:
> Package: wnpp
> Severity: wishlist
> Owner: Fukui Daichi 
> X-Debbugs-Cc: debian-de...@lists.debian.org,
a.dog.will.t...@akane.waseda.jp
>
> * Package name: c4core
>   Version : 0.1.9
>   Upstream Author : Joao Paulo Magalhaes 
> * URL : https://github.com/biojppm/c4core
> * License : MIT
>   Programming Lang: C++
>   Description : library of low-level C++ utilities, written with
low-latency projects in mind
>
> Rationale:
>rapidyaml [0] depends on this utility.
>Moreover, jsonnet [1] depends on rapidyaml.
>
>[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397
>[1] https://tracker.debian.org/pkg/jsonnet
>
> Maintenance plan:
>Because I am a novice in debian packaging, I would like to
>ask for someone who can review my upload. I need a sponsor too.
>
>

As mentioned in a different bugreport [0], c4core depends on biojppm/cmake,
debugbreak, and fast_float.
To meet the dependency, we're now preparing for uploading debugbreak and
fast_float [1][2].

As for biojppm/cmake, it looks like this software is used for the author's
project only.
This makes me wonder if it is really reasonable to package biojppm/cmake.
It is technically possible to package it but it could end up with no other
packages depending on the packaged biojppm/cmake than c4core.
To make a clear decision, I would like to ask for your opinion on this
issue.

If you are interested, see also a discussion [3] similar to this one.

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397#35
[1] https://ftp-master.debian.org/new/debugbreak_1.0-1.html
[2] https://ftp-master.debian.org/new/fast-float_3.5.1-1.html
[3] https://lists.debian.org/debian-security-tools/2020/12/msg00012.html

Best regards,
Fukui


Bug#1017088: ITP: c4core -- library of low-level C++ utilities, written with low-latency projects in mind

2022-08-13 Thread Fukui Daichi
Package: wnpp
Severity: wishlist
Owner: Fukui Daichi 
X-Debbugs-Cc: debian-de...@lists.debian.org, a.dog.will.t...@akane.waseda.jp

* Package name: c4core
  Version : 0.1.9
  Upstream Author : Joao Paulo Magalhaes 
* URL : https://github.com/biojppm/c4core
* License : MIT
  Programming Lang: C++
  Description : library of low-level C++ utilities, written with 
low-latency projects in mind

Rationale:
   rapidyaml [0] depends on this utility.
   Moreover, jsonnet [1] depends on rapidyaml.

   [0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003397
   [1] https://tracker.debian.org/pkg/jsonnet

Maintenance plan:
   Because I am a novice in debian packaging, I would like to
   ask for someone who can review my upload. I need a sponsor too.