Commit Graph
21 Commits
Author SHA1 Message Date
Ryan Schmidt a8b2986869 Specify bootstrap install user and group if not root 2018-03-07 06:10:08 -06:00
Ryan Schmidt 0918ef57a6 Put applications_dir inside nondefault prefix 2018-03-07 06:03:49 -06:00
Ryan Schmidt 856cb60b8e Bootstrap with MacPorts 2.4.2 2018-03-07 05:31:48 -06:00
Joshua Root c9a5a15fd5 Update current MacPorts version 2017-02-12 20:41:26 +11:00
Rainer Müller 351211c74d selfupdate: Bump version for install to 2.3.5
This does not matter much as the following selfupdate will upgrade us to
the latest version anyway. However, keeping this at the latest release
spares us the additional build time.
2016-12-02 21:20:04 +01:00
Rainer Müller ba3dc1a105 selfupdate: Reset PATH before installing
This prevents picking up any tools from the buildbot environment.
2016-12-02 21:19:33 +01:00
Lawrence Velázquez 20072aff77 mpbb: Remove --port and --prefix from subcommands
The updated Buildbot configuration is now live.

Shortest deprecation periods ever!

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152624 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-13 14:25:42 +00:00
Lawrence Velázquez d39d16cc99 mpbb: Implement new help system
The `--help` option has been replaced by a new `help` subcommand.
Invoking `mpbb help` displays global usage and available subcommands,
while `mpbb help <subcommand>` displays subcommand-specific usage.

Each subcommand script `mpbb-FOO` must now define a function `FOO-usage`
that prints its specific help to standard out.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152528 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-12 01:59:04 +00:00
Lawrence Velázquez d717dc3e7d mpbb: Separate global and subcommand options
À la Git, command-line options that are applicable to all subcommands
(e.g., `--prefix`) are now given before the subcommand name, while
options that are specific to particular subcommands (e.g.,
`--archive-site`) come after. For example, this:

    mpbb checkout --prefix /opt/local --svn /usr/bin/svn

is now:

    mpbb --prefix /opt/local checkout --svn /usr/bin/svn

This is a practical improvement as well as a conceptual one, as the
Buildbot configuration will be able to factor out the common command
prefix like so:

    cmd = ('./mpbb/mpbb', '--prefix', WithProperties(prefix))
    cmd_selfupdate = cmd + ('selfupdate',)
    cmd_checkout = cmd + ('checkout', '--svn-url', svnurl)
    [...]

For backwards compatibility with our current Buildbot deployment, all
subcommands except `list-subports` still accept `--prefix`.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152525 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-12 01:58:56 +00:00
Lawrence Velázquez 6f35f30f1c mpbb: Replace "return $?" with "return"
A bare "return" returns the exit status of the last command executed.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152355 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-04 20:55:03 +00:00
Lawrence Velázquez 6780325428 mpbb: Remove trailing whitespace
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152134 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-29 19:36:09 +00:00
Lawrence Velázquez 66ae491623 mpbb: Stick to standard 4-char-per-TAB modelines
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152131 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-29 16:16:34 +00:00
Lawrence Velázquez d0ac534912 mpbb: Add modelines
Use "8" for Emacs "tab-width" and Vim "tabstop" to display tab
characters in the conventional manner.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152130 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-29 16:01:45 +00:00
Clemens Lang 033f19021e mp-buildbot: Fix SC warnings, improve err handling
Fix or disable all remaining ShellCheck warnings, add and/or improve error
handling, make sure everything is properly quoted.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@151475 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-16 22:22:14 +00:00
Ryan Schmidt 7af8aae21e mp-buildbot: fix typo in comment
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@151028 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-05 19:06:18 +00:00
Ryan Schmidt 032681138c mp-buildbot: fix extracting MacPorts bootstrap source tarball
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@150987 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-04 21:29:45 +00:00
Ryan Schmidt 12626183d9 mp-buildbot: fix fetching MacPorts bootstrap source code
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@150985 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-08-04 20:25:22 +00:00
Ryan Schmidt 56266e3b8e mp-buildbot: fix bugs in selfupdate MacPorts auto-installation
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@150840 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-07-29 20:42:30 +00:00
Ryan Schmidt a538daf66f mp-buildbot: automatically install MacPorts if not present
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@150811 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-07-29 19:39:10 +00:00
Clemens Lang 93a714416a mp-buildbot: Ensure errors are fatal
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@146881 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-03-19 11:11:06 +00:00
Clemens Lang 95b1f70081 contrib: Add new buildbot tooling
MacPortsAutoBuild is complicated and hasn't been refactored in a while. This is
a re-implementation of the necessary functionality that has been written by
petr@ and cal@ during MacPorts Meeting 2016 at Kranjska Gora, Slovenia.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@146768 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-03-17 08:06:27 +00:00