8000 docs: updating for packaging and package updating by samrose · Pull Request #1157 · supabase/postgres · GitHub
[go: up one dir, main page]

Skip to content

docs: updating for packaging and package updating #1157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Aug 27, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update nix/docs/adding-new-package.md
Co-authored-by: Bobbie Soedirgo <31685197+soedirgo@users.noreply.github.com>
  • Loading branch information
samrose and soedirgo authored Aug 23, 2024
commit 7d8d5bbe56eb1752b47bd304483aec0c54fecc09
2 changes: 1 addition & 1 deletion nix/docs/adding-new-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ A few things about `buildPgrxExtension_x`:


1. You can add and run tests as described in https://github.com/supabase/postgres/blob/develop/nix/docs/adding-tests.md
2. You may need to add tests to our testdatabase.yml gh action workflow as well.
2. You may need to add tests to our test.yml gh action workflow as well.
3. You can add the package and name and version to `ansible/vars.yml` it is not necessary to add the sha256 hash here, as the package is already built and cached in our release process before these vars are ever run.
4. to check that all your files will land in the overall build correctly, you can run `nix profile install .#psql_15/bin` on your machine, and check in `~/.nix-profile/bin, ~/.nix-profile/lib, ~/.nix-profile/share/postgresql/*` and you should see your lib, .control and sql files there.
5. You can also run `nix run .#start-server 15` and in a new terminal window run `nix run .#star-client-and-migrate 15` and try to `CREATE EXTENSION <yourname>` and work with it there
Expand Down
Loading
0