[Bug 1794383] [NEW] ubuntu-cpc project: git empty directory handling

Launchpad Bug Tracker 1794383 at bugs.launchpad.net
Wed Sep 26 04:18:32 UTC 2018


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

We use a LP build recipe that includes livecd-rootfs.
We are moving from bzr to git due to other projects moving to git.
When we import livecd-rootfs into git it does not commit empty
directories into the git tree.  The livecd-build/ubuntu-
cpc/includes.chroot/etc/network/interfaces.d/ directory is dropped
when we do this import.

Foundations team would also like to move the upstream repositories to
git including for stable releases, and this change would need to be made
as part of this.

[Impact]

 * Importing the package and committing it to a git repository
   drops empty directories from the ubuntu-cpc/includes.chroot tree
 * Images built in the ubuntu-cpc project drop this directory which
   is a regression

[Test Case]

 * Create a bare git repo,
 * Pull the livecd-rootfs from xenial-updates into the repo,
 * Commit the code to git
 * Use the committed code (fresh clone) to build the ubuntu-cpc project
 * Inspect the images to see if /etc/network/interfaces.d exists

[Regression Potential]

 * Low.  This create a directory via dh_installdirs if it doesn't exist
   already in the packaging.  Builds from sources that include the
   empty directory are not be impacted.  The owner and permissions on
   the directory are same.

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: patch
-- 
ubuntu-cpc project: git empty directory handling
https://bugs.launchpad.net/bugs/1794383
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list