Discussion:
Bug#710500: Mention removal of libdigest-sha1-perl (covered by Digest::SHA in perl core)
(too old to reply)
Salvatore Bonaccorso
2013-05-31 12:40:01 UTC
Permalink
Package: release-notes
Tags: patch

Hi Michael

For reference, this is from http://bugs.debian.org/594273#54
I'm not sure it is the right place - the RM bugreport -
to add this information to.
The thing is: finally, wheezy is out without this module.
And it turns out that many 3rd-party code still uses the
old name, despite the new name being in core perl for
quite a while.
In particular, when upgrading postgresql.org to wheezy,
this change (removal of Digest::SHA1) was one of the main
issues, significantly bigger than all other together.
There were about 40 modules/programs which used the old
name, which all, at the same time, stopped working, and
it tool quite some efforts to figure it all out and to
make it all work again.
This pain could be reduced significantly by one of at least
1. By documenting the fact that this module is no longer
available, somewhere in release notes or something like
that. One of the issues faced was complete lack of any
information about this, and even searching does not reveal
anything useful easily (google finds oldstable package but
not this removal request).
This sounds like a good plan as libdigest-sha1-perl was nevertheless
still widely used. Attached is the patch proposed to apply to the
release-notes.
2. By providing a compatibility layer, a tiny wrapper that
just maps one namespace into another. I don't remember how
this works in perl, but I guess it should be more or less
trivial to do - so that old Digest::SHA1 name still works
(maybe printing some deprecation warning or something).
Either as an additional package (maybe using the same old
name - libdigest-sha1-perl), or within core perl itself.
IMO not the right approach as the aim was really to drop the use of
the obsoleted Digest::SHA1. But adding a release-notes entry is surely
more than worth.

Regards,
Salvatore
Bastien ROUCARIES
2013-06-01 07:10:01 UTC
Permalink
Post by Salvatore Bonaccorso
Package: release-notes
Tags: patch
Hi Michael
For reference, this is from http://bugs.debian.org/594273#54
I'm not sure it is the right place - the RM bugreport -
to add this information to.
The thing is: finally, wheezy is out without this module.
And it turns out that many 3rd-party code still uses the
old name, despite the new name being in core perl for
quite a while.
In particular, when upgrading postgresql.org to wheezy,
this change (removal of Digest::SHA1) was one of the main
issues, significantly bigger than all other together.
There were about 40 modules/programs which used the old
name, which all, at the same time, stopped working, and
it tool quite some efforts to figure it all out and to
make it all work again.
This pain could be reduced significantly by one of at least
1. By documenting the fact that this module is no longer
available, somewhere in release notes or something like
that. One of the issues faced was complete lack of any
information about this, and even searching does not reveal
anything useful easily (google finds oldstable package but
not this removal request).
This sounds like a good plan as libdigest-sha1-perl was nevertheless
still widely used. Attached is the patch proposed to apply to the
release-notes.
2. By providing a compatibility layer, a tiny wrapper that
just maps one namespace into another. I don't remember how
this works in perl, but I guess it should be more or less
trivial to do - so that old Digest::SHA1 name still works
(maybe printing some deprecation warning or something).
Either as an additional package (maybe using the same old
name - libdigest-sha1-perl), or within core perl itself.
IMO not the right approach as the aim was really to drop the use of
the obsoleted Digest::SHA1. But adding a release-notes entry is surely
more than worth.
Please add a Lintian test or ask for a test for checking obsolete module
Post by Salvatore Bonaccorso
Regards,
Salvatore
Salvatore Bonaccorso
2013-06-01 07:20:01 UTC
Permalink
Hi Bastien
Post by Bastien ROUCARIES
Post by Salvatore Bonaccorso
Package: release-notes
Tags: patch
Hi Michael
For reference, this is from http://bugs.debian.org/594273#54
I'm not sure it is the right place - the RM bugreport -
to add this information to.
The thing is: finally, wheezy is out without this module.
And it turns out that many 3rd-party code still uses the
old name, despite the new name being in core perl for
quite a while.
In particular, when upgrading postgresql.org to wheezy,
this change (removal of Digest::SHA1) was one of the main
issues, significantly bigger than all other together.
There were about 40 modules/programs which used the old
name, which all, at the same time, stopped working, and
it tool quite some efforts to figure it all out and to
make it all work again.
This pain could be reduced significantly by one of at least
1. By documenting the fact that this module is no longer
available, somewhere in release notes or something like
that. One of the issues faced was complete lack of any
information about this, and even searching does not reveal
anything useful easily (google finds oldstable package but
not this removal request).
This sounds like a good plan as libdigest-sha1-perl was nevertheless
still widely used. Attached is the patch proposed to apply to the
release-notes.
2. By providing a compatibility layer, a tiny wrapper that
just maps one namespace into another. I don't remember how
this works in perl, but I guess it should be more or less
trivial to do - so that old Digest::SHA1 name still works
(maybe printing some deprecation warning or something).
Either as an additional package (maybe using the same old
name - libdigest-sha1-perl), or within core perl itself.
IMO not the right approach as the aim was really to drop the use of
the obsoleted Digest::SHA1. But adding a release-notes entry is surely
more than worth.
Please add a Lintian test or ask for a test for checking obsolete module
Already done since long time, before the removal of the package ;-).
See [1].

[1] http://bugs.debian.org/635441

Regards,
Salvatore
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Debian Bug Tracking System
2019-02-20 21:00:02 UTC
Permalink
Your message dated Wed, 20 Feb 2019 21:54:48 +0100
with message-id <666725d9-08a8-02ce-2d60-***@debian.org>
and subject line Re: Mention removal of libdigest-sha1-perl (covered by Digest::SHA in perl core)
has caused the Debian Bug report #710500,
regarding Mention removal of libdigest-sha1-perl (covered by Digest::SHA in perl core)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ***@bugs.debian.org
immediately.)
--
710500: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710500
Debian Bug Tracking System
Contact ***@bugs.debian.org with problems
Loading...