public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Eli Schwartz <eschwartz93@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH] .github: Add pull request template
Date: Wed, 1 May 2024 10:47:43 -0400	[thread overview]
Message-ID: <b8423767-2290-4a0d-b98d-b882ef604dde@gmail.com> (raw)
In-Reply-To: <1b6164f5-a64f-4ce9-a48c-47bf7168d209@gentoo.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 2517 bytes --]

On 5/1/24 10:27 AM, Maciej Barć wrote:
> Maybe we could consider also adding something along the lines (4
> additional positions):
> 
> 1. I have emerged the package(s) on a Gentoo-based system (be it
> "native" or virtualized by means of hardware-based virtualization or
> system layer virtualization).
> 2. I have tested that the package(s) merge inside both the user and net
> sandbox without violations on a Gentoo-based system.
> 3. I can assure that the packages would be able to be merged on the
> currently default Gentoo profile (with or without modifications to USE
> flags).
> 4. If manual intervention (beyond "emerge PKG") is required ro complete
> the install/update of the package(s) I have explained the steps needed
> to be taken in the PR and/or package ebuild(s) and/or Gentoo Wiki.


It's not obvious to me these are necessary since the entire concept
behind submitting an ebuild update is to, well, install and use it. My
base assumption is that users submitting such an update have done so
because it solved a problem for them.

This covers 1, 2, and 3, unless the user has done some fairly heavily
nonstandard things or submits effectively untested spam which admittedly
might happen -- but the checkboxes don't seem the easiest way to solve this.

4 seems semantically wrong since it's not the job of a PR to describe
what users should do to manually intervene to install a package, but
IMHO this is already covered by 3. The only interesting case I can
actually think of is where updating a package requires some sort of e.g.
database migration to run after updating and before the next use -- this
is the minority of packages and should be handled by a postinst message,
but could also be reviewed on a case by case basis...

It is *not* the job of a packager to ensure that the gentoo wiki
excellently describes how to use the software, as that's a different
skillset. I wouldn't want to discourage users from contributing code
because they aren't skilled documentarians.


The existing pull request template suggestion proposes to add checkboxes
for 3 types of requirements that aren't necessarily obvious to users who
had a problem, fixed it, and want to share the fix -- they are all about
complying with Gentoo policy.

Your 4 suggestions are all about requirements for fixing a problem and
successfully fixing it even as a local ebuild. We don't need to remind
people that the PR has to actually fix the problem.


-- 
Eli Schwartz

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 18399 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-05-01 14:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-01 13:32 [gentoo-dev] [PATCH] .github: Add pull request template Michał Górny
2024-05-01 14:27 ` Maciej Barć
2024-05-01 14:47   ` Eli Schwartz [this message]
2024-05-01 15:02     ` Maciej Barć
2024-05-01 15:15       ` Eli Schwartz
2024-05-01 15:18         ` Maciej Barć
2024-05-01 14:59   ` Michał Górny
2024-05-01 15:14     ` Maciej Barć
2024-05-01 14:28 ` Ionen Wolkens
2024-05-01 14:38   ` Maciej Barć
2024-05-01 14:54     ` Eli Schwartz
2024-05-01 15:01     ` Ulrich Mueller
2024-05-01 15:05       ` Maciej Barć
2024-05-01 15:52         ` Ulrich Mueller
2024-05-01 16:00           ` Maciej Barć
2024-05-01 15:00   ` Michał Górny
2024-05-03  4:41   ` Sam James
2024-05-03  4:41 ` Sam James

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=b8423767-2290-4a0d-b98d-b882ef604dde@gmail.com \
    --to=eschwartz93@gmail.com \
    --cc=gentoo-dev@lists.gentoo.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