public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-dev@lists.gentoo.org, Eli Schwartz <eschwartz93@gmail.com>
Subject: Re: [gentoo-dev] [PATCH] .github: Add pull request template
Date: Wed, 1 May 2024 17:02:49 +0200	[thread overview]
Message-ID: <fb8f4e7b-6df5-40a4-a34d-59417d36a8bc@gentoo.org> (raw)
In-Reply-To: <b8423767-2290-4a0d-b98d-b882ef604dde@gmail.com>


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

> 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.

Well, not really, there were many cases where pkg was broken on sandbox! 
The latest example would be nim (before I updated it myself) where 
contributor submitted broken pkg without telling anybody. It was a WIP 
PR but nowhere they specified that it did not merge under sandbox. I 
want to encourage contributors to outright say when they know/think 
something might be wrong with package.

W dniu 1.05.2024 o 16:47, Eli Schwartz pisze:
> 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.
> 
> 

-- 
Have a great day!

~ Maciej XGQT Barć

https://wiki.gentoo.org/wiki/User:Xgqt
9B0A 4C5D 02A3 B43C 9D6F D6B1 14D7 4A1F 43A6 AC3C

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

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

  reply	other threads:[~2024-05-01 15:02 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
2024-05-01 15:02     ` Maciej Barć [this message]
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=fb8f4e7b-6df5-40a4-a34d-59417d36a8bc@gentoo.org \
    --to=xgqt@gentoo.org \
    --cc=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