Permalink
Commits on May 29, 2017
  1. Release apt-mirror 0.5.4

    bdrung committed May 29, 2017
  2. Also download xz-compressed Components-$arch.yml.xz

    bdrung committed May 29, 2017
    The DEP11 Components-$arch.yml could be compressed by xz instead of gz.
    Thus download Components-$arch.yml files that are compressed with gz,
    bz2, or xz.
    
    fixes #69
  3. Write SHA1 and SHA256 in addition to MD5

    bdrung committed May 29, 2017
    Instead of just writing a MD5 file containing the md5 checksums, also
    write SHA1 and SHA256 files. These files could be used for sha1sum and
    sha256sum.
  4. Fix warning on repository without md5sum

    bdrung committed May 29, 2017
    A repository without MD5sum will cause warnings:
    
    Use of uninitialized value $lines{"MD5sum:"} in concatenation (.) or
    string at /usr/bin/apt-mirror line 787
    
    The written MD5 file is not used by apt-mirror. Thus skip missing MD5Sum
    values.
    
    Example repository without MD5Sum:
    deb-amd64 https://packages.chef.io/stable-apt xenial main
    
    fixes #66
  5. Fix use of uninitialized value $config{"options"}

    bdrung committed May 29, 2017
    When no options are specified for a deb line in the config (e.g. no
    [arch=amd64] or similar), apt-mirror will print a warning:
    
    Use of uninitialized value $config{"options"} in pattern match (m//) at
    apt-mirror line 300, <CONFIG> line 6.
    
    fixes #68
Commits on Apr 13, 2017
  1. Add limit_rate to example mirror.list

    sfinexer committed with bdrung Jan 29, 2017
    Add limit_rate with its default value to the example mirror.list.
    
    Closes #72
Commits on Jan 6, 2017
  1. Release 0.5.3

    bdrung committed Jan 6, 2017
  2. Add support for quoted variables with spaces

    twang2218 committed with bdrung Jan 4, 2017
    * Add support for quoted variables with spaces
    * Add new function quoted_path to quote and escape the path.
    * Change the system() call to system COMMAND LIST to handle
      the spaces in path or argument cases.
    
    fixes #43, #67
    
    Signed-off-by: Tao Wang <twang2218@gmail.com>
    Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
  3. Create directories including their parents

    twang2218 committed with bdrung Jan 4, 2017
    apt-mirror fails when the base_path does not exist. Create the
    directories including their parents by replacing mkdir and mkpath with
    make_path.
    
    Signed-off-by: Tao Wang <twang2218@gmail.com>
    Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Commits on Jan 3, 2017
  1. Adding support for 'deb [arch=amd64] ...' format

    twang2218 committed with bdrung Dec 5, 2016
    fixes #32, #65
    
    Signed-off-by: Tao Wang <twang2218@gmail.com>
    Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Commits on Nov 8, 2016
  1. Release 0.5.2

    bdrung committed Nov 8, 2016
  2. Just test that config file is readable

    bdrung committed Nov 8, 2016
    Test that the config file is readable (ie. "-e") before dying, not
    strictly a file ("-f").
    
    This allows one to more-easily generate dynamic configuration files
    and pass them via `apt-mirror /dev/stdin` rather than having to create
    temporary files.
    
    Closes: #824493
  3. Support non-existing .gz index files

    Joerg Jaspert committed with bdrung Nov 8, 2016
    apt-mirror hardcodes .gz usage and as such is no longer able to
    actually mirror Debian (experimental).
    
    Use .xz or .bz2 index files when there are not .gz index files.
    
    fixes #30
    Closes: #819974
    
    Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
  4. Revert "Include debian-installer components into the mirroring."

    bdrung committed Nov 8, 2016
    This reverts commit 591a52e.
    
    The standard way to include the installation components is via the
    mirror spec line, e.g.x
    
    deb-amd64 http://us.archive.ubuntu.com/ubuntu wily main restricted universe multiverse main/debian-installer
    
    This is a universal syntax, used by everybody in the same way. I think
    it would be better not for apt-mirror to fetch things I didn't ask for,
    and to simply continue it's current behavior of doing what it is asked
    to do.
    
    fixes #64
  5. Download DEP-11 files in component/dep11 directories

    Mikko Pesari committed with bdrung Feb 20, 2016
    Look in the Release file to select files relevant only for selected
    architectures.
    
    fixes #56
    LP: #1550852
    
    Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
  6. Add support for https_proxy

    HuangShaoyan committed with bdrung Jul 21, 2016
    fixes #60
    
    Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Commits on Jul 16, 2015
  1. Merge pull request #42 from pfelecan/d_i

    bholtsclaw committed Jul 16, 2015
    Include debian-installer components into the mirroring.
Commits on Jul 9, 2015
  1. Include debian-installer components into the mirroring.

    Peter Felecan committed Jul 9, 2015
    Thus, the mirrored repository can be used for a network installation.
Commits on Feb 6, 2015
  1. Merge pull request #37 from flaf/master

    bdrung committed Feb 6, 2015
    if fork() fails, it returns undef
Commits on Oct 20, 2014
  1. Merge pull request #38 from fbarbeira/patch-1

    bdrung committed Oct 20, 2014
    Use 'dpkg --print-architecture' instead of deprecated --print-installation-architecture
  2. Update dpkg flags.

    fbarbeira committed Oct 20, 2014
    dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
Commits on Sep 28, 2014
  1. if fork() fails, it returns undef

    François Lafont committed Sep 28, 2014
    if fork() fails, it returns undef not a negative number
Commits on Jul 5, 2014
Commits on Apr 12, 2014
  1. Correct version number

    bdrung committed Apr 12, 2014
  2. Release 0.5.1

    bdrung committed Apr 12, 2014
  3. Run perltidy.

    bdrung committed Apr 12, 2014
  4. Merge pull request #31 from EifX/master

    bdrung committed Apr 12, 2014
    Added Proxy support
  5. Merge pull request #28 from selaselah/master

    bdrung committed Apr 12, 2014
    fix find-translation-files bug
Commits on Apr 10, 2014
  1. Added proxy support

    eiflera committed Apr 10, 2014
    Original change comes from GitHub-User <<carmenates09>>/<<apt-mirror>>@<<01833f2adf4a14ed14ef32ac0d85790826947119>>
    Added default variables for 'proxy_user' and 'proxy_password' because this variables can be empty
  2. Merge remote-tracking branch 'upstream/master'

    eiflera committed Apr 10, 2014
    Conflicts:
    	apt-mirror
Commits on Mar 16, 2014
  1. Run perltidy.

    bdrung committed Mar 16, 2014
  2. Merge pull request #15 from dr4Ke/mirror_to_hardlinked_directory

    bdrung committed Mar 16, 2014
    Fix skel (indexes) updates in a hardlinked mirror
Commits on Feb 25, 2014
  1. fix find-translation-files bug

    selaselah committed Feb 25, 2014
    the lastest downloaded Release and Index files located in skel directory
    but not the mirror directory.