Ubuntu Pastebin

Paste from smoser at Wed, 2 Nov 2016 18:25:57 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
add --dl-cache flag for caching downloads

This adds '--dl-cache' flag to the importer.
If provided, that directory for the "workdir" of the source information.
That directory is where all the .dsc and source files are downloaded to.
If not provided, a temporary directory will be used.

Prior to this change, downloads would be made into the provided directory
(--directory).  This represents a change, in 2 ways:
 a.) that now by default the downloaded files will be removed on exit.
 b.) the temporary files are downloaded to TMPDIR
     This could be problematic since the downloaded files can be large.
     If TMPDIR was a tmpfs or just had limited space, then we might
     cause failure where the --directory argument would work.

To account for both of the above, it might be better to use --directory
argument as the default rather than tmpdir.

# Please enter the commit message for your changes. Lines starting
# with '#' will be ignored, and an empty message aborts the commit.
#
# Date:      Wed Nov 2 13:32:30 2016 -0400
#
# On branch download-cache
# Your branch is ahead of 'origin/master' by 1 commit.
#   (use "git push" to publish your local commits)
#
# Changes to be committed:
#	modified:   usd/SourceInformation.py
#	modified:   usd/importer.py
#
# Untracked files:
#	apt/
#	autofs5/
#	curtin/
#	gmp/
#	msg
#	my.diff
#	myx.diff
#	out
#	out.diff
#	save.diff
#	tags
#	usd-clone-use-proto.diff
#	usd-clone.save
#	usd/GitRepository.py.orig
#	usd/SourceInformation.py.orig
#	usd/SourceInformation.py.rej
#	usd/__pycache__/
#	usd/importer.py.orig
#
Download as text