Hi!

On Wed, 2025-04-23 at 23:16:51 +0200, Guillem Jover wrote:
> On Wed, 2025-04-23 at 21:23:20 +0200, Philipp Kern wrote:
> > Can we push .gpg and .pgp files with identical content for a while?
> > That'd decouple necessary realtime interactions. I realize that this
> > does not fix the fact that we might break stuff once we replace .gpg
> > files with a symlink - but it also opens up the opportunity that we
> > can also replace the references instead.
> 
> I was thinking something along those lines (as in decouple the archive
> switch from the infra switch), as my current main interest right now
> would be for the changes to hit Debian trixie, via the .deb in the
> archive. But it's true that just duplicating the files might be safer,
> and as you mention then we can just simply flip the infra users, and
> then later on whether it's a symlink or not will not matter as much I
> guess.
> 
> I'll try to come up with an updated patch for debian-keyring trying to
> decouple the package generation from the infra syncing, hopefully by
> tomorrow (Thu), or maybe later today.

So this ended up being trivial, as I had already split the logic and
was creating the symlinks for the packaging independently from the
previous symlinks for the infra, which I've now switched to being
hardlinks. This seems safe, because even if they end up being copied
as new files, then we at most just lose some space, but should have no
other consequence given that they are going to be proper files. (If
there's still concern about this I guess I could switch that to a
«cp -a» call?). Attached updated patch.

Thanks,
Guillem

Attachment: binbn1oxpmV8r.bin
Description: application/xz

Reply via email to