Skip to content

Commit 5f8e48d

Browse files
committed
Updated Readme, ran the python3 script.
1 parent 70a72a2 commit 5f8e48d

File tree

149 files changed

+1181
-744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+1181
-744
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ The repository is divided into two main folders, `legacy` and `function`. The `
1616

1717
This structure is not necessary, but has been implemented to help manage the workflow of rewriting the large number of functions associated with the original database.
1818

19+
### Maintaining the Repository
20+
21+
This repository is currently intended to be **read-only**. The stored postgres functions can be updated using the Python3 script `connect_remote.py` by calling:
22+
23+
```python
24+
python3 connect_remote.py
25+
```
26+
27+
This program checks the `pg_catalog` and pulls each function within a defined set of namespaces, and returns each function as its own `sql` file to a folder in the `function` directory.
28+
1929
### Standards For New Functions
2030

2131
Functions are expected to follow (as much as possible) [Simon Holywell's SQL Style Guide](http://www.sqlstyle.guide/) and the [Postgres Coding Convention](https://www.postgresql.org/docs/current/static/source.html).
@@ -28,5 +38,3 @@ Functions are expected to follow (as much as possible) [Simon Holywell's SQL Sty
2838
## Issues and Bugs
2939

3040
Please feel free to raise issues using the issue tracker on this repository.
31-
32-

function/AP/Delete_SearchPeople.sql

Lines changed: 0 additions & 42 deletions
This file was deleted.

function/AP/README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

function/AP/ap.getcollectiontypes.sql

Lines changed: 0 additions & 6 deletions
This file was deleted.

function/AP/ap.getdatasettypes.sql

Lines changed: 0 additions & 9 deletions
This file was deleted.

function/AP/api_publications.sql

Lines changed: 0 additions & 13 deletions
This file was deleted.

function/AP/getpublication_id.SQL

Lines changed: 0 additions & 34 deletions
This file was deleted.

function/AP/publication_id.SQL

Lines changed: 0 additions & 34 deletions
This file was deleted.

function/AP/publications.SQL

Lines changed: 0 additions & 40 deletions
This file was deleted.

function/DA/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)