Commit Graph

283 Commits

Author SHA1 Message Date
Clemens Lang
60af0776e8 Support specifying variants in list-subports
Allow passing variants into list-subports by separating port name and
variants specification with an "@" sign. @ is not a valid character in
port names and should allow us to specify variants per port in the
buildbot's portlist.

When not using this new syntax, the output will look exactly as it did
before to avoid breaking the existing setup.

Closes: https://trac.macports.org/ticket/52742
2018-03-11 17:35:23 +01:00
Clemens Lang
a156c41cbb Fix (or silence) install-deps shellcheck warnings 2018-03-11 17:35:23 +01:00
Clemens Lang
50fad119c1 Support specifying variants in install-dependencies
See: https://trac.macports.org/ticket/52742
2018-03-11 17:35:23 +01:00
Clemens Lang
778b151f85 Fix (or silence) install-port shellcheck warnings 2018-03-11 17:35:21 +01:00
Clemens Lang
548da36cd4 Support specifying variants in mpbb install-port
See: https://trac.macports.org/ticket/52742
2018-03-11 17:34:43 +01:00
Clemens Lang
d8d52a20d7 Revert "Only request variants explicitly when needed."
This reverts commit f6e46815a5.
2018-03-11 16:48:41 +01:00
Joshua Root
3bfa79a7ab Re-enable use of mirror-multi.tcl 2018-03-12 00:59:33 +11:00
Joshua Root
f3f53485aa Better workaround for port mirror bug
Check that the distfiles exist instead of running the checksum target,
which can pull in dependencies.
2018-03-12 00:58:22 +11:00
Joshua Root
b88744777d Lower the bar for recording mirror success
Consider a port mirrored if any of its variants and platforms
succeeded. Still re-mirror ports that are explicitly specified on the
command line if they did not completely succeed previously, so
mirroring can be forced.
2018-03-12 00:34:15 +11:00
Ryan Schmidt
6ead587123 Disable new mirroring script temporarily
We need to resolve the performance problems before we can use this.
2018-03-11 06:18:01 -05:00
Ryan Schmidt
a6dcbb85c8 Fix error message when unknown subcommand is used 2018-03-10 22:48:35 -06:00
Clemens Lang
640313a8d8 tools: Support variants all port clients
Ports might change portgroups or supported architectures depending on
their variant selection, so support variant passing for those tools.
This is a dependency for mpbb list-subports to support variants.
2018-03-10 18:53:29 +01:00
Lawrence Velázquez
699347d5ed supported-archs: Print all archs instead of nothing
When a port omits "supported_archs", it is implying that it supports all
architectures. In this case, output an explicit list instead of nothing.
2018-03-10 18:52:45 +01:00
Joshua Root
22dd3cc862 Fix mirroring skipping logic
Doesn't really matter whether a port failed this run, we just care that
we've processed it.
2018-03-11 04:32:39 +11:00
Clemens Lang
a995cfe9cb Fix shellcheck warning
$@ is only supposed to be used as "$@", for all uses within strings, $*
is the correct variable.
2018-03-10 18:08:20 +01:00
Clemens Lang
f64c0dacaf README: Document how to develop for mpbb
I'm mainly doing this so that I won't have to figure it out again for
myself later.
2018-03-10 15:01:57 +01:00
Clemens Lang
6dd94d367b README: Replace SVN arguments with Git arguments 2018-03-10 15:01:57 +01:00
Joshua Root
b6ea277b6e Fix skipping of ports that already failed to mirror 2018-03-11 00:39:51 +11:00
Joshua Root
09a06d574c Clean before mirroring 2018-03-10 13:35:16 +11:00
Joshua Root
4d222da8c1 Mirror script fixes 2018-03-10 12:42:47 +11:00
Joshua Root
81c423f694 Add smarter distfile mirroring script 2018-03-10 11:37:22 +11:00
Ryan Schmidt
f13734db05 Remove duplicate deps to avoid "Argument list too long" 2018-03-08 11:51:39 -06:00
Ryan Schmidt
1e8b2ed31c Proceed past nonexistent port errors when computing rdeps 2018-03-08 06:53:12 -06:00
Ryan Schmidt
4fb1db9918 Speed up computing dependencies for distfile mirroring 2018-03-08 06:51:15 -06:00
Ryan Schmidt
121df109ab Mirror recursive dependencies instead of subports
The mirroring task is already being called once for each subport.
2018-03-07 11:47:37 -06:00