Subject: Re: [bug#61468] [PATCH] gnu: cat-avatar-generator: Update to 2.

From: zimoun <[email-masked]>
Date: Mon, 13 Feb 2023 12:47:05 +0100

Hi,

On Mon, 13 Feb 2023 at 06:40, Evgeny Pisemsky <[email-masked]> wrote:

>  (define-public cat-avatar-generator
>    (package
>      (name "cat-avatar-generator")
> -    (version "1")
> +    (version "2")
>      (source (origin
>                (method git-fetch)
>                (uri (git-reference
> -                     (url "https://framagit.org/Deevad/cat-avatar-generator.git")
> -                     (commit "71c0c662742cafe8afd2d2d50ec84243113e35ad")))
> +                    (url "https://framagit.org/Deevad/cat-avatar-generator.git")
> +                    (commit "9360ea33f79d1dad3e43494b09878b5e3f6b41fa")))

The common practise when it is not yet released is to use this pattern:

--8<---------------cut here---------------start------------->8---
(let ((commit "9360ea33f79d1dad3e43494b09878b5e3f6b41fa")
        (revision "2"))
    (package
      (name "cat-avatar-generator")
      (version (git-version "1" revision commit))
[...]
                    (commit commit)
--8<---------------cut here---------------end--------------->8---

Although it was not used by the initial addition
3bedac50571204643d5e3b204dc720ae7d571a1f. :-)

Even, maybe version should 0 and not 1; I do not know.

Cheers,
simon