Skip to content

WIP: Deployments refactor#971

Draft
madeline-os wants to merge 19 commits into
developfrom
db-generalised-deployments-rebase
Draft

WIP: Deployments refactor#971
madeline-os wants to merge 19 commits into
developfrom
db-generalised-deployments-rebase

Conversation

@madeline-os
Copy link
Copy Markdown
Collaborator

I have:

  • Based work on latest develop branch
  • Followed the contribution guide
  • Looked for lint in my changes with hlint . (lint found code you did not write can be left alone)
  • Run the test suite: $(nix-build -A selftest --no-out-link)
  • Updated the changelog
  • (Optional) Run CI tests locally: nix-build release.nix -A build.x86_64-linux --no-out-link (or x86_64-darwin on macOS)

danbornside and others added 3 commits August 16, 2022 10:41
- prepare for factored out ob deploy
- expose bare nixos module
- fix some args passing bugs
@madeline-os madeline-os marked this pull request as draft August 18, 2022 20:16
, uriFragment = ""
}
, _encoderImpl_decode = \uri ->
case (uriScheme uri /= uriScheme baseUri, uriAuthority uri /= uriAuthority baseUri, Data.List.stripPrefix basePath (uriPath uri)) of
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't these be == ?

> :set -XFlexibleContexts -XTypeApplications
> let Just uri = Network.URI.parseURI "https://test.test"
> let Right enc = checkEncoder $ pathQueryEncoder uri
> tryDecode enc (encode @(Either Text) enc ("", "")) :: Either Text (String, String)
Left "pathQueryEncodering: wrong base uri; expected https://test.test got https://test.test"

@runeksvendsen runeksvendsen force-pushed the db-generalised-deployments-rebase branch from d7b2979 to 62f9a3d Compare November 14, 2022 13:03
@runeksvendsen runeksvendsen force-pushed the db-generalised-deployments-rebase branch from 62f9a3d to 34aa591 Compare November 14, 2022 13:26
cidkidnix and others added 5 commits November 14, 2022 08:24
The initial change in 34aa591 was designed to make it possible to
override attributes in serverExe (see, e.g., how nix/test/bench.nix
overrides the backend attribute with a profiled executable). This patch
fixes some quoting and variable naming issues that crept in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants