[Piuparts-devel] [Git][debian/piuparts][develop] 3 commits: Update several URLs pointing to https://www.debian.org/doc/debian-policy to…
Holger Levsen
gitlab at salsa.debian.org
Sat Sep 8 12:39:06 BST 2018
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
9ae3f40a by Holger Levsen at 2018-09-08T11:33:19Z
Update several URLs pointing to https://www.debian.org/doc/debian-policy to match the new URLs since debian-policy 4.1.0.
This is work in progress, this commit changes:
sed "s|https://www.debian.org/doc/debian-policy/#copyright-information|https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information|g"
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
589e3ecf by Holger Levsen at 2018-09-08T11:35:53Z
Update several URLs pointing to https://www.debian.org/doc/debian-policy to match the new URLs since debian-policy 4.1.0.
This is work in progress, this commit changes:
sed "s|https://www.debian.org/doc/debian-policy/#prompting-in-maintainer-scripts|https://www.debian.org/doc/debian-policy/ch-binary.html#prompting-in-maintainer-scripts|g"
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
b169a822 by Holger Levsen at 2018-09-08T11:37:54Z
Update several URLs pointing to https://www.debian.org/doc/debian-policy to match the new URLs since debian-policy 4.1.0.
This is work in progress, this commit changes:
sed "s|https://www.debian.org/doc/debian-policy/#details-of-unpack-phase-of-installation-or-upgrade|https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade|g"
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
4 changed files:
- bug-templates/copyright_file_missing_after_upgrade.mail
- bug-templates/installs_over_existing_symlink.mail
- bug-templates/prompts_user_without_following_Debian_Configuration_Management_Specification.mail
- bug-templates/unhandled_symlink_to_directory_conversion.mail
Changes:
=====================================
bug-templates/copyright_file_missing_after_upgrade.mail
=====================================
@@ -11,7 +11,7 @@ Hi,
a test with piuparts revealed that your package misses the copyright
file after an upgrade, which is a violation of Policy 12.5:
-https://www.debian.org/doc/debian-policy/#copyright-information
+https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information
After the upgrade /usr/share/doc/$PACKAGE/ is just an empty directory.
@@ -28,7 +28,7 @@ https://wiki.debian.org/MissingCopyrightFile
Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
-https://www.debian.org/doc/debian-policy/#details-of-unpack-phase-of-installation-or-upgrade
+https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade
It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
=====================================
bug-templates/installs_over_existing_symlink.mail
=====================================
@@ -32,7 +32,7 @@ It may break in subtle ways and dpkg cannot detect this as a problem.
"win" and all others have "lost".
Note that dpkg intentionally does not replace directories with
symlinks and vice versa, see in particular the end of point 4 in
- https://www.debian.org/doc/debian-policy/#details-of-unpack-phase-of-installation-or-upgrade
+ https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade
(Note: Adding Pre-Depends is *not* a solution.)
Please move the files shipped in your package to the "real" location.
=====================================
bug-templates/prompts_user_without_following_Debian_Configuration_Management_Specification.mail
=====================================
@@ -16,7 +16,7 @@ Configuration Management Specification, version 2 or higher.
Refer to Debian Policy Manual section 3.9.1 (Prompting in maintainer
scripts) for details. Quoting from
-https://www.debian.org/doc/debian-policy/#prompting-in-maintainer-scripts
+https://www.debian.org/doc/debian-policy/ch-binary.html#prompting-in-maintainer-scripts
------------------------------------------------------------------------------
[ 3.9.1 Prompting in maintainer scripts ]
=====================================
bug-templates/unhandled_symlink_to_directory_conversion.mail
=====================================
@@ -24,14 +24,14 @@ packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
-https://www.debian.org/doc/debian-policy/#copyright-information
+https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information
For other overwritten locations anything interesting may happen.
Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
-https://www.debian.org/doc/debian-policy/#details-of-unpack-phase-of-installation-or-upgrade
+https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade
It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/aaf7e734ff3d0ca93bad6070427d8dabb3d7a0be...b169a8225bd246932825d5aaa0790d5823843aa8
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/compare/aaf7e734ff3d0ca93bad6070427d8dabb3d7a0be...b169a8225bd246932825d5aaa0790d5823843aa8
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20180908/901b091b/attachment-0001.html>
More information about the Piuparts-devel
mailing list