From shankar.atreya at gmail.com Sun Mar 13 18:39:28 2022 From: shankar.atreya at gmail.com (Atreya Shankar) Date: Sun, 13 Mar 2022 19:39:28 +0100 Subject: "IgnorePkg" feature request Message-ID: <20220313183928.alckc2ngprkwz734@monix> Dear Pacman-Contrib Team, Good day, I am one of the developers working on the `downgrade` AUR package (https://aur.archlinux.org/packages/downgrade) and have a quick question in regards to a potential feature request. Some background: our `downgrade` package aims to ease downgrading of packages in Arch Linux. This is done by searching either the Arch Linux Archive or local caches and then providing the user with previous package selection options. Finally, `downgrade` provides the user with the ability to automatically add the downgraded package name to the `IgnorePkg` directive such that this package is no longer updated. Recently, we received feature requests to automate the editing of the `IgnorePkg` directive. As an example, assume we are currently ignoring updates on package `foo` due to some upstream bug. Now after the bug is fixed, it would be nice to be able to remove `foo` from the `IgnorePkg` directive programmatically. This could be done using a new script called `pacignore` with an example command being: `pacignore rm foo`. This command could accept other subcommands such as `ls` for listing and `add` for adding packages to `IgnorePkg`, as described in our discussion here: https://github.com/pbrisbin/downgrade/issues/158#issuecomment-866884679 Naturally, we could develop this `pacignore` script as part of `downgrade`. However, we believe it would be better suited as part of `pacman-contrib` (or even `pacman` proper) since it could benefit the larger Arch Linux community. Given this, we would like to ask for your feedback; specifically if you think that the proposed `pacignore` script could feasibly be part of `pacman-contrib` (or `pacman` proper)? With this information, we would then be able to submit a formal feature request in the appropriate channel. Thank you for your time, wishing all a nice day ahead. -- Atreya Shankar PGP Key ID: 0x5330BD3D1107E5A6 PGP Public Key: https://github.com/atreyasha.gpg -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: From john at zlima12.com Sun Mar 13 19:33:52 2022 From: john at zlima12.com (John A. Leuenhagen) Date: Sun, 13 Mar 2022 19:33:52 +0000 (UTC) Subject: "IgnorePkg" feature request In-Reply-To: <20220313183928.alckc2ngprkwz734@monix> References: <20220313183928.alckc2ngprkwz734@monix> Message-ID: This functionality seems fairly basic, and can be harmful if a user doesn't understand what they're doing. Partial upgrades are not supported, and I'm not sure we should have a script that enables them as part of this package. My vote would be to just have downgrade implement this functionality itself. John