Skip to content

Commit d033381

Browse files
author
nb
committed
fix: warn formula users ng states will be promoted in v1.0.0
1 parent 08cd563 commit d033381

37 files changed

+70
-0
lines changed

php/adodb.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-adodb:

php/apc.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-apc:

php/apcu.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-apcu:

php/bcmath.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-bcmath:

php/cgi.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-cgi:

php/cli.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-cli:

php/composer.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
{%- set salt_user_home = salt['user.info'](salt_user).get('home', '/root') %}
1212
1313
include:
14+
- php.deprecated
1415
- php
1516
1617
get-composer:

php/curl.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-curl:

php/deprecated.sls

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# -*- coding: utf-8 -*-
2+
# vim: ft=sls
3+
4+
php-deprecated-in-v1.0.0-test-fail:
5+
test.succeed_without_changes:
6+
- name: |
7+
################################################################################
8+
# #
9+
# WARNING: BREAKING CHANGES SINCE `v1.0.0` #
10+
# #
11+
################################################################################
12+
# #
13+
# Prior to `v1.0.0`, this formula provided two methods for managing php; the #
14+
# old method under `php` and the new method under `php.ng`. The old method #
15+
# has now been removed and `php.ng` has been promoted to be `PHP` in its #
16+
# place. #
17+
# #
18+
# If you are not in a position to migrate, please pin your repo to the final #
19+
# release tag before `v1.0.0`, i.e. `v0.37.1`. #
20+
# #
21+
# To migrate from `php.ng`, simply modify your pillar to promote the entire #
22+
# section under `php:ng` so that it is under `php` instead. So with the #
23+
# editor of your choice, highlight the entire section and then unindent one #
24+
# level. Finish by removing the `ng:` line. #
25+
# #
26+
# To migrate from the old `php`, first convert to `php.ng` under `v0.37.0` #
27+
# and then follow the steps laid out in the paragraph directly above. #
28+
# #
29+
################################################################################
30+
# - failhard: True

php/dev.sls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{%- from "php/map.jinja" import php with context %}
22
33
include:
4+
- php.deprecated
45
- php
56
67
php-dev:

0 commit comments

Comments
 (0)