-
Notifications
You must be signed in to change notification settings - Fork 38
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: edolstra/nix-serve
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: jskrzypek/nix-serve-nothing
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
Can’t automatically merge.
Don’t worry, you can still create the pull request.
- 9 commits
- 5 files changed
- 2 contributors
Commits on Aug 28, 2020
-
Rewrite the server & nix derivations
The server should always return 404s except for the nix store info. The nix files should build the package & the service.
Configuration menu - View commit details
-
Copy full SHA for 2cf0653 - Browse repository at this point
Copy the full SHA 2cf0653View commit details
Commits on Aug 29, 2020
-
fix: Derivation should not refer to GH
That was kind of dumb. The derivation should take its source from the current dir.
Configuration menu - View commit details
-
Copy full SHA for c3c1de8 - Browse repository at this point
Copy the full SHA c3c1de8View commit details
Commits on Aug 30, 2020
-
Add support for proxying to remote cache
If we want to be able to use a remote cache sometimes, we should proxy binary requests to it based on criteria that we pass on the command line.
Configuration menu - View commit details
-
Copy full SHA for 6ed71cb - Browse repository at this point
Copy the full SHA 6ed71cbView commit details
Commits on Aug 31, 2020
-
The whole our system is weird, but this seems to work now and to correctly proxy requests.
Configuration menu - View commit details
-
Copy full SHA for ee6392f - Browse repository at this point
Copy the full SHA ee6392fView commit details -
Fix service module & use DynamicUser
This fixes the way the service module invokes the derivation and switches to DynamicUser to avoid the extraneous user config. Also bump the version.
Configuration menu - View commit details
-
Copy full SHA for c682689 - Browse repository at this point
Copy the full SHA c682689View commit details
Commits on Sep 1, 2020
-
Add cache behavior to command result
Instead of determining if to use the proxy once for the whole lifetime of the server, and then requiring a restart when it changes, we can accept an extra proxy option that will re-run the check of the command after a set interval. The default is 300s or 5 minutes.
Configuration menu - View commit details
-
Copy full SHA for 0cfe7f8 - Browse repository at this point
Copy the full SHA 0cfe7f8View commit details -
fix: Correctly handle int & float proxy args
The cachettl arg is an int, but we were ignoring it in the mkProxy function.
Configuration menu - View commit details
-
Copy full SHA for 068b63c - Browse repository at this point
Copy the full SHA 068b63cView commit details
Commits on Sep 2, 2020
-
Make server work with env vars
The command line args aren't working with starman. I hate perl. Also wtf scalar and localtime and select. FML.
Configuration menu - View commit details
-
Copy full SHA for a81445f - Browse repository at this point
Copy the full SHA a81445fView commit details
Commits on Sep 5, 2020
-
Add a full example of installation in nixos, including importing the nix module and specifying a conditional proxy.
Configuration menu - View commit details
-
Copy full SHA for 6084849 - Browse repository at this point
Copy the full SHA 6084849View commit details
There are no files selected for viewing
This file was deleted.