Bug#1066842: Updating extrepo-offline-data in Debian Stable (debdiff)

2024-04-29 Thread Thomas Goirand

Hi Jonathan,

I have removed the +1 from version number as you mentioned, and uploaded 
to bookworm. Please accept the package.


Jonathan wrote:
> 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.

It is *not* a backport of the entire 1.0.4 package as per in Unstable, 
as it would have include changes in non-data parts of the package. As I 
wrote earlier, I've simply copied the "repos" data-only folder from 
1.0.4, and made a new 1.0.3+deb12u1 with it, to avoid unwanted / 
dangerous / untested changes.


Thanks for accepting this update,
Cheers,

Thomas Goirand (zigo)



Bug#1066842: Updating extrepo-offline-data in Debian Stable (debdiff)

2024-04-27 Thread Jonathan Wiltshire
On Tue, Apr 23, 2024 at 09:10:54AM +0200, Thomas Goirand wrote:
> 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.0 
> +0200
> +++ extrepo-data-1.0.3+deb12u1+1/debian/changelog 2024-04-23 
> 09:03:00.0 +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.
> +
> + -- Thomas Goirand   Tue, 23 Apr 2024 09:03:00 +0200

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  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1



Bug#1066842: Updating extrepo-offline-data in Debian Stable

2024-03-28 Thread Jonathan Wiltshire
Hi,

On Thu, Mar 14, 2024 at 09:55:27AM +0200, Wouter Verhelst wrote:
> 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  j...@debian.org
Debian Developer http://people.debian.org/~jmw

4096R: 0xD3524C51 / 0A55 B7C5 1223 3942 86EC  74C3 5394 479D D352 4C51
ed25519/0x196418AAEB74C8A1: CA619D65A72A7BADFC96D280196418AAEB74C8A1



Bug#1066842: Updating extrepo-offline-data in Debian Stable

2024-03-14 Thread Wouter Verhelst
Package: release.debian.org
Control: affects -1 + src:extrepo-data
User: release.debian@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]]

On Thu, Mar 07, 2024 at 07:10:28PM +0100, Thomas Goirand wrote:
> On 3/7/24 06:57, Paul Gevers wrote:
> > 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
> mirror, with something like this:
> 
> 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,

-- 
 w@uter.{be,co.za}
wouter@{grep.be,fosdem.org,debian.org}

I will have a Tin-Actinium-Potassium mixture, thanks.