Discussion:
Bug#908117: RFP: yq -- yq is a lightweight and portable command-line YAML processor The aim of the project is to be the jq or sed of yaml files.
Add Reply
Varac
2018-09-06 10:40:01 UTC
Reply
Permalink
Package: wnpp
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

* Package name : yq
Version : 2.1.2
Upstream Author : Mike Farah <***@gmail.com>
* URL : http://mikefarah.github.io/yq/
* License : MIT License
Programming Lang: Go
Description : yq is a lightweight and portable command-line YAML processor The aim of the project is to be the jq or sed of yaml files.

Features

- - Deep read a yaml file with a given path
- - Update a yaml file given a path
- - Update a yaml file given a script file
- - Update creates any missing entries in the path on the fly
- - Create a yaml file given a deep path and value
- - Create a yaml file given a script file
- - Convert from json to yaml
- - Convert from yaml to json
- - Pipe data in by using '-'
- - Merge multiple yaml files where each additional file sets values for missing or null value keys.
- - Merge multiple yaml files and override previous values.
- - Merge multiple yaml files and append array values.
- - Supports multiple documents in a single yaml file
ChangZhuo Chen (陳昌倬)
2018-09-06 15:00:01 UTC
Reply
Permalink
Control: retitle -1 ITP: yq -- lightweight and portable command-line YAML processor


I can help to maintain it under go-team.
Post by Varac
Package: wnpp
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
* Package name : yq
Version : 2.1.2
* URL : http://mikefarah.github.io/yq/
* License : MIT License
Programming Lang: Go
Description : yq is a lightweight and portable command-line YAML processor The aim of the project is to be the jq or sed of yaml files.
Features
- - Deep read a yaml file with a given path
- - Update a yaml file given a path
- - Update a yaml file given a script file
- - Update creates any missing entries in the path on the fly
- - Create a yaml file given a deep path and value
- - Create a yaml file given a script file
- - Convert from json to yaml
- - Convert from yaml to json
- - Pipe data in by using '-'
- - Merge multiple yaml files where each additional file sets values for missing or null value keys.
- - Merge multiple yaml files and override previous values.
- - Merge multiple yaml files and append array values.
- - Supports multiple documents in a single yaml file
--
ChangZhuo Chen (陳昌倬) czchen@{czchen,debconf,debian}.org
http://czchen.info/
Key fingerprint = BA04 346D C2E1 FE63 C790 8793 CC65 B0CD EC27 5D5B
Antoine Beaupré
2018-10-26 19:00:03 UTC
Reply
Permalink
Post by Varac
Package: wnpp
Severity: wishlist
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
* Package name : yq
Version : 2.1.2
* URL : http://mikefarah.github.io/yq/
* License : MIT License
Programming Lang: Go
Description : yq is a lightweight and portable command-line YAML processor The aim of the project is to be the jq or sed of yaml files.
Just for the record, there's also a Python implementation, also called
yq, which also handles XML:

https://yq.readthedocs.io/en/latest/

I think it's slightly more interesting because it does more than just
YAML.. But maybe the python one should be called "xq" (or "xyq"?)
instead. ;)

In any case, someone should probably let those upstreams know about the
naming conflict.

A.
--
Be who you are and say what you feel
Because those who mind don't matter
And those who matter don't mind.
- Dr. Seuss
Antoine Beaupré
2018-10-26 19:10:02 UTC
Reply
Permalink
Post by Antoine Beaupré
In any case, someone should probably let those upstreams know about the
naming conflict.
Done:

https://github.com/kislyuk/yq/issues/41
https://github.com/mikefarah/yq/issues/189

we'll see how that flies.

That said, how is packaging going? :)

A.
Varac
2019-10-09 09:30:01 UTC
Reply
Permalink
Quoting Antoine Beaupré (2018-10-26 20:59:04)
Post by Antoine Beaupré
Post by Antoine Beaupré
In any case, someone should probably let those upstreams know about the
naming conflict.
https://github.com/kislyuk/yq/issues/41
https://github.com/mikefarah/yq/issues/189
we'll see how that flies.
It didn't even take off - both authors seem to be unwilling to rename their
projects. I guess debian just needs to decide which name to pick.
The python implementation "was started before the other project was renamed to yq".

Anyhow, I'm fine with whatever name and whatever project.
@ChangZhuo: What's the state about packaging ?

greetings, varac
rmescandon
2020-02-18 22:10:01 UTC
Reply
Permalink
Hi guys,

I see this thread in ITP status. However, I wonder if this is still in
process of being packaged.

I've been maintaining the deb packages for such yq tool at my ppa
(https://launchpad.net/~rmescandon/+archive/ubuntu/ppa/) but I wanted to
step forward a little bit more by polishing and formatting everything
that is needed for having yq into the debian upstream.

Could it be possible for me to take this ITP thread and give it a go?

@ChangZhuo, @Varac: What do you think? Can I take the handover?

Thanks in advance
Dominik George
2020-03-24 22:50:01 UTC
Reply
Permalink
Hi,
Post by rmescandon
Hi guys,
Please try to be inclusive of other genders ☺. (Proposal: Hi folks; Hi people;
Hi friends,…)
Post by rmescandon
I see this thread in ITP status. However, I wonder if this is still in
process of being packaged.
I've been maintaining the deb packages for such yq tool at my ppa
(https://launchpad.net/~rmescandon/+archive/ubuntu/ppa/) but I wanted to
step forward a little bit more by polishing and formatting everything
that is needed for having yq into the debian upstream.
Could it be possible for me to take this ITP thread and give it a go?
I also jsut wanted to start work on a yq package for Debian. I think a month
later it is ok for you to setyourself as the owner of this ITP bug and take
over the packaging.

Please, if you start working, do so in a repository on salsa.debian.org. I
will happily mentor you and if that goes well sponsor your upload.

Cheers,
Nik
Roberto Mier Escandon
2020-03-25 08:10:02 UTC
Reply
Permalink
Hi Dominik,
The word 'guys' is enough inclusive. See the second acceptation of
https://www.wordreference.com/definition/guys. I've been using for a long
time that greeting in environments of boys, girls or transexuals and I've
never received a complain till reading your not fair mail answer. What is
not inclusive is banning expressions. That thought manipulation leads to
communism and sadly my country is at the gates of that due to general
thoughts like that during years.

Related to the packaging, forget it. It is not too late, but after
requesting the ITP I realized that golang 1.13 was needed along with some
vendor dependencies which I'm not sure they will be available in the os
when needed. (I know there were too much problematic dependencies, but my
tiny mind does not remember the details now).

Sorry for the noise. I think I can continue exposing it in my ppa for now.
If you give it a try to package and need some help, just let me know.

Cheers.
Hi,
Post by rmescandon
Hi guys,
Please try to be inclusive of other genders ☺. (Proposal: Hi folks; Hi
people;
Hi friends,
)
Post by rmescandon
I see this thread in ITP status. However, I wonder if this is still in
process of being packaged.
I've been maintaining the deb packages for such yq tool at my ppa
(https://launchpad.net/~rmescandon/+archive/ubuntu/ppa/) but I wanted to
step forward a little bit more by polishing and formatting everything
that is needed for having yq into the debian upstream.
Could it be possible for me to take this ITP thread and give it a go?
I also jsut wanted to start work on a yq package for Debian. I think a month
later it is ok for you to setyourself as the owner of this ITP bug and take
over the packaging.
Please, if you start working, do so in a repository on salsa.debian.org. I
will happily mentor you and if that goes well sponsor your upload.
Cheers,
Nik
Michael Banck
2020-05-16 12:10:01 UTC
Reply
Permalink
Hi,
Post by Roberto Mier Escandon
The word 'guys' is enough inclusive.
https://twitter.com/AdamantxYves/status/1261222270393028609

Now can we get back to discussing packaging yq?


cheers,

Michael

Dominik George
2020-03-24 22:50:01 UTC
Reply
Permalink
Hi,
Post by rmescandon
Hi guys,
Please try to be inclusive of other genders ☺. (Proposal: Hi folks; Hi people;
Hi friends,…)
Post by rmescandon
I see this thread in ITP status. However, I wonder if this is still in
process of being packaged.
I've been maintaining the deb packages for such yq tool at my ppa
(https://launchpad.net/~rmescandon/+archive/ubuntu/ppa/) but I wanted to
step forward a little bit more by polishing and formatting everything
that is needed for having yq into the debian upstream.
Could it be possible for me to take this ITP thread and give it a go?
I also jsut wanted to start work on a yq package for Debian. I think a month
later it is ok for you to setyourself as the owner of this ITP bug and take
over the packaging.

Please, if you start working, do so in a repository on salsa.debian.org. I
will happily mentor you and if that goes well sponsor your upload.

Cheers,
Nik
Loading...