From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Niko Mauno <niko.mauno@iki.fi>, bitbake-devel@lists.openembedded.org
Subject: Re: [PATCH] bitbake: fetch2/svn: Add tarsnapshots parameter
Date: Wed, 04 Apr 2018 08:56:16 +0100 [thread overview]
Message-ID: <1522828576.11431.280.camel@linuxfoundation.org> (raw)
In-Reply-To: <20180323092821.106187-1-niko.mauno@iki.fi>
On Fri, 2018-03-23 at 11:28 +0200, Niko Mauno wrote:
> By adding 'tarsnapshots=currentonly' option to svn-specific component
> in
> SRC_URI, associated subversion repository module's existing tarball
> snapshots are removed from DL_DIR, before creating a new one.
>
> This provides a means to avoid downloads directory becoming congested
> with a subversion repository module's tarball snapshots, which may
> occur
> for example during circumstances where source code residing in a
> subversion repository is subject to long-term development work, and
> recipe used in continuous integration builds has SRCREV set to
> AUTOREV.
>
> Signed-off-by: Niko Mauno <niko.mauno@iki.fi>
This model does't really work as if multiple things share the downloads
directory there is a race window between the old tarballs being removed
and the new one being created. The downloads and sstate directories are
commonly shared between builds so we need to be mindful of this.
Cheers,
Richard
next prev parent reply other threads:[~2018-04-04 7:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-23 9:28 [PATCH] bitbake: fetch2/svn: Add tarsnapshots parameter Niko Mauno
2018-04-04 7:56 ` Richard Purdie [this message]
2018-04-08 8:28 ` Niko Mauno
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=1522828576.11431.280.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=bitbake-devel@lists.openembedded.org \
--cc=niko.mauno@iki.fi \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.