13 Commits

Author SHA1 Message Date
Chris Johns
3b0032d9e0 sb/options: Let --source-only-download download releases
- The release procedure uses the sb-set-sources command now.

Closes #3896
2020-03-04 20:37:04 +11:00
Chris Johns
a293ddc992 sb: Disable a log file for the check command.
Fix a minor issue in the log module.
2018-01-18 13:38:52 +11:00
Chris Johns
723b638e02 sb: Add a log capture interface to capture the console output.
- Increase the tail logged to 400 lines.

Update #3210.
2017-10-27 17:26:26 +11:00
Chris Johns
d3fa158109 sb: Add a download option --with-release-url/--without-release-url.
The default without the option is to prepend the release URL to the URL
list to download from the RTEMS FTP site first if the RSB is released. This
option can force the RTEMS FTP to be tried first when not a release,
or you can supply a different URL to download from or you can request
no RTEMS URL is tried first. Eg:

 --with-release-url
 --with-release-url=file://opt/local/cache
 --without-release-url

Move the RTEMS release URL to the default.mc file. Change the URL
to the RTEMS FTP server and do not use the https method of access.

The option's with_arg call was cleaned up to make sense.

Remove the log's raw output of an extra space.

Some download error message formating was cleaned up.

Closes #2636.
2016-03-10 16:32:49 +11:00
Chris Johns
3a972f6102 sb: Update code base to support Python3 and Python2.
Fix Windows support to allow MSYS2 Python to be used.

Updates #2619.
2016-03-07 15:02:58 +11:00
Chris Johns
616892914e Fixes to get a better update on MSYS2. 2015-02-18 10:26:57 +11:00
Chris Johns
d4eb08f55a Windows native build fixes.
The testing of building on Windows is done using MSYS2.
2015-02-07 17:58:17 +11:00
Chris Johns
a083b52921 Add checksum support for downloaded files.
File download by http, ftp, pw support checksum. The %hash
directive provides a means of setting a hash used to
checksum the file.

Files on disk or just downloaded are checked.
2014-07-29 16:35:43 +10:00
Chris Johns
c49e500042 sb: Add visual feedback for http type downloads. 2014-07-29 10:04:55 +10:00
Chris Johns
74da24cb61 sb: Generate an error report on an error.
Generate an error report users can send to the mailing list with
error details.
2014-05-08 13:20:29 +10:00
Chris Johns
c914e1d306 Add tail support to the log. Email the log tail in a failure. 2013-05-01 10:08:36 +10:00
Chris Johns
5142becd8e Refactor the logging support. 2013-04-21 18:37:02 +10:00
Chris Johns
c80560d9a4 Move into the source-builder tree. 2012-11-06 10:09:40 +11:00