Github messages for voidlinux
 help / color / mirror / Atom feed
* Re: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
  2020-03-01  1:44 ` Move to versioned pam-gnupg daniel-eys
@ 2020-03-01  3:11 ` ahesford
  2020-03-01  3:30 ` ahesford
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ahesford @ 2020-03-01  3:11 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/19645#issuecomment-593047034

Comment:
> You can add `replaces="pam-gnupg-git>=0"` to the new template. This should do the migration without the transitional meta-package.

This was my first inclination, but @Duncaen didn't think `replaces` was sufficient and recommended the meta-package approach. It would be great to get his feedback on the matter here.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
  2020-03-01  1:44 ` Move to versioned pam-gnupg daniel-eys
  2020-03-01  3:11 ` ahesford
@ 2020-03-01  3:30 ` ahesford
  2020-03-01 14:22 ` daniel-eys
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: ahesford @ 2020-03-01  3:30 UTC (permalink / raw)
  To: ml

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

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/pull/19645#issuecomment-593048342

Comment:
A quick test suggests that adding a `replaces` directive is not sufficient to identify the upgrade path from `pam-gnupg-git` to `pam-gnupg`. With the new `pam-gnupg` package (with a `replaces` directive) available in a local repository, `xbps-install pam-gnupg` will properly cause removal of an installed `pam-gnupg-git-20191206_1`. However, `xbps-install -u` from the local repo will *not* attempt to replace the installed `pam-gnupg-git-20191206_1` with the new `pam-gnupg` whether or not the `replaces` directive is included.

By contrast, having an updated `pam-gnupg-git` metapackage in the local repo causes `xbps-install -u` to properly replace the existing installation, pulling in the new `pam-gnupg` by dependence.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
                   ` (2 preceding siblings ...)
  2020-03-01  3:30 ` ahesford
@ 2020-03-01 14:22 ` daniel-eys
  2020-03-01 15:03 ` xtraeme
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: daniel-eys @ 2020-03-01 14:22 UTC (permalink / raw)
  To: ml

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

New comment by daniel-eys on void-packages repository

https://github.com/void-linux/void-packages/pull/19645#issuecomment-593102702

Comment:
Right, I see now. Only an explicit `xpbs-install pam-gnupg` would pick up the changes in the case when `pam-gnupg-git` is already installed.
Then indeed, having a metapackage should be the proper choice here.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
                   ` (3 preceding siblings ...)
  2020-03-01 14:22 ` daniel-eys
@ 2020-03-01 15:03 ` xtraeme
  2020-03-03 10:40 ` xtraeme
  2020-03-03 10:41 ` [PR PATCH] [Merged]: " xtraeme
  6 siblings, 0 replies; 7+ messages in thread
From: xtraeme @ 2020-03-01 15:03 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/19645#issuecomment-593107023

Comment:
Right, the meta pkg allows you to upgrade it even with incompatible version upgrades. 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
                   ` (4 preceding siblings ...)
  2020-03-01 15:03 ` xtraeme
@ 2020-03-03 10:40 ` xtraeme
  2020-03-03 10:41 ` [PR PATCH] [Merged]: " xtraeme
  6 siblings, 0 replies; 7+ messages in thread
From: xtraeme @ 2020-03-03 10:40 UTC (permalink / raw)
  To: ml

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

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/pull/19645#issuecomment-593883226

Comment:
Anyway, next time we should be more careful when adding pkgs with git commits...

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Merged]: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
                   ` (5 preceding siblings ...)
  2020-03-03 10:40 ` xtraeme
@ 2020-03-03 10:41 ` xtraeme
  6 siblings, 0 replies; 7+ messages in thread
From: xtraeme @ 2020-03-03 10:41 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

Move to versioned pam-gnupg
https://github.com/void-linux/void-packages/pull/19645

Description:
This PR makes pam-gnupg-git a meta-package that depends on the new pam-gnupg package, which is a proper release version of the pam-gnupg module. The migration does not seem to work when pam-gnupg-git is a subpackage of pam-gnupg because the change from date-based versioning (20191206_1) to release versioning (0.1_1) is not properly ordered and XBPS will not recognize that the new meta-package is an upgrade to the earlier version.

The plan is to keep the pam-gnupg-git meta-package around for awhile---maybe until the next upstream release (I do not suspect that this is a popular package), then remove it and continue only with the new release-based package.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Move to versioned pam-gnupg
       [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
@ 2020-03-01  1:44 ` daniel-eys
  2020-03-01  3:11 ` ahesford
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 7+ messages in thread
From: daniel-eys @ 2020-03-01  1:44 UTC (permalink / raw)
  To: ml

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

New comment by daniel-eys on void-packages repository

https://github.com/void-linux/void-packages/pull/19645#issuecomment-593028911

Comment:
You can add `replaces="pam-gnupg-git>=0"` to the new template. This should do the migration without the transitional meta-package.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-03-03 10:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-19645@inbox.vuxu.org>
2020-03-01  1:44 ` Move to versioned pam-gnupg daniel-eys
2020-03-01  3:11 ` ahesford
2020-03-01  3:30 ` ahesford
2020-03-01 14:22 ` daniel-eys
2020-03-01 15:03 ` xtraeme
2020-03-03 10:40 ` xtraeme
2020-03-03 10:41 ` [PR PATCH] [Merged]: " xtraeme

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