From e566633dc657716dc5ed584fc0774efee094e654 Mon Sep 17 00:00:00 2001 From: Sergey Shinderuk Date: Tue, 17 Oct 2023 10:29:31 +0300 Subject: [PATCH] Drop PGXN metadata, update README --- META.json | 51 --------------------------------------------------- Makefile | 9 --------- README.md | 11 ----------- 3 files changed, 71 deletions(-) delete mode 100644 META.json diff --git a/META.json b/META.json deleted file mode 100644 index 0f09ab0..0000000 --- a/META.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "name": "pg_wait_sampling", - "abstract": "Sampling based statistics of wait events", - "description": "pg_wait_sampling provides functions for detailed per backend and per query statistics about PostgreSQL wait events", - "version": "1.1.4", - "maintainer": [ - "Alexander Korotkov ", - "Ildus Kurbangaliev " - ], - "license": { - "PostgreSQL": "http://www.postgresql.org/about/licence" - }, - "prereqs": { - "runtime": { - "requires": { - "PostgreSQL": "9.6.0" - } - } - }, - "provides": { - "pg_wait_sampling": { - "file": "pg_wait_sampling--1.1.sql", - "docfile": "README.md", - "version": "1.1.4", - "abstract": "Sampling based statistics of wait events" - } - }, - "resources": { - "bugtracker": { - "web": "https://github.com/postgrespro/pg_wait_sampling/issues" - }, - "repository": { - "url": "https://github.com/postgrespro/pg_wait_sampling.git", - "web": "https://github.com/postgrespro/pg_wait_sampling", - "type": "git" - } - }, - "generated_by": "Ildus Kurbangaliev", - "meta-spec": { - "version": "1.0.0", - "url": "http://pgxn.org/meta/spec.txt" - }, - "tags": [ - "waits", - "sampling", - "background worker", - "wait events", - "waits history", - "waits profile" - ] -} diff --git a/Makefile b/Makefile index 67de107..32711a3 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,3 @@ top_builddir = ../.. include $(top_builddir)/src/Makefile.global include $(top_srcdir)/contrib/contrib-global.mk endif - -# Prepare the package for PGXN submission -package: dist .git - $(eval DISTVERSION := $(shell git tag -l | tail -n 1 | cut -d 'v' -f 2)) - $(info Generating zip file for version $(DISTVERSION)...) - git archive --format zip --prefix=$(EXTENSION)-${DISTVERSION}/ --output dist/$(EXTENSION)-${DISTVERSION}.zip HEAD - -dist: - mkdir -p dist diff --git a/README.md b/README.md index f4bd9bd..079c9a9 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ [![Build Status](https://travis-ci.com/postgrespro/pg_wait_sampling.svg?branch=master)](https://travis-ci.com/postgrespro/pg_wait_sampling) -[![PGXN version](https://badge.fury.io/pg/pg_wait_sampling.svg)](https://badge.fury.io/pg/pg_wait_sampling) [![GitHub license](https://img.shields.io/badge/license-PostgreSQL-blue.svg)](https://raw.githubusercontent.com/postgrespro/pg_wait_sampling/master/LICENSE) `pg_wait_sampling` – sampling based statistics of wait events @@ -159,16 +158,6 @@ your bug reports. If you're lacking of some functionality in `pg_wait_sampling` and feeling power to implement it then you're welcome to make pull requests. -Releases --------- - -New features are developed in feature-branches and then merged into [master](https://github.com/postgrespro/pg_wait_sampling/tree/master). To make a new release: - -1) Bump `PGXN` version in the `META.json`. -2) Merge [master](https://github.com/postgrespro/pg_wait_sampling/tree/master) into [stable](https://github.com/postgrespro/pg_wait_sampling/tree/stable). -3) Tag new release in the [stable](https://github.com/postgrespro/pg_wait_sampling/tree/stable) with `git tag -a v1.1.X`, where the last digit is used for indicating compatible shared library changes and bugfixes. Second digit is used to indicate extension schema change, i.e. when `ALTER EXTENSION pg_wait_sampling UPDATE;` is required. -4) Merge [stable](https://github.com/postgrespro/pg_wait_sampling/tree/stable) into [debian](https://github.com/postgrespro/pg_wait_sampling/tree/debian). This separate branch is used to independently support `Debian` packaging and @anayrat with @df7cb have an access there. - Authors -------