Skip to content

chore: move executable code to src/#5093

Merged
wolfgangwalther merged 1 commit into
PostgREST:mainfrom
wolfgangwalther:src-in-src
Jul 14, 2026
Merged

chore: move executable code to src/#5093
wolfgangwalther merged 1 commit into
PostgREST:mainfrom
wolfgangwalther:src-in-src

Conversation

@wolfgangwalther

Copy link
Copy Markdown
Member

src/ now contains all source code - in subdirectories, according to the .cabal component they belong to. This will allow us to put vendored libraries in the same place - and later split our own code into multiple components/libraries as well.

Taken out of #5084 for better visibility.

This is needed to vendor hasql, but @taimoorzaeem could make use of it in #4861 as well, I believe.

@taimoorzaeem taimoorzaeem left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@wolfgangwalther wolfgangwalther mentioned this pull request Jul 12, 2026
2 tasks
src/ now contains all source code - in subdirectories, according to the
.cabal component they belong to. This will allow us to put vendored
libraries in the same place - and later split our own code into multiple
components/libraries as well.
@wolfgangwalther

Copy link
Copy Markdown
Member Author

Even though #5084 will only be merged after v16, I'll merge this one before. This potentially reduces conflicts when backporting later, because all the files have been moved (git should detect the renames, but you never know...).

@wolfgangwalther wolfgangwalther merged commit aa7d442 into PostgREST:main Jul 14, 2026
27 checks passed
@wolfgangwalther wolfgangwalther deleted the src-in-src branch July 14, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants