Discussion:
Updating extrepo-offline-data in Debian Stable
Add Reply
Paul Gevers
2024-03-07 06:00:01 UTC
Reply
Permalink
Hi zigo,

Disclaimer: I'm not acting as SRM, the final call is with team members
that do.
So IMO, it'd make a lot of sense to be able to update the
extrepo-offline-data package in Stable, so that Stable (currently
bookworm) would get the latest up-to-date repository list data.
That seems reasonable to me as long as it's data only.

Having said that and not knowing if it doesn't already do that, if
extrepro would update a cache when online, it's offline option could
also be refreshed at a convenience moment without the need for an
up-to-date package in stable. I hope it's needless to say that I don't
mean that this mechanisme should replace the data package, merely
complement it.

Paul
Wouter Verhelst
2024-03-14 08:00:01 UTC
Reply
Permalink
Package: release.debian.org
Control: affects -1 + src:extrepo-data
User: ***@packages.debian.org
Usertags: pu
Tags: bookworm
Severity: normal
Subject: bookworm-pu: package extrepo-data/1.0.5
thanks

[making this an official stable update request; for the full backstory,
please see the thread starting at
https://lists.debian.org/debian-release/2024/03/msg00076.html]]
Post by Paul Gevers
Having said that and not knowing if it doesn't already do that, if
extrepro would update a cache when online, it's offline option could
also be refreshed at a convenience moment without the need for an
up-to-date package in stable. I hope it's needless to say that I don't
mean that this mechanisme should replace the data package, merely
complement it.
It's actually a very good idea to have such cache. Though as you wrote, it
doesn't replace the data package, especially when one wants to use local
apt-get install extrepo extrepo-offline-data
extrepo enable --offlinedata --mirror http://mirror.example.com/haproxy
To give a bit more background here:

extrepo was originally designed to use an online, GPG-signed, metadata
repository. When you run an extrepo command and it needs to, extrepo
will download the metadata index and the signature on that, and then
verify that the signature is correct. All further information that it
needs is hashed with a cryptographically secure hash, and so can be
assumed to be safe.

extrepo provides two things: a (checked and vetted) URI for a repository
of external packages, and a (checked and vetted) GPG key that can sign
packages in that repository.

Accessing the metadata repository in the way described above however
requires direct access to that metadata repository, which is complicated
for air-gapped systems. While the location of that repository is
configurable, and in theory it is possible to write a tool which will
download the metadata plus all signatures plus all external files that
exist, that seems like quite a bit of work, and Thomas therefore
suggested an alternate solution whereby the extrepo metadata is also
packaged in Debian. Doing so only requires a person to mirror the
repository that they want to enable, and to override the mirror URL by
way of the --mirror option passed to extrepo. This way, extrepo will
enable the repository on the given mirror, and will ensure that the
relevant GPG key for the repository in question is provided to apt,
which can still save the user some work of having to manually download
and verify the GPG key.

The downside here however, is that most repositories are updated to add
support for a particular Debian release only after that Debian release
has been promoted to stable. This unfortunately reduces the usability of
the extrepo-offline-data package, which could be remedied by updating
the package in stable.

The extrepo-offline-data package, as the name implies, is a data-only
package. Apart from the changelog and copyright in /usr/share/doc, it
only contains metadata files under /usr/share/extrepo/offline-data.

Thanks for your consideration,
--
***@uter.{be,co.za}
wouter@{grep.be,fosdem.org,debian.org}

I will have a Tin-Actinium-Potassium mixture, thanks.
Debian Bug Tracking System
2024-03-14 08:20:01 UTC
Reply
Permalink
Post by Wouter Verhelst
affects -1 + src:extrepo-data
Bug #1066842 [release.debian.org] Updating extrepo-offline-data in Debian Stable
Added indication that 1066842 affects src:extrepo-data
--
1066842: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066842
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Jonathan Wiltshire
2024-03-28 20:50:01 UTC
Reply
Permalink
Hi,
Post by Wouter Verhelst
The extrepo-offline-data package, as the name implies, is a data-only
package. Apart from the changelog and copyright in /usr/share/doc, it
only contains metadata files under /usr/share/extrepo/offline-data.
I would accept such updates in stable now and in the future. What's the
source debdiff this time around?

Thanks,
--
Jonathan Wiltshire ***@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1
Jonathan Wiltshire
2024-04-27 17:30:02 UTC
Reply
Permalink
diff -Nru extrepo-data-1.0.3/debian/changelog extrepo-data-1.0.3+deb12u1+1/debian/changelog
--- extrepo-data-1.0.3/debian/changelog 2022-10-13 16:27:28.000000000 +0200
+++ extrepo-data-1.0.3+deb12u1+1/debian/changelog 2024-04-23 09:03:00.000000000 +0200
@@ -1,3 +1,10 @@
+extrepo-data (1.0.3+deb12u1+1) bookworm; urgency=medium
+
+ * Update the repo data from the Debian unstable branch.
+ * Fix d/copyright mime syntax.
+
There's a stray "+1" in the version, should be 1.0.3+deb12u1.

Is this actually a backport of current unstable though? In which case it
should include the changelog from 1.0.4 and be 1.0.4~deb12u1.

With one fix or the other, go ahead.

Thanks,
--
Jonathan Wiltshire ***@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC 74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1
Jonathan Wiltshire
2024-05-12 10:50:02 UTC
Reply
Permalink
package release.debian.org
tags 1066842 = bookworm pending
thanks

Hi,

The upload referenced by this bug report has been flagged for acceptance into the proposed-updates queue for Debian bookworm.

Thanks for your contribution!

Upload details
==============

Package: extrepo-data
Version: 1.0.3+deb12u1

Explanation: update repository information

Loading...