Github messages for voidlinux
 help / color / mirror / Atom feed
From: Logarithmus <Logarithmus@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR REVIEW] New package: zam-plugins-3.14
Date: Sun, 27 Jun 2021 20:33:39 +0200	[thread overview]
Message-ID: <20210627183339.C6kRq4uEqDZpoQqTKYqtmdRkpF8DEGQQIlm06IxrgVk@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31665@inbox.vuxu.org>

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

New review comment by Logarithmus on void-packages repository

https://github.com/void-linux/void-packages/pull/31665#discussion_r659359692

Comment:
> Yes there is, we have checksums for the tarball.

Please, read my message again. You were afraid of force pushes suddenly changing the tag contents. My little experiment proved that tag remains untouched.
**UPD** Now I've came up with this case: author deletes tag completely and then creates it again, but points it to another commit. So maybe you are right that it's better to have a hash in `template` because the package can silently break.

> Package policy is documented in the Manual; many other packages use submodules by downloading each tarball and moving to the specific place.

I don't see using `git` directly instead of tarballs being prohibited in `Manual.md`. Moreover, it documents that `do_fetch` is used to fetch sources when `distfiles` is not set. If you so strongly insist on using tarballs only, then what's the purpose of `do_fetch` then? Let's remove it altogether from `xbps-src` 

> Did you try? We use this functionality in multiple places.

Hmm... OK, looks like `https://github.com/<name>/<repo>/archive/<hash>.tar.gz` works.

> Anyhow, the issue with being "packageable" is that if writing a reasonable template is too much trouble, then it isn't packageable. It isn't that it has submodules or anything else.

There isn't any trouble in writing a template for packages with many submodules. You can just use `do_fetch` and let `git` do it's job, instead of manually copy-pasting commit hashes for each submodule every time the package updates.

  parent reply	other threads:[~2021-06-27 18:33 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-26 16:00 [PR PATCH] " Logarithmus
2021-06-26 19:30 ` [PR REVIEW] " ericonr
2021-06-26 19:30 ` ericonr
2021-06-26 19:30 ` ericonr
2021-06-26 19:30 ` ericonr
2021-06-26 19:30 ` ericonr
2021-06-27 16:00 ` Logarithmus
2021-06-27 16:00 ` Logarithmus
2021-06-27 16:02 ` Logarithmus
2021-06-27 16:36 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 16:50 ` [PR REVIEW] " Logarithmus
2021-06-27 16:50 ` Logarithmus
2021-06-27 16:50 ` Logarithmus
2021-06-27 16:55 ` Logarithmus
2021-06-27 16:56 ` Logarithmus
2021-06-27 16:57 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 17:07 ` [PR REVIEW] " Logarithmus
2021-06-27 17:29 ` Logarithmus
2021-06-27 17:30 ` Logarithmus
2021-06-27 17:51 ` ericonr
2021-06-27 17:51 ` ericonr
2021-06-27 17:53 ` Logarithmus
2021-06-27 18:01 ` ericonr
2021-06-27 18:33 ` Logarithmus [this message]
2021-06-27 18:45 ` ericonr
2021-06-27 19:02 ` Duncaen
2021-06-27 19:04 ` Logarithmus
2021-06-27 19:23 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 19:56 ` Logarithmus
2021-06-27 20:35 ` [PR PATCH] [Updated] " Logarithmus
2021-06-27 21:15 ` Logarithmus
2021-06-27 21:32 ` Logarithmus
2021-06-27 21:37 ` Logarithmus
2021-06-27 21:50 ` Logarithmus
2021-06-27 21:59 ` Logarithmus
2021-06-28  0:21 ` Logarithmus
2022-05-23  2:12 ` github-actions
2022-06-06  2:14 ` [PR PATCH] [Closed]: " github-actions

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=20210627183339.C6kRq4uEqDZpoQqTKYqtmdRkpF8DEGQQIlm06IxrgVk@z \
    --to=logarithmus@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).