From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/2] Add utils/source-check
Date: Mon, 4 May 2020 13:15:49 +0200 [thread overview]
Message-ID: <20200504111551.15920-1-patrickdepinguin@gmail.com> (raw)
From: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Hello,
Buildroot used to have a 'make source-check' command, which was later removed.
Nevertheless, for organizations that use a download mirror and want to
efficiently check that all needed files are present without actually
downloading, an equivalent is still useful.
After the addition of the 'show-info' target, this is now possible without
polluting the core Buildroot infrastructure.
The script is a 'utility', it is not used automatically, just present for the
benefit of users.
Note: as mentioned in the commit msg, the current script only covers scp and hg
downloads, my needs. It could be extended to cover git etc., but it may not be
possible to check remotely if a git revision exists on a repository. So for
these additional download methods, it may be needed to perform an actual clone?
Patch 1 adds BR2_PRIMARY_SITE_ONLY_EXTENDED_DOMAINS and is useful independently
from source-check. It addresses the problem where BR2_PRIMARY_SITE_ONLY cannot
be used if you also have packages under version control.
Patch 2 adds the source-check script.
Best regards,
Thomas
Thomas De Schampheleire (2):
core: add BR2_PRIMARY_SITE_ONLY_EXTENDED_DOMAINS
utils/source-check: new script
Config.in | 11 +++
package/pkg-download.mk | 8 +-
utils/source-check | 170 ++++++++++++++++++++++++++++++++++++++++
3 files changed, 188 insertions(+), 1 deletion(-)
create mode 100755 utils/source-check
--
2.26.2
next reply other threads:[~2020-05-04 11:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-04 11:15 Thomas De Schampheleire [this message]
2020-05-04 11:15 ` [Buildroot] [PATCH 1/2] core: add BR2_PRIMARY_SITE_ONLY_EXTENDED_DOMAINS Thomas De Schampheleire
2020-05-04 11:15 ` [Buildroot] [PATCH 2/2] utils/source-check: new script Thomas De Schampheleire
2020-08-04 10:23 ` [Buildroot] [PATCH 0/2] Add utils/source-check Thomas De Schampheleire
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=20200504111551.15920-1-patrickdepinguin@gmail.com \
--to=patrickdepinguin@gmail.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