Bug 31385 - FR: edit sources.list(.d) in non-standard locations
Summary: FR: edit sources.list(.d) in non-standard locations
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: apt-repo (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-21 01:50 MSK by Ivan Zakharyaschev
Modified: 2015-11-30 11:14 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2015-10-21 01:50:09 MSK
apt-repo-1.2.0-alt1

apt-repo is convenient because it knows many common kinds of the sources of packages for ALT (and an ALT developer).

It'd be good to bring this convenience to editing non-standard sources.list(.d) (not the system ones in /etc/apt/). For example, this can be used to edit the  user's configuration for hasher, which uses APT.

Now, for me a workaround is to use the default hasher's configuration (which looks into the system /etc/apt/), but whenver I need to switch the sources I do su and apt-repo. (This interferes with the system configuration and requires unnecessary priviledges.)
Comment 1 Repository Robot 2015-11-30 11:14:08 MSK
apt-repo-1.2.1-alt1 -> sisyphus:

* Mon Nov 30 2015 Ivan Zakharyaschev <imz@altlinux> 1.2.1-alt1
- added the ability to manipulate arbitrary local sources.list
  by relying on `apt-config` and honoring APT_CONFIG (ALT#31385).
- manpage: fix formattting bugs (closes: ALT#31562).