summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-03-13 10:49:15 +0100
committerRemi Collet <remi@remirepo.net>2020-03-13 10:49:15 +0100
commitdeffefe32765204c6de315aca57c7c4452d428f3 (patch)
tree4a66e8152b56cfd33df6df8b393e7df45b0a2eae
parentfb2975ff9c356cdf279a59857d52dc339e2e2a47 (diff)
Release 0.4.0 - first stablev0.4.0
-rw-r--r--README.md6
-rw-r--r--REFLECTION5
-rw-r--r--package.xml10
-rw-r--r--php_rpminfo.h2
4 files changed, 15 insertions, 8 deletions
diff --git a/README.md b/README.md
index 1615626..421d5a1 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,11 @@
Retrieve RPM information from PHP code using librpm.
-**Notice**: this is a experimental extension, a work in progress, so don't expect a stable API yet.
+This extension can be considered as stable, and be used on production environement.
+
+But be aware that if its API will probably stay stable,
+some changes may occur before version 1.0.0.
+
----
diff --git a/REFLECTION b/REFLECTION
index f9131e7..740ab51 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #15 rpminfo version 0.3.1 ] {
+Extension [ <persistent> extension #15 rpminfo version 0.4.0 ] {
- Constants [271] {
Constant [ string RPMVERSION ] { 4.15.1 }
@@ -284,10 +284,11 @@ Extension [ <persistent> extension #15 rpminfo version 0.3.1 ] {
}
Function [ <internal:rpminfo> function rpmdbsearch ] {
- - Parameters [3] {
+ - Parameters [4] {
Parameter #0 [ <required> $pattern ]
Parameter #1 [ <optional> $rpmtag ]
Parameter #2 [ <optional> $rpmmire ]
+ Parameter #3 [ <optional> $full ]
}
}
Function [ <internal:rpminfo> function rpminfo ] {
diff --git a/package.xml b/package.xml
index 23053b6..83d41cf 100644
--- a/package.xml
+++ b/package.xml
@@ -16,20 +16,21 @@ Available functions:
<email>remi@php.net</email>
<active>yes</active>
</lead>
- <date>2020-03-12</date>
+ <date>2020-03-13</date>
<version>
- <release>0.3.2dev</release>
+ <release>0.4.0</release>
<api>0.3.0</api>
</version>
<stability>
- <release>beta</release>
- <api>beta</api>
+ <release>stable</release>
+ <api>stable</api>
</stability>
<license>PHP 3.01</license>
<notes>
- improve search logic, use index when exists and no search mode
- add 'full' parameter to rpmdbsearch
- allow 'rpmdbinfo' to search on NEVR (instead of name only)
+- first "stable" release
</notes>
<contents>
<dir name="/">
@@ -55,6 +56,7 @@ Available functions:
<file name="006-rpminfo-errors.phpt" role="test"/>
<file name="007-rpmdbinfo.phpt" role="test"/>
<file name="008-rpmdbsearch.phpt" role="test"/>
+ <file name="009-rpmdbinfo2.phpt" role="test"/>
<file name="bidon.rpm" role="test"/>
<file name="bidon-src.rpm" role="test"/>
</dir>
diff --git a/php_rpminfo.h b/php_rpminfo.h
index 9f8925f..aa9973e 100644
--- a/php_rpminfo.h
+++ b/php_rpminfo.h
@@ -22,7 +22,7 @@
extern zend_module_entry rpminfo_module_entry;
#define phpext_rpminfo_ptr &rpminfo_module_entry
-#define PHP_RPMINFO_VERSION "0.3.2-dev"
+#define PHP_RPMINFO_VERSION "0.4.0"
#ifdef PHP_WIN32
# define PHP_RPMINFO_API __declspec(dllexport)