From 405ba42a12eaafdc6cf56f9a7195f0948b5c95ec Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Fri, 29 Aug 2014 01:04:16 +0400 Subject: [PATCH] aptly mirror edit supports architecture change. smira/aptly#99 --- content/doc/aptly/mirror/edit.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/content/doc/aptly/mirror/edit.md b/content/doc/aptly/mirror/edit.md index ac037c6..72a4ac9 100644 --- a/content/doc/aptly/mirror/edit.md +++ b/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 @@ -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: @@ -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.