Skip to content

Commit

Permalink
move bob dep decls to wildcards where possible
Browse files Browse the repository at this point in the history
supported by bob-builder/0.0.15+
  • Loading branch information
dzuelke committed Mar 27, 2019
1 parent 746594f commit 336e693
Show file tree
Hide file tree
Showing 95 changed files with 99 additions and 101 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,2 +1,2 @@
bob-builder>=0.0.10
bob-builder>=0.0.15
s3cmd>=1.6.0
12 changes: 5 additions & 7 deletions support/build/README.md
Expand Up @@ -186,9 +186,9 @@ That's where the `UPSTREAM_S3_BUCKET` and `UPSTREAM_S3_PREFIX` env vars document
That way, if your Bob formula for an extension contains e.g. this dependency declaration at the top:

# Build Path: /app/.heroku/php
# Build Deps: php-7.3.3
# Build Deps: php-7.3.*

then on build, Bob will first look for "`php-7.3.3`" in your S3 bucket, and then fall back to pulling it from the upstream bucket. This frees you of the burden of hosting and maintaining unnecessary packages yourself.
then on build, Bob will first look for "`php-7.3.*`" in your S3 bucket, and then fall back to pulling it from the upstream bucket. This frees you of the burden of hosting and maintaining unnecessary packages yourself.

### Building a Package

Expand All @@ -198,7 +198,7 @@ To verify a formula, `bob build` can be used to build it:
~ $ bob build extensions/no-debug-non-zts-20180731/yourextension-1.2.3

Fetching dependencies... found 1:
- php-7.3.3
- php-7.3.*
Building formula extensions/no-debug-non-zts-20180731/yourextension-1.2.3
...

Expand Down Expand Up @@ -707,13 +707,11 @@ For instance, for PHP 7.3 and Xdebug version 2.7.0, have a `php-7.3/xdebug-2.7.0

#!/usr/bin/env bash
# Build Path: /app/.heroku/php
# Build Deps: php-7.3.3
# Build Deps: php-7.3.*

source $(dirname $0)/../xdebug

The `php-7.3.3` dependency will not be found in the current S3 bucket and prefix, so Bob will fall back to `UPSTREAM_S3_BUCKET` and `UPSTREAM_S3_PREFIX`.

It's possible that the `php-…` version in the example above no longer exists, so it may have to be adjusted to a newer version.
The `php-7.3.*` dependency will not be found in the current S3 bucket and prefix, so Bob will fall back to `UPSTREAM_S3_BUCKET` and `UPSTREAM_S3_PREFIX`.

#### Build Dockerfiles

Expand Down
2 changes: 1 addition & 1 deletion support/build/composer-1.8.4
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-min-7.3.3
# Build Deps: php-min-*

source $(dirname $0)/composer
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/apcu
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38, libraries/libcassandra-2.9.0
# Build Deps: php-5.5.*, libraries/libcassandra-2.*

source $(dirname $0)/cassandra
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/ev
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/event
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/imagick
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38, libraries/libmemcached-1.0.18
# Build Deps: php-5.5.*, libraries/libmemcached-1.0.18

source $(dirname $0)/memcached
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/mongo
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/mongodb
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/oauth
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/phalcon
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/phalcon
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38, extensions/no-debug-non-zts-20121212/raphf-1.1.2
# Build Deps: php-5.5.*, extensions/no-debug-non-zts-20121212/raphf-1.*

source $(dirname $0)/pq
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/raphf
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38, libraries/librdkafka-0.11.6
# Build Deps: php-5.5.*, libraries/librdkafka-0.*

source $(dirname $0)/rdkafka
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/redis
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.5.38
# Build Deps: php-5.5.*

source $(dirname $0)/redis
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/amqp
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/apcu
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40, libraries/libcassandra-2.9.0
# Build Deps: php-5.6.*, libraries/libcassandra-2.*

source $(dirname $0)/../no-debug-non-zts-20121212/cassandra
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/ev
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/event
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/imagick
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40, libraries/libmemcached-1.0.18
# Build Deps: php-5.6.*, libraries/libmemcached-1.0.18

source $(dirname $0)/../no-debug-non-zts-20121212/memcached
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/mongo
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/mongodb
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/oauth
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/phalcon
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/phalcon
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40, extensions/no-debug-non-zts-20131226/raphf-1.1.2
# Build Deps: php-5.6.*, extensions/no-debug-non-zts-20131226/raphf-1.*

source $(dirname $0)/../no-debug-non-zts-20121212/pq
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/raphf
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40, libraries/librdkafka-0.11.6
# Build Deps: php-5.6.*, libraries/librdkafka-0.*

source $(dirname $0)/../no-debug-non-zts-20121212/rdkafka
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/redis
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-5.6.40
# Build Deps: php-5.6.*

source $(dirname $0)/../no-debug-non-zts-20121212/redis
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20131226/amqp
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/apcu
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33, libraries/libcassandra-2.9.0
# Build Deps: php-7.0.*, libraries/libcassandra-2.*

source $(dirname $0)/../no-debug-non-zts-20121212/cassandra
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/ev
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/event
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/imagick
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33, libraries/libmemcached-1.0.18
# Build Deps: php-7.0.*, libraries/libmemcached-1.0.18

source $(dirname $0)/../no-debug-non-zts-20121212/memcached
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/mongodb
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/oauth
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/phalcon
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33, extensions/no-debug-non-zts-20151012/raphf-2.0.0
# Build Deps: php-7.0.*, extensions/no-debug-non-zts-20151012/raphf-2.*

source $(dirname $0)/../no-debug-non-zts-20121212/pq
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/raphf
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33, libraries/librdkafka-0.11.6
# Build Deps: php-7.0.*, libraries/librdkafka-0.*

source $(dirname $0)/../no-debug-non-zts-20121212/rdkafka
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/redis
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.0.33
# Build Deps: php-7.0.*

source $(dirname $0)/../no-debug-non-zts-20121212/redis
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.27
# Build Deps: php-7.1.*

source $(dirname $0)/../no-debug-non-zts-20131226/amqp
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# Build Path: /app/.heroku/php/
# Build Deps: php-7.1.27
# Build Deps: php-7.1.*

source $(dirname $0)/../no-debug-non-zts-20151012/apcu

0 comments on commit 336e693

Please sign in to comment.