ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Aleksander N.Gorohovski" <angel@feht.dgtu.donetsk.ua>
To: "ALT Linux Community general discussions" <community@lists.altlinux.org>
Subject: Re: [Comm] Branch через wget - как?
Date: Fri, 20 Jun 2008 22:39:39 +0300
Message-ID: <op.uc2bkdlimb8vzs@oc.peooc.net> (raw)
In-Reply-To: <485BE5D5.4060709@tut.by>

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

On Fri, 20 Jun 2008 20:16:05 +0300, Speccyfighter <zxwarior@tut.by> wrote:

> Всем добрый вечер!
> Такая проблемка. Требуется утянуть branch для локального
> использования. Тянуть можно только с другой Виндоус-машины,
> и только по http (Прокси другого не разрешает).
> Требуется дополнительно исключить все пути с SRPMS*.
> Закачка должна идти из консоли. Получается что без
> альтернативы wget, потому как есть он и в Вин и в Линукс.
> Вопрос, поделитесь опытом, как сделать?
> Команду приведите, plz, если можно. Для Линукс, конечно.
> rsync'ом бы без проблем, но низзя :(

Как вариант, смотрите в атаче.
Не идеально, но как временный костыль. Можете улучшать.

Что надо сделать?
1
Открыть в броузере страничку по адресу с бранчем со списком файлов.
2
Выделить всё (<Ctrl>+<A>) и скопировать в буфер обмена
3
Открыть текстовый редактор и вставить это, сохранить в файл.
4.
Натравить скрипт 1.pl
и отфильтровать список, оставив одни названия файлов.
Отфильтрванный список попадет в файл 999.
5.
Запустить скрипт (можно на ночь)
get.b.sh
и ждать пока он всё вытянет.

:)
Удачи.

[-- Attachment #2: backup.tar.gz --]
[-- Type: application/x-gzip, Size: 2188 bytes --]

  reply	other threads:[~2008-06-20 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 17:16 Speccyfighter
2008-06-20 19:39 ` Aleksander N.Gorohovski [this message]
2008-06-20 19:55   ` Speccyfighter
2008-06-21  6:00     ` Aleksander N.Gorohovski

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=op.uc2bkdlimb8vzs@oc.peooc.net \
    --to=angel@feht.dgtu.donetsk.ua \
    --cc=community@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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git