Skip to content

Commit 7f58f0e

Browse files
jnasbyupgradeclaude
andcommitted
Add README.md and fix META packaging metadata (fixes #35)
Adds a README documenting installation, roles, key concepts, and the full public API, carried forward from PR #2 and verified against the current schema (object__describe/identity/cleanup, capture__*, object group functions). Fixes META.in.json (source for the generated META.json): adds cat_tools to runtime.requires (a real, current dependency per object_reference.control), updates decibel/* org URLs to Postgres-Extensions/*, and bumps the stated PostgreSQL build requirement from 9.5.0 to 12.0.0, matching the floor already established by this repo's CI matrix (derived from cat_tools's own 12.0.0 build requirement). Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 75abc99 commit 7f58f0e

3 files changed

Lines changed: 349 additions & 14 deletions

File tree

META.in.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"X_comment": "The pgxntool Makefile will strip out empty keys to produce a working META.json, so it's fine to leave them here.",
1010
"X_comment": "NOTE: Don't get too cute with reformatting this file... some of the processing against it doesn't use a full JSON parser",
1111
"X_comment": "",
12-
"X_comment": "I've tried to put things in a logical order. Comments welcome at https://github.com/decibel/pgxntool/issues!",
12+
"X_comment": "I've tried to put things in a logical order. Comments welcome at https://github.com/Postgres-Extensions/pgxntool/issues!",
1313

1414
"X_comment": "REQUIRED. Name of distribution.",
1515
"X_comment": "Note! Distribution names currently can't contain spaces.",
@@ -58,13 +58,13 @@
5858

5959
"X_comment": "Optional. \"resources\": Web resources available for this distribution. http://pgxn.org/spec/#resources",
6060
"resources": {
61-
"homepage": "http://github.com/decibel/object_reference/",
61+
"homepage": "http://github.com/Postgres-Extensions/object_reference/",
6262
"bugtracker": {
63-
"web": "http://github.com/decibel/object_reference/issues"
63+
"web": "http://github.com/Postgres-Extensions/object_reference/issues"
6464
},
6565
"repository": {
66-
"url": "git://github.com/decibel/object_reference.git",
67-
"web": "http://github.com/decibel/object_reference/",
66+
"url": "git://github.com/Postgres-Extensions/object_reference.git",
67+
"web": "http://github.com/Postgres-Extensions/object_reference/",
6868
"type": "git"
6969
}
7070
},
@@ -76,11 +76,12 @@
7676

7777
"build": {
7878
"requires": {
79-
"PostgreSQL": "9.5.0"
79+
"PostgreSQL": "12.0.0"
8080
}
8181
},
8282
"runtime": {
8383
"requires": {
84+
"cat_tools": 0,
8485
"plpgsql": 0
8586
}
8687
},
@@ -95,7 +96,7 @@
9596
"no_index": "",
9697

9798
"X_comment": "Unusual. Package/tool used to generate this file.",
98-
"generated_by": "pgxntool https://github.com/decibel/pgxntool",
99+
"generated_by": "pgxntool https://github.com/Postgres-Extensions/pgxntool",
99100

100101
"X_comment": "REQUIRED. Version info for this file. http://pgxn.org/spec/#meta-spec",
101102
"meta-spec": {

META.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"X_comment": "Keys marked REQUIRED or Optional are what you'd expect. Keys marked Unusual are keys you don't normally need to use.",
1010
"X_comment": "The pgxntool Makefile will strip out empty keys to produce a working META.json, so it's fine to leave them here.",
1111
"X_comment": "NOTE: Don't get too cute with reformatting this file... some of the processing against it doesn't use a full JSON parser",
12-
"X_comment": "I've tried to put things in a logical order. Comments welcome at https://github.com/decibel/pgxntool/issues!",
12+
"X_comment": "I've tried to put things in a logical order. Comments welcome at https://github.com/Postgres-Extensions/pgxntool/issues!",
1313

1414
"X_comment": "REQUIRED. Name of distribution.",
1515
"X_comment": "Note! Distribution names currently can't contain spaces.",
@@ -56,13 +56,13 @@
5656

5757
"X_comment": "Optional. \"resources\": Web resources available for this distribution. http://pgxn.org/spec/#resources",
5858
"resources": {
59-
"homepage": "http://github.com/decibel/object_reference/",
59+
"homepage": "http://github.com/Postgres-Extensions/object_reference/",
6060
"bugtracker": {
61-
"web": "http://github.com/decibel/object_reference/issues"
61+
"web": "http://github.com/Postgres-Extensions/object_reference/issues"
6262
},
6363
"repository": {
64-
"url": "git://github.com/decibel/object_reference.git",
65-
"web": "http://github.com/decibel/object_reference/",
64+
"url": "git://github.com/Postgres-Extensions/object_reference.git",
65+
"web": "http://github.com/Postgres-Extensions/object_reference/",
6666
"type": "git"
6767
}
6868
},
@@ -74,11 +74,12 @@
7474

7575
"build": {
7676
"requires": {
77-
"PostgreSQL": "9.5.0"
77+
"PostgreSQL": "12.0.0"
7878
}
7979
},
8080
"runtime": {
8181
"requires": {
82+
"cat_tools": 0,
8283
"plpgsql": 0
8384
}
8485
},
@@ -92,7 +93,7 @@
9293
"X_comment": "Unusual. \"no_index\": Files/directories that should not be indexed. http://pgxn.org/spec/#no_index",
9394

9495
"X_comment": "Unusual. Package/tool used to generate this file.",
95-
"generated_by": "pgxntool https://github.com/decibel/pgxntool",
96+
"generated_by": "pgxntool https://github.com/Postgres-Extensions/pgxntool",
9697

9798
"X_comment": "REQUIRED. Version info for this file. http://pgxn.org/spec/#meta-spec",
9899
"meta-spec": {

0 commit comments

Comments
 (0)