Github messages for voidlinux
 help / color / mirror / Atom feed
From: sbrivio-rh <sbrivio-rh@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR REVIEW] New package: passt-2023.02.27.c538ee8
Date: Thu, 02 Mar 2023 01:07:58 +0100	[thread overview]
Message-ID: <20230302000758.cwMkfMqb3-x6R6gvTW6q5_nGHnASIuiB-GhQS54jcNI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42517@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1342 bytes --]

New review comment by sbrivio-rh on void-packages repository

https://github.com/void-linux/void-packages/pull/42517#discussion_r1122457225

Comment:
By the way, Debian package versions are formed with this [uscan rule](https://salsa.debian.org/sbrivio/passt/-/blob/master/debian/watch#L2):

```
options="uversionmangle=s/_//g; s/^/0.0~git/"
```

and this is the [rpkg macro](https://passt.top/passt/tree/contrib/fedora/rpkg.macros#n18) for Fedora:

```
printf "0^%s.g%s" "$(date -uI -d "${__date}" | tr -d -)" "${__commit}"
```

those are just to comply with distribution guidelines, there's no particular reason why. Upstream versions (tags) simply uses `YYYY_MM_DD.SHORT_SHA` as you noted because I find it more readable.

>  Or are you mainly suggesting prepending a 0-Version number in case they start using proper version?

There are no plans to switch to semantic versioning or suchlike. The current agreement, for the foreseeable future, is that dates are more meaningful than version numbers, yet should be readable enough, and the SHA immediately and uniquely identifies tags. We have no branches or "stable" releases, so that's quite convenient.

But sure, prepending a `0` is probably not a bad idea, even though it's a bit less readable. If we ever switch to a different scheme, we could also start with a `3`.

  parent reply	other threads:[~2023-03-02  0:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-01  4:07 [PR PATCH] " lemmi
2023-03-01 15:32 ` [PR REVIEW] " sgn
2023-03-01 17:28 ` lemmi
2023-03-02  0:07 ` sbrivio-rh [this message]
2023-03-02  0:33 ` lemmi
2023-03-02  8:58 ` sbrivio-rh
2023-03-02 13:53 ` sbrivio-rh
2023-03-02 19:11 ` [PR PATCH] [Updated] " lemmi
2023-03-02 19:14 ` lemmi
2023-03-02 19:15 ` [PR PATCH] [Updated] " lemmi
2023-03-09  9:15 ` sbrivio-rh
2023-03-10  3:12 ` [PR PATCH] [Updated] " lemmi
2023-03-19  6:38 ` [PR PATCH] [Updated] New package: passt-2023.03.09.7c7625d lemmi
2023-03-24 14:09 ` lemmi
2023-03-24 14:12 ` [PR PATCH] [Merged]: " lemmi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230302000758.cwMkfMqb3-x6R6gvTW6q5_nGHnASIuiB-GhQS54jcNI@z \
    --to=sbrivio-rh@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).