Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/8] Use the normal download method for Tremor
Date: Mon, 13 Sep 2010 19:13:31 +0200	[thread overview]
Message-ID: <20100913191331.6742850f@surf> (raw)
In-Reply-To: <1284392732.3216.54.camel@dubciaranr1.verifone.com>

Hello Quotient,

[ I suppose Quotient isn't your real first name, but anyway ]

On Mon, 13 Sep 2010 16:45:32 +0100
Quotient Remainder <quotientvremainder@gmail.com> wrote:

> Back a few months ago when Maxime (and Luca Ceresoli) first sent his
> patches to the list I took them on board and massaged them into
> something I could use on a daily basis and have had moderate success
> (I will share if anyone's interested).  One of the problems with the
> above patch is that if the "git archive" is interrupted (e.g. Ctrl-C)
> a half-finished tarball is left in $(DL_DIR).  Off you go again to
> "make" and DOWNLOAD sees that it has a "dl/package-version.tar.gz" ->
> I don't need to download that -> I'll extract that to
> "output/build/..." and then an error occurs when EOF is met
> unexpectedly.
> 
> Anyway, this fixes it: just archive to a tempfile and rename.

I totally agree, but the current wget download method has exactly the
same bug, so this problem is not a regression introduced by this patch
set specifically.

Rather than trying to make this patch set perfect by trying to make it
fix all bugs, I'd rather like to see it merged (it adds new features
without removing any, and without introducing any regression, or at
least, I hope).

The issue you're raising being perfectly valid, I'd like to see it
fixed some day. FWIW, I even proposed a fix back in April for exactly
this problem on interrupt wget downloads
(http://lists.busybox.net/pipermail/buildroot/2010-April/034014.html),
but that fix got rejected due to implementation concerns. I didn't had
the time since then to look into it. Obviously, help is very welcome to
propose further patches to fix that issues for all of wget, git and svn
download methods.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2010-09-13 17:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-13  6:50 [Buildroot] [pull request] Pull request for branch for-2010.11/download-rework Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 1/8] Remove the spider feature Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 2/8] Cleanup the VCS commands configuration Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 3/8] Update defconfigs with new VCS config options Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 4/8] Implement basic non-wget download methods Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 5/8] Use the normal download method for Tremor Thomas Petazzoni
2010-09-13  8:42   ` Sven Neumann
2010-09-13  8:55     ` Thomas Petazzoni
2010-09-13 15:45       ` Quotient Remainder
2010-09-13 17:13         ` Thomas Petazzoni [this message]
2010-09-14  9:40           ` Maxime Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 6/8] Use the normal download method for libsvgtiny Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 7/8] Re-implement the source-check and external-deps targets Thomas Petazzoni
2010-09-13  6:50 ` [Buildroot] [PATCH 8/8] Revert "Makefile.package.in: allow packages to override download step" Thomas Petazzoni
2010-09-17 12:11 ` [Buildroot] [pull request] Pull request for branch for-2010.11/download-rework Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2010-09-02 10:09 [Buildroot] [RESEND/PATCH] Git/Svn downloaders Maxime Petazzoni
2010-09-02 10:09 ` [Buildroot] [PATCH 5/8] Use the normal download method for Tremor Maxime Petazzoni

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=20100913191331.6742850f@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox