Apt-smart

Latest version: v7.1.3

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

7.0.5

----------------------------

- Add -F, --file-to-read=local_file_absolute_path (path and filename must NOT contain whitespace) to read a local absolute path file containing custom mirror URLs (one URL per line) to add custom mirrors to rank.
So now you can use e.g. `-l -F ~/mirrors.txt` options to add some custom mirrors to rank with mirrors in official mirror list.
- Updated BUNDLED_RELEASES in releases.py

.. _Release 7.0.5: https://github.com/martin68/apt-smart/compare/7.0.4...7.0.5

7.0.4

----------------------------

- Fix error on EOL release
- Check OLD_RELEASES_URL's MirrorStatus to confirm if it is EOL, to fix https://github.com/xolox/python-apt-mirror-updater/issues/9

.. _Release 7.0.4: https://github.com/martin68/apt-smart/compare/7.0.3...7.0.4

7.0.3

----------------------------

- Fix `--url-char-len` option to specify the length of chars in mirrors' URL to display when using `--list-mirrors`,
so that now you can use e.g. `-l -L 29` options to narrow down the table of ranked mirrors when you want to paste it to somewhere the table displayed badly.

.. _Release 7.0.3: https://github.com/martin68/apt-smart/compare/7.0.2...7.0.3

7.0.2

----------------------------

- Add :attr:url_char_len to specify the length of chars in mirrors' URL to display when using `--list-mirrors`,
so that now you can use e.g. `-l -L 29` options to narrow down the table of ranked mirrors when you want to paste it to somewhere the table displayed badly.

.. _Release 7.0.2: https://github.com/martin68/apt-smart/compare/7.0,1...7.0.2

7.0.1

----------------------------

- Better output format when use `--list-mirrors`

.. _Release 7.0.1: https://github.com/martin68/apt-smart/compare/7.0...7.0.1

7.0

---------------------------

- Rename the project and module to ``apt-smart``
- For Ubuntu, new mirrors discovery mechanism: at first it queries ``MIRROR_SELECTION_URL``, and ``MIRRORS_URL`` as fallback.
- For Debian, new mirrors discovery mechanism: get mirrors within the country which the user is in.
- New mechanism of determining whether a mirror is up-to-date: download the InRelease file and parse the ``Date`` value in it.
- New and more robust ``distribution_codename`` using APT sources.list
- Enable retry when ``fetch_url`` is timeout for bad connections.
- Drop Python 2.6 support and add Python 3.7
- Drop max_mirrors limit since we can smartly get mirrors within the user's country.

.. _Release 7.0: https://github.com/martin68/apt-smart/compare/6.1...7.0

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.