From: Ildar Mulyukov <ildar@altlinux.ru>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] hasher и локальный репозиторий
Date: Thu, 06 Sep 2012 10:33:41 +0600
Message-ID: <1346906021.2178.16@ildar.innovations.kz> (raw)
In-Reply-To: <1346905743.2178.15@ildar.innovations.kz> (from ildar@altlinux.ru on Thu Sep 6 10:29:03 2012)
On 06.09.2012 10:29:03, Ildar Mulyukov wrote:
> On 05.09.2012 16:44:40, Андрей Черепанов wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> 05.09.2012 14:40, gBopHuk_alt пишет:
>> > Здравствуйте! Тут у меня возник такой вопрос:
>> >
>> > Каждый раз когда я собираю новый пакет , Hasher качает какие-то
>> > базовые 120 пакетов, видимо необходимых для любой сборки, а уже
>> > потом качает зависимости buildre - что занимает огромное кол-во
>> > времени, которое не связанно непосредственно со сборкой. Вот я и
>> > задумался , а не проще ли будет закачать их один раз в локальный
>> > репозиторий, и раз в месяц или полмесяца синхронизировать его с
>> > бранчем ? Как результат: - Уменьшаем энтропию и качаем пакеты
>> > только buildreq. - Появляется больше времени на отладку сборки
>> > пакета.
>> Так все и делают: держат локальную копию репозитория и
>> синхронизируют её.
>
> Бррр! Ужасно.
>
> Лучше так: настроить hasher на локальный репозитарий, который
> формируется из содержимого /var/cache/apt/archives/ (этот репозитарий
> прописан в /etc/apt/sources.list.d/local.list)
Хотя ещё лучше --- прописать в ~/.hasher/apt.conf.hasher Dir::Cache в
отдельную папку (если архитектура совпадает, то можно даже
"/var/cache/apt/"). Тогда хэшер будет брать пакеты из кэша, а качать
будет только те пакеты, которые обновились в репозитарии.
--
Ildar
next prev parent reply other threads:[~2012-09-06 4:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-05 10:40 gBopHuk_alt
2012-09-05 10:44 ` Андрей Черепанов
2012-09-05 11:22 ` gBopHuk_alt
2012-09-05 11:27 ` Андрей Черепанов
2012-09-05 14:02 ` gBopHuk_alt
2012-09-05 11:33 ` Ivan A. Melnikov
2012-09-06 4:29 ` Ildar Mulyukov
2012-09-06 4:33 ` Ildar Mulyukov [this message]
2012-09-06 7:09 ` Lenar Shakirov
2012-09-06 7:19 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1346906021.2178.16@ildar.innovations.kz \
--to=ildar@altlinux.ru \
--cc=devel-newbies@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git