[Bug 1758963] Re: Please don't ship empty directories in the source package
Brian Murray
brian at ubuntu.com
Thu Mar 29 16:52:40 UTC 2018
Hello Balint, or anyone else affected,
Accepted update-manager into artful-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/update-
manager/1:17.10.14 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-artful to verification-done-artful. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-artful. In either case, without details of
your testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: update-manager (Ubuntu Artful)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-artful
** Changed in: update-manager (Ubuntu Xenial)
Status: New => Fix Committed
** Tags added: verification-needed-xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1758963
Title:
Please don't ship empty directories in the source package
Status in update-manager package in Ubuntu:
Fix Released
Status in update-manager source package in Xenial:
Fix Committed
Status in update-manager source package in Artful:
Fix Committed
Bug description:
[Impact]
Empty directories can't be stored in Git, which is a very popular
version control system for maintaining source packages.
Keeping the empty directory in the source package prevent others from
easily contributing to the package by importing it in full to a local
repository, making changes, then generating an updated source package
with tools like git-buildpackage. In that workflow the empty directory
would be lost potentially causing errors if the installed binary
package relied on it or causing autopkgtest failures if tests used it.
The backport to a stable release helps further maintenance of the
package in git-based workflows and avoids accidentally breaking
autopkgtests when the existence of the empty dirs matter.
The upload may drop the empty dirs or place placeholder (e.g.:
*/.keep) files in the source package.
[Test Case]
Extract the source package, then run the following command int the
extracted source directory:
find . -depth -type d -empty
[Regression Potential]
The removed directories or the added placeholders may cause run-time
issues or cause autopkgtest failures. To prevent those please check
that the placeholder files are not shipped in the binary packages and
also run autokgtests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1758963/+subscriptions
More information about the foundations-bugs
mailing list