Commit Graph

14 Commits

Author SHA1 Message Date
Nick Alexander
ccbfc3c856 Bug 971525 - Optionally make FileCopier only delete symlinked directories it needs to replace. r=gps 2014-02-13 22:19:48 -08:00
Nick Alexander
d022342df3 Bug 971272 - Part 3: Use required_directories in FileCopier.copy. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
f52b37797f Bug 971272 - Part 2: Expose FileRegistry.required_directories. r=gps 2014-02-13 09:09:08 -08:00
Nick Alexander
b3c684284a Bug 971272 - Part 1: Guard against adding {foo, foo/bar} to FileRegistry. r=gps
This already raised if the order was [foo, foo/bar].  But it didn't
prevent adding [foo/bar, foo].

The only sub-classes of FileRegistry are FileCopier and Jarrer.

FileCopier.copy threw in the previously unhandled case: the order of
creation is the same as the order of addition, so that foo is created
after foo/bar.

A zip file index can contain both foo and foo/bar.  I don't think we
should rely on this property in our use of Jarrer, but if we already do,
I guess we need to move these guards into FileCopier.  Let's hope that's
not the case!

(For the record: On my Mac OS X system, unzipping such a zip file
prompts the user for what to do, depending on the order of the entries
in the zip index.)
2014-02-13 09:09:08 -08:00
Nick Alexander
9b3eecf85d Bug 971265 - Add --no-remove-empty-directories to process_install_manifest.py. r=gps 2014-02-13 09:09:08 -08:00
Ted Mielczarek
188466ab56 Bug 971802 - Make mozpack capable of storing unix file permissions in jars. r=glandium 2014-02-13 07:47:00 -05:00
Gregory Szorc
63995b9d13 Bug 920637 - FileCopier should create destination directory if it doesn't exist; r=glandium 2013-10-04 15:00:39 +02:00
Gregory Szorc
cb70d30253 Bug 918392 - Handle symlinked directories properly; r=glandium 2013-09-24 10:44:27 -07:00
Gregory Szorc
d065e6449f Bug 911362 - FileCopier support for not removing unreferenced files; r=glandium 2013-09-03 19:38:07 -07:00
Gregory Szorc
6364fb66d1 Bug 890097 - Part 3: Capture detailed information for FileCopier actions; r=glandium 2013-07-23 14:37:04 -07:00
Gregory Szorc
809a9b75b1 Bug 884587 - Part 0: Teach FileCopier how to remove unwritable files on Windows; r=glandium
--HG--
extra : rebase_source : 2a340802af58159adaf2c11b0928e237c746f699
2013-06-28 14:46:56 -07:00
Gregory Szorc
aa3092833f Bug 884569 - Support for removing untracked files from a directory; r=glandium
--HG--
extra : rebase_source : e98fcbf839085ad6bc2e7a8fd3353834557caeec
2013-06-19 19:57:48 -07:00
Mike Hommey
5df98a6b44 Bug 836218 - Always copy files instead of skipping when destination is newer when doing l10n-repacks. r=ted 2013-02-03 07:20:24 +01:00
Mike Hommey
d56548c34f Bug 780561 - Import new packager code. r=gps 2013-01-23 11:23:14 +01:00