fix: warn formula users ng states will be promoted in v1.0.0

This commit is contained in:
nb 2019-07-24 14:42:23 +11:00
parent 08cd5635bb
commit d03338176c
37 changed files with 70 additions and 0 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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
View 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

View File

@ -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:

View File

@ -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 }}

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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" %}

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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:

View File

@ -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: