From 04d4d21ae4b41f7b0c82a7e6d2d0610a03ed19e3 Mon Sep 17 00:00:00 2001 From: rpitonak Date: Fri, 2 Jun 2017 08:28:12 +0200 Subject: [PATCH 1/4] Initial commit --- README.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..460adea --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# php +PHP is a widely-used open source general-purpose scripting language that is especially suited for web development. From eb79cb598b1d4eef2a0ca4ac0f7c195548ce3890 Mon Sep 17 00:00:00 2001 From: Radoslav Pitonak Date: Fri, 2 Jun 2017 08:41:37 +0200 Subject: [PATCH 2/4] fill content in README.md --- README.md | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 460adea..91a4fec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,23 @@ -# php -PHP is a widely-used open source general-purpose scripting language that is especially suited for web development. +# php module + +[**Package DB** (owner)](https://admin.fedoraproject.org/pkgdb/package/modules/php/) | +[**F26 modulemd** (source)](http://pkgs.fedoraproject.org/cgit/modules/php.git/tree/php.yaml?h=f26) | +[**PDC** (result)](https://pdc.fedoraproject.org/rest_api/v1/unreleasedvariants/?active=True&variant_name=php) + + +PHP is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. + +## Current state + +| State | Description | +|-------|-------------| +| ✓ YES | **Build passes** in the infra (all build deps are ok) | +| ✓ YES | **Installs** on the Base Runtime (all runtime deps are ok) | +| ✗ NO | **No bootstrap** - uses only proper modules | +| ✗ NO | General **tests are in dist-git** | +| ✓ YES | General **tests pass** | +| ✗ NO | Meets the **Fedora Module Packaging Guidelines** | + +### Notes + +See [**PHP s2i image**](https://github.com/container-images/php) on github for more details. From 04de9907201172ddef3605c7e819af790171d84d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radoslav=20Pito=C5=88=C3=A1k?= Date: Fri, 9 Jun 2017 09:45:04 +0200 Subject: [PATCH 3/4] general tests in dist-git --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 91a4fec..06648e8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ PHP is a widely-used open source general-purpose scripting language that is espe | ✓ YES | **Build passes** in the infra (all build deps are ok) | | ✓ YES | **Installs** on the Base Runtime (all runtime deps are ok) | | ✗ NO | **No bootstrap** - uses only proper modules | -| ✗ NO | General **tests are in dist-git** | +| ✓ YES | General **tests are in dist-git** | | ✓ YES | General **tests pass** | | ✗ NO | Meets the **Fedora Module Packaging Guidelines** | From 81e5f7b1371a724c77097dd2285ecdd778ca1a4b Mon Sep 17 00:00:00 2001 From: Jan Koscielniak Date: Mon, 26 Jun 2017 12:29:28 +0200 Subject: [PATCH 4/4] Add modulemd file --- php.yaml | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 php.yaml diff --git a/php.yaml b/php.yaml new file mode 100644 index 0000000..ac932b0 --- /dev/null +++ b/php.yaml @@ -0,0 +1,82 @@ +document: modulemd +version: 1 +data: + summary: PHP scripting language for creating dynamic web sites + description: PHP is an HTML-embedded scripting language. PHP attempts to make it + easy for developers to write dynamically generated web pages. PHP also + offers built-in database integration for several commercial and + non-commercial database management systems, so writing a + database-enabled webpage with PHP is fairly simple. The most common + use of PHP coding is probably as a replacement for CGI scripts. + The php package contains the module (often referred to as mod_php) + which adds support for the PHP language to Apache HTTP Server. + license: + module: [PHP and Zend and BSD] + dependencies: + buildrequires: +# base-runtime: f26 + bootstrap: f26 + common-build-dependencies: f26 +# shared-userspace: f26 + perl: f26 + postgresql: f26 + nginx: f26 + httpd: f26 + requires: + perl: f26 + shared-userspace: f26 + base-runtime: f26 + httpd: f26 + references: + community: https://docs.pagure.org/modularity/ + documentation: https://github.com/modularity-modules/php + tracker: https://github.com/modularity-modules/php + profiles: + default: + rpms: + - php + api: + rpms: + - php + components: + rpms: + php: + rationale: php package. + ref: f26 + buildorder: 10 +# nginx: +# rationale: Provides API for this module. +# ref: f26 +# buildorder: 2 + gperftools: + rationale: dependency + ref: f26 + buildorder: 1 + libmnl: + rationale: dependency + ref: f26 + buildorder: 1 + libnetfilter_conntrack: + rationale: dependency + ref: f26 + buildorder: 1 + libnfnetlink: + rationale: dependency + ref: f26 + buildorder: 1 + libunwind: + rationale: dependency + ref: f26 + buildorder: 1 + libxkbcommon: + rationale: dependency + ref: f26 + buildorder: 1 + mailcap: + rationale: dependency + ref: f26 + buildorder: 1 + xkeyboard-config: + rationale: dependency + ref: f26 + buildorder: 1