Skip to content

Commit

Permalink
aptly mirror edit supports architecture change. smira/aptly#99
Browse files Browse the repository at this point in the history
  • Loading branch information
smira committed Aug 28, 2014
1 parent 1cb7899 commit 405ba42
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions content/doc/aptly/mirror/edit.md
@@ -1,5 +1,5 @@
---
date: "2014-08-08T11:17:38Z"
date: "2014-08-29T11:17:38Z"
title: "aptly mirror edit"
tags:
- command
Expand All @@ -13,7 +13,7 @@ aptly mirror edit
-----------------

Command edit allows to change mirror settings: filter query, whether
to include dependencies while filtering.
to include dependencies while filtering, list of architectures to process.

Usage:

Expand All @@ -29,12 +29,16 @@ Flags:
packages in the mirror, set to empty to disable filtering
- `-filter-with-deps=false`: when filtering, include dependencies of
matching packages as well
- `-architectures=`: global flag to change architectures list.

In order to apply new filtering settings, [update](/doc/aptly/mirror/update/)
mirror.

Example:
Examples:

$ aptly mirror edit -filter=nginx -filter-with-deps wheezy-main
Mirror [wheezy-main]: http://mirror.yandex.ru/debian/ wheezy successfully updated.

$ aptly mirror edit -architectures=i386,amd64 sensu
Downloading http://repos.sensuapp.org/apt/dists/sensu/Release...
Mirror [sensu]: http://repos.sensuapp.org/apt/ sensu successfully updated.

0 comments on commit 405ba42

Please sign in to comment.