Merge pull request #13 from greenbone/y0urself/add-docker [master] Add Dockerfiles and Upload Docker images CI
Merge pull request #13 from greenbone/y0urself/add-docker
[master] Add Dockerfiles and Upload Docker images CI
This library contains functionality for ical object manipulation.
Install these packages using (on Debian GNU/Linux ‘Buster’ 10):
apt-get install gcc cmake pkg-config libical-dev libglib2.0-dev postgresql-server-dev-11
and build the gvm-libs as described in the README
This extension can be configured, built and installed with the following commands:
cmake . make && make install
To use the extension in a database create the extension using
CREATE EXTENSION "pg-gvm";
The tests are based on pgTAP, a unit test tool for PostgreSQL Databases.
Install pgTAP cloning the repository
and follow the instructions in the setup documentation
To use pgTAP in a database use
CREATE EXTENSION IF NOT EXISTS pgtap;
as postgres user. To check if the extension exists use
\dx
The tests are located in the tests folder of this repository.
tests
As postgres user run (replace MY_DATABASE with the real name of the database)
pg_prove -d MY_DATABASE tests/*.sql
pg-gvm
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
Greenbone Library for ical functions
This library contains functionality for ical object manipulation.
Build and Installation
Prerequisites
Install these packages using (on Debian GNU/Linux ‘Buster’ 10):
and build the gvm-libs as described in the README
Configure and Build
This extension can be configured, built and installed with the following commands:
Use the extension
To use the extension in a database create the extension using
Test the extension
The tests are based on pgTAP, a unit test tool for PostgreSQL Databases.
Setup for tests
Install pgTAP cloning the repository
and follow the instructions in the setup documentation
Integration
To use pgTAP in a database use
as postgres user. To check if the extension exists use
Running the tests
The tests are located in the
tests
folder of this repository.As postgres user run (replace MY_DATABASE with the real name of the database)