Re: [gentoo-dev] newsitem: important fstab and localmount update, round 4

2016-11-02 Thread Denis Lisov
> The recommended solution is to convert fstab from using
> "/dev/disk/by-*" to the LABEL=, UUID=, or PARTUUID= syntax.

Is there any specific reason to mention these three but not PARTLABEL=
used for GPT (maybe not only GPT) partition labels?

On Wed, Nov 2, 2016 at 12:13 AM, William Hubbs  wrote:
>



Re: [gentoo-dev] Re: Deleting old news items

2018-01-07 Thread Denis Lisov
On Sat, Jan 6, 2018 at 1:05 PM, Ulrich Mueller <u...@gentoo.org> wrote:
> Filtering in eselect news would be problematic: Obtaining the list
> of items with "eselect news list" and e.g. reading them with "eselect
> news read" are issued as separate commands, which requires that the
> list of valid items does not change. However, time-based filtering
> could cause a race condition, like an item expiring between execution
> of the two commands.

Would it be possible to make the expiration times use not the wall
clock time, but the timestamp of the repository if one is available?

That would not only be more predictable (can expire on repository
manipulations only), but also better suited for updating severely
outdated systems. You can advance the repository state by 1 year and
read the news items as they were at that time, not half of them
expired and hidden.

Denis Lisov.



Re: [gentoo-dev] [PATCH 4/5] cargo.eclass: Support separating crate names/versions via slash

2023-06-16 Thread Denis Lisov
Hello Michał,

On Fri, Jun 16, 2023 at 3:09 PM Michał Górny  wrote:
> Support specifying crate names and versions separated by forward slashes
> rather than hyphens.  Since slashes are not valid in crate names, this
> makes splitting the tokens trivial and free of regular expressions.
> Effectively, the slash variant is roughly 180% faster:

As a developer using Rust I want to note that Cargo has a concept of
"package ID specification"[1] that usually uses pkgname@version
syntax, but AFAIK there's no prior art for using pkgname/version in
the ecosystem. Could it make sense to use pkgname@version for
consistency?

Regards,
Denis Lisov.

[1]: https://doc.rust-lang.org/cargo/reference/pkgid-spec.html