fix: warn formula users ng states will be promoted in v1.0.0
This commit is contained in:
parent
08cd5635bb
commit
d03338176c
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-adodb:
|
php-adodb:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-apc:
|
php-apc:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-apcu:
|
php-apcu:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-bcmath:
|
php-bcmath:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-cgi:
|
php-cgi:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-cli:
|
php-cli:
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
{%- set salt_user_home = salt['user.info'](salt_user).get('home', '/root') %}
|
{%- set salt_user_home = salt['user.info'](salt_user).get('home', '/root') %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
get-composer:
|
get-composer:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-curl:
|
php-curl:
|
||||||
|
30
php/deprecated.sls
Normal file
30
php/deprecated.sls
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# vim: ft=sls
|
||||||
|
|
||||||
|
php-deprecated-in-v1.0.0-test-fail:
|
||||||
|
test.succeed_without_changes:
|
||||||
|
- name: |
|
||||||
|
################################################################################
|
||||||
|
# #
|
||||||
|
# WARNING: BREAKING CHANGES SINCE `v1.0.0` #
|
||||||
|
# #
|
||||||
|
################################################################################
|
||||||
|
# #
|
||||||
|
# Prior to `v1.0.0`, this formula provided two methods for managing php; the #
|
||||||
|
# old method under `php` and the new method under `php.ng`. The old method #
|
||||||
|
# has now been removed and `php.ng` has been promoted to be `PHP` in its #
|
||||||
|
# place. #
|
||||||
|
# #
|
||||||
|
# If you are not in a position to migrate, please pin your repo to the final #
|
||||||
|
# release tag before `v1.0.0`, i.e. `v0.37.1`. #
|
||||||
|
# #
|
||||||
|
# To migrate from `php.ng`, simply modify your pillar to promote the entire #
|
||||||
|
# section under `php:ng` so that it is under `php` instead. So with the #
|
||||||
|
# editor of your choice, highlight the entire section and then unindent one #
|
||||||
|
# level. Finish by removing the `ng:` line. #
|
||||||
|
# #
|
||||||
|
# To migrate from the old `php`, first convert to `php.ng` under `v0.37.0` #
|
||||||
|
# and then follow the steps laid out in the paragraph directly above. #
|
||||||
|
# #
|
||||||
|
################################################################################
|
||||||
|
# - failhard: True
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-dev:
|
php-dev:
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
|
include:
|
||||||
|
- php.deprecated
|
||||||
|
|
||||||
php-fpm:
|
php-fpm:
|
||||||
pkg.installed:
|
pkg.installed:
|
||||||
- name: {{ php.fpm_pkg }}
|
- name: {{ php.fpm_pkg }}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-gd:
|
php-gd:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-imagick:
|
php-imagick:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-imap:
|
php-imap:
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
|
include:
|
||||||
|
- php.deprecated
|
||||||
|
|
||||||
{%- if not 'ng' in salt['pillar.get']('php', {}) %}
|
{%- if not 'ng' in salt['pillar.get']('php', {}) %}
|
||||||
|
|
||||||
{%- if grains['os'] == "Ubuntu" %}
|
{%- if grains['os'] == "Ubuntu" %}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-intl:
|
php-intl:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-json:
|
php-json:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-ldap:
|
php-ldap:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-mail:
|
php-mail:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-mbstring:
|
php-mbstring:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-mcrypt:
|
php-mcrypt:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-memcache:
|
php-memcache:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-memcached:
|
php-memcached:
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
{%- set version = salt['pillar.get']('php:mongo_version', none) %}
|
{%- set version = salt['pillar.get']('php:mongo_version', none) %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
- php.xml
|
- php.xml
|
||||||
- php.dev
|
- php.dev
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-mysql:
|
php-mysql:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-mysqlnd:
|
php-mysqlnd:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-oauth:
|
php-oauth:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-pear:
|
php-pear:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-pgsql:
|
php-pgsql:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-readline:
|
php-readline:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-redis:
|
php-redis:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-soap:
|
php-soap:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-sqlite:
|
php-sqlite:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
- php.dev
|
- php.dev
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-sybase:
|
php-sybase:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-xml:
|
php-xml:
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{%- from "php/map.jinja" import php with context %}
|
{%- from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
include:
|
include:
|
||||||
|
- php.deprecated
|
||||||
- php
|
- php
|
||||||
|
|
||||||
php-zip:
|
php-zip:
|
||||||
|
Loading…
Reference in New Issue
Block a user