Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.devel > #110650 > unrolled thread

Bug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON

Started byFacundo Gaich <facugaich@gmail.com>
First post2024-02-22 17:20 +0100
Last post2024-05-21 19:30 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.devel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON Facundo Gaich <facugaich@gmail.com> - 2024-02-22 17:20 +0100
    Bug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON Jonas Smedegaard <jonas@jones.dk> - 2024-02-22 17:50 +0100
      Bug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON Facundo Gaich <facugaich@gmail.com> - 2024-05-21 17:30 +0200
        Bug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON Guilherme Puida Moreira <guilherme@puida.xyz> - 2024-05-21 19:30 +0200

#110650 — Bug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON

FromFacundo Gaich <facugaich@gmail.com>
Date2024-02-22 17:20 +0100
SubjectBug#1061323: RFP: rust-toml2json -- A very small CLI for converting TOML to JSON
Message-ID<IajXH-bTdG-3@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi,

I can work on packaging this if you're still interested, I'd need a sponsor.

I've already done some preliminary work on this, in particular I renamed
the bin to "rust-toml2json" but maybe you've got a better idea?

Best,
Facundo

[toc] | [next] | [standalone]


#110651

FromJonas Smedegaard <jonas@jones.dk>
Date2024-02-22 17:50 +0100
Message-ID<Iakh3-bTkk-5@gated-at.bofh.it>
In reply to#110650

[Multipart message — attachments visible in raw view] — view raw

Quoting Facundo Gaich (2024-02-22 17:12:22)
> I can work on packaging this if you're still interested, I'd need a sponsor.
> 
> I've already done some preliminary work on this, in particular I renamed
> the bin to "rust-toml2json" but maybe you've got a better idea?

If the command-line tool does somewhat the same as the existing one, I
suggest to rename it with the deviating part as the end instead, so that
users TAB-completing would easier notice the alternative:
toml2json-rust.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

[toc] | [prev] | [next] | [standalone]


#111872

FromFacundo Gaich <facugaich@gmail.com>
Date2024-05-21 17:30 +0200
Message-ID<IGzrr-eSed-5@gated-at.bofh.it>
In reply to#110651

[Multipart message — attachments visible in raw view] — view raw

Control: retitle -1 ITP: rust-toml2json -- A very small CLI for converting
TOML to JSON
Control: owner -1 !

Well I ended packaging this, it's waiting in debcargo-conf at
https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/653

Best,
Facundo

On Thu, Feb 22, 2024 at 1:39 PM Jonas Smedegaard <jonas@jones.dk> wrote:

> Quoting Facundo Gaich (2024-02-22 17:12:22)
> > I can work on packaging this if you're still interested, I'd need a
> sponsor.
> >
> > I've already done some preliminary work on this, in particular I renamed
> > the bin to "rust-toml2json" but maybe you've got a better idea?
>
> If the command-line tool does somewhat the same as the existing one, I
> suggest to rename it with the deviating part as the end instead, so that
> users TAB-completing would easier notice the alternative:
> toml2json-rust.
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>  * Sponsorship: https://ko-fi.com/drjones
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private

[toc] | [prev] | [next] | [standalone]


#111877

FromGuilherme Puida Moreira <guilherme@puida.xyz>
Date2024-05-21 19:30 +0200
Message-ID<IGBtf-eTpt-1@gated-at.bofh.it>
In reply to#111872
On Tue, May 21, 2024 at 06:13:21PM +0200, Andrej Shadura wrote:
> In fact, having checked the source code, it’s one way only, and after
> all it’s also someone else’s quick hack. Maybe someone should write
> a robust tool to support all formats and directions and package *that*
> for Debian? :)

I think dasel might be what you want :^)

Select, put and delete data from JSON, TOML, YAML, XML and CSV files
with a single tool. Supports conversion between formats and can be used
as a Go package.

https://github.com/tomwright/dasel
https://tracker.debian.org/pkg/dasel

--puida

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.devel


csiph-web