Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1596 commits
Select commit Hold shift + click to select a range
95d9c13
Apply clang-format universally.
xokdvium Jul 18, 2025
03b47a1
Update .git-blame-ignore-revs to ignore the mass reformatting
xokdvium Jul 18, 2025
0bc2b66
Merge pull request #13504 from NixOS/mergify/bp/2.30-maintenance/pr-1…
Mic92 Jul 18, 2025
2b676c6
Revert "Use WAL mode for SQLite cache databases"
grahamc Jul 21, 2025
55375cf
Merge pull request #155 from DeterminateSystems/revert-150-concurrent…
cole-h Jul 21, 2025
0813dc0
Prepare release v3.8.4
github-actions[bot] Jul 21, 2025
fcf69d1
Set .version-determinate to 3.8.4
github-actions[bot] Jul 21, 2025
9c25491
Generate release notes for 3.8.4
github-actions[bot] Jul 21, 2025
4728153
Merge pull request #156 from DeterminateSystems/release-v3.8.4/1d13d4…
detsys-spaghetti[bot] Jul 21, 2025
19f89eb
Avoid isValidPath(), use queryPathInfo() instead
edolstra Jul 21, 2025
460822d
treewide: Fix Meson CPU names for powerpc CPUs
OPNA2608 Jul 21, 2025
808af07
Merge pull request #13518 from NixOS/mergify/bp/2.30-maintenance/pr-1…
mergify[bot] Jul 21, 2025
efceb43
SQLite: Use std::filesystem::path
edolstra Jul 22, 2025
a7fceb5
SQLite: fsync db.sqlite-shm before opening the database
edolstra Jul 22, 2025
efc36ec
format.sh: support looping until it is happy
grahamc May 20, 2025
eb16c5f
Add sed
grahamc May 20, 2025
fcee46f
Drop a ton of files that should just get formatted
grahamc Jul 17, 2025
1bd1004
Update clang-format with fixing namespace coments, and separate defin…
grahamc Jul 17, 2025
556f0b4
Apply formatting
edolstra Jul 22, 2025
c2ad800
Update .git-blame-ignore-revs to ignore the mass reformatting
grahamc Jul 18, 2025
09fbe15
Merge pull request #159 from DeterminateSystems/formatting
edolstra Jul 22, 2025
f4d5bd9
Merge remote-tracking branch 'origin/2.30-maintenance' into sync-2.30
edolstra Jul 22, 2025
2b22e52
Merge remote-tracking branch 'detsys/detsys-main' into improve-path-i…
edolstra Jul 23, 2025
fa61aa5
Merge remote-tracking branch 'detsys/detsys-main' into zfs-sqlite-hack
edolstra Jul 23, 2025
0bcd256
Merge commit '47281531e' into multithreaded-eval-v2
edolstra Jul 23, 2025
69c848b
Merge remote-tracking branch 'detsys/detsys-main' into multithreaded-…
edolstra Jul 23, 2025
2275094
Merge commit '47281531e' into multithreaded-git-sink-2
edolstra Jul 23, 2025
1327d29
Merge commit '09fbe1569430ca561c461b9b4ece3428785a53d6' into multithr…
edolstra Jul 23, 2025
66382fe
Merge commit '47281531e' into build-time-fetch-tree
edolstra Jul 23, 2025
43e7a7a
Merge commit '09fbe1569430ca561c461b9b4ece3428785a53d6' into build-ti…
edolstra Jul 23, 2025
6140807
Imply --offline during tab completion
edolstra Mar 3, 2025
30bcfa5
meson: Correctly handle endianness for PowerPC CPU families
xokdvium Jul 22, 2025
8eaa838
Merge pull request #13529 from NixOS/mergify/bp/2.30-maintenance/pr-1…
mergify[bot] Jul 23, 2025
d6f8b9d
Fix nix_system_cpu on i686-linux
edolstra Jul 24, 2025
ffcf5b3
Merge pull request #13541 from NixOS/mergify/bp/2.30-maintenance/pr-1…
edolstra Jul 24, 2025
623f670
Merge tag '2.30.2' into sync-2.30
edolstra Jul 25, 2025
f683ec0
Apply suggestions from code review
edolstra Jul 28, 2025
c9467a6
Merge pull request #157 from DeterminateSystems/improve-path-info-cac…
edolstra Jul 28, 2025
600c073
Merge pull request #161 from DeterminateSystems/offline-tab-completio…
edolstra Jul 28, 2025
4411353
Merge pull request #158 from DeterminateSystems/zfs-sqlite-hack
edolstra Jul 28, 2025
74eb199
Merge pull request #149 from DeterminateSystems/multithreaded-git-sink-2
edolstra Jul 28, 2025
7c35c48
Merge pull request #160 from DeterminateSystems/sync-2.30
edolstra Jul 28, 2025
268d1b1
Add paths to the store asynchronously
edolstra Jul 25, 2025
9020b8a
Remove obsolete FIXME
edolstra Jul 28, 2025
8c01633
Reduce upstream diff
edolstra Jul 28, 2025
4500763
Merge pull request #162 from DeterminateSystems/async-path-writer
edolstra Jul 28, 2025
203fb72
Merge pull request #163 from DeterminateSystems/remove-fixme
edolstra Jul 28, 2025
0c5bfeb
Merge remote-tracking branch 'detsys/detsys-main' into multithreaded-…
edolstra Jul 29, 2025
0a604eb
flake-regressions: Bypass the Nix daemon
edolstra Jul 29, 2025
9edfe78
Clean up reading thunks
edolstra Jul 29, 2025
1e8a3f3
usWaiting -> microsecondsWaiting
edolstra Jul 29, 2025
840970f
Use better casts
edolstra Jul 29, 2025
5dcdb1c
Remove unnecessary pureEval check
edolstra Jul 29, 2025
cb79524
Fix flake-regressions
edolstra Jul 29, 2025
ca5c411
Use flake-regressions main branch
edolstra Jul 29, 2025
d8a77d8
printError -> notice
edolstra Jul 30, 2025
9788d8c
Fix SymbolTable::dump()
edolstra Jul 30, 2025
6e908b5
Test
edolstra Jul 30, 2025
db9cc7b
Allow eval-cores to be set to 0 to use all cores
edolstra Jul 30, 2025
38e711b
Make Executor interruptible
edolstra Jul 31, 2025
d510575
Rename detsys-main to main
grahamc Jul 31, 2025
ad13049
Merge pull request #164 from DeterminateSystems/rename-to-main
grahamc Jul 31, 2025
1acca2b
fixup: perpetual PR number
cole-h Jul 31, 2025
18b9f7a
Merge pull request #166 from DeterminateSystems/fixup-perpetual-pr-nu…
cole-h Jul 31, 2025
e4b43ba
FutureVector: Ensure all items are going before throwing an exception
edolstra Jul 31, 2025
b71816c
Reapply "Use WAL mode for SQLite cache databases"
edolstra Aug 1, 2025
3ca1e5b
Bump the version of the SQLite caches
edolstra Aug 1, 2025
65189cf
Move setting GC_THREADS into eval-gc.hh
edolstra Aug 4, 2025
33dbefd
Optimize wakeup a bit
edolstra Aug 4, 2025
e904e34
Call GC_allow_register_threads() to enable parallel marking in Boehm GC
edolstra Aug 4, 2025
f0763d5
Move setting GC_THREADS into eval-gc.hh
edolstra Aug 4, 2025
8c53715
Apply a patch to boehmgc to increase the initial mark stack size
edolstra Aug 4, 2025
6a4cd24
Merge remote-tracking branch 'detsys/parallel-mark' into multithreade…
edolstra Aug 4, 2025
b004950
Prepare release v3.8.5
github-actions[bot] Aug 4, 2025
60fe416
Set .version-determinate to 3.8.5
github-actions[bot] Aug 4, 2025
825bda2
Generate release notes for 3.8.5
github-actions[bot] Aug 4, 2025
14fcc26
Apply suggestions from code review
grahamc Aug 4, 2025
6464a06
fixup: broken link in 3.8.5 release notes
cole-h Aug 4, 2025
55219f9
Merge pull request #169 from DeterminateSystems/release-v3.8.5/67f083…
detsys-spaghetti[bot] Aug 4, 2025
43b9cad
Put release notes in vx.x.x.md files
grahamc Aug 4, 2025
90480a1
Automatically update the release notes on GitHub from the release not…
grahamc Aug 4, 2025
b1d0528
Add contents: write for publishing
grahamc Aug 5, 2025
0b56b1e
Merge pull request #170 from DeterminateSystems/auto-update-release-n…
grahamc Aug 5, 2025
b156117
Merge branch 'main' into concurrent-eval-cache
cole-h Aug 5, 2025
1f55bed
Fix eval-cores = 0
edolstra Aug 6, 2025
95a1a07
Less aggressive initial heap size
edolstra Aug 6, 2025
43d6737
Use -DINITIAL_MARK_STACK_SIZE
edolstra Aug 6, 2025
f78c858
Merge remote-tracking branch 'detsys/parallel-mark' into multithreade…
edolstra Aug 6, 2025
80c1139
Restore fixupBoehmStackPointer
edolstra Aug 6, 2025
a8152eb
Merge pull request #167 from DeterminateSystems/concurrent-eval-cache
edolstra Aug 7, 2025
45fc6d4
Remove debug statements
edolstra Aug 7, 2025
a8950b6
Typo
edolstra Aug 7, 2025
9d8c1fc
Add Executor::createWorker()
edolstra Aug 7, 2025
9e409e4
Add builtins.parallel
edolstra Aug 7, 2025
888ba24
Merge pull request #168 from DeterminateSystems/parallel-mark
edolstra Aug 7, 2025
0198101
BasicClientConnection::queryPathInfo(): Don't throw exception for inv…
edolstra Aug 10, 2025
4dc22fc
Merge pull request #172 from DeterminateSystems/queryPathInfo-dont-di…
edolstra Aug 10, 2025
b705d59
Fix queryPathInfo() negative caching
edolstra Aug 10, 2025
e0d2479
builtins.readFile: Don't call queryPathInfo() for virtual paths
edolstra Aug 10, 2025
ba7b96e
RemoteStore::addToStoreFromDump(): Invalidate cache entry for added path
edolstra Aug 10, 2025
11158d3
Merge pull request #173 from DeterminateSystems/fix-queryPathInfo-cac…
edolstra Aug 10, 2025
2c5725e
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Aug 13, 2025
24fc713
Merge remote-tracking branch 'detsys/detsys-main' into build-time-fet…
edolstra Aug 18, 2025
0d52893
forceDerivation(): Wait for async path write after forcing value
edolstra Aug 18, 2025
07ed0a2
Add test
edolstra Aug 19, 2025
943aaa4
Fix test
edolstra Aug 19, 2025
0159911
Add build-time-fetch-tree experimental feature
edolstra Aug 19, 2025
a85ebbc
Merge pull request #176 from DeterminateSystems/fix-eval-cache-async-…
edolstra Aug 19, 2025
4287bd1
Prepare release v3.8.6
github-actions[bot] Aug 19, 2025
b282e09
Set .version-determinate to 3.8.6
github-actions[bot] Aug 19, 2025
7aaf122
Generate release notes for 3.8.6
github-actions[bot] Aug 19, 2025
1dd83fd
Merge pull request #177 from DeterminateSystems/release-v3.8.6/8077b6…
detsys-spaghetti[bot] Aug 20, 2025
7e50ba7
Provide downloadFile() with a writable store
edolstra Aug 20, 2025
6f272c5
Fix segfault destroying prevFileTransfer
edolstra Aug 20, 2025
486c48a
Add tests for build-time fetching of GitHub flakes
edolstra Aug 20, 2025
1201c72
GitRepo::fetch(): Fall back to using libgit2 for fetching
edolstra Aug 20, 2025
6247613
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Aug 21, 2025
1cf97e1
Fix fixupBoehmStackPointer on macOS
edolstra Aug 21, 2025
827fec7
MountedSourceAccessor: Make thread-safe
edolstra Aug 22, 2025
560d5d2
Shut up warning
edolstra Aug 25, 2025
4c6b7dd
EvalState.regexCache: Use ref
edolstra Aug 25, 2025
937d145
libstore: use new apple-sdk pattern
cole-h Aug 25, 2025
5be74ef
Merge pull request #49 from DeterminateSystems/build-time-fetch-tree
edolstra Aug 25, 2025
cfce3c5
Merge pull request #179 from DeterminateSystems/FH-893-fixup-deprecat…
cole-h Aug 25, 2025
144ba46
EvalState: Don't maintain stats by default
edolstra Aug 25, 2025
10e122d
Change reference for default template flake
lucperkins Aug 25, 2025
2def863
Merge tag '2.31.0' into sync-2.31.0
edolstra Aug 25, 2025
799b1e8
Merge remote-tracking branch 'detsys/main' into sync-2.31.0
edolstra Aug 25, 2025
f4ef29b
Fix error message
edolstra Aug 26, 2025
620927c
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Aug 26, 2025
1d8c8d8
Display the registry list in the test
lucperkins Aug 26, 2025
0b06690
Specify registry with each init invocation
lucperkins Aug 26, 2025
7c94f1e
Revert "Specify registry with each init invocation"
lucperkins Aug 26, 2025
0b67f1c
Re-map the default flake templates URL to a local path
lucperkins Aug 26, 2025
b2e721b
Remove registry list debug statement
lucperkins Aug 26, 2025
c0f24b8
Fix failing test by providing --template to nix flake init
lucperkins Aug 26, 2025
6814932
Align counters on cache lines
edolstra Aug 26, 2025
1ddb3fb
Put WaiterDomain in its own cache line
edolstra Aug 26, 2025
ca30141
Put ContiguousArena.size in its own cache line
edolstra Aug 26, 2025
43fc695
nix flake check: Wait for the async path writer to finish
edolstra Aug 26, 2025
af50372
Add a test for `nix flake check` building checks
edolstra Aug 26, 2025
ba6ef81
Merge pull request #182 from DeterminateSystems/nix-flake-check
edolstra Aug 26, 2025
a10bdc5
Prepare release v3.9.0
github-actions[bot] Aug 26, 2025
d26caf7
Set .version-determinate to 3.9.0
github-actions[bot] Aug 26, 2025
623d3c6
Generate release notes for 3.9.0
github-actions[bot] Aug 26, 2025
564699a
fixup: clean up 3.8.6 changes
cole-h Aug 26, 2025
8803134
Touch up release notes
cole-h Aug 26, 2025
387ed61
Merge pull request #183 from DeterminateSystems/release-v3.9.0/5a395b…
detsys-spaghetti[bot] Aug 26, 2025
f1aad70
Restore ordering of registry calls
lucperkins Aug 26, 2025
e74f285
Merge pull request #180 from DeterminateSystems/nix-flake-init-default
lucperkins Aug 27, 2025
ff24eb7
Fix HUP detection on macOS
edolstra Aug 27, 2025
bdb727a
Merge pull request #184 from DeterminateSystems/fix-macos-hup-detection
edolstra Aug 27, 2025
f1e634e
Prepare release v3.9.1
github-actions[bot] Aug 28, 2025
2ad95de
Set .version-determinate to 3.9.1
github-actions[bot] Aug 28, 2025
d79b253
Generate release notes for 3.9.1
github-actions[bot] Aug 28, 2025
640f48d
Prune the changes.md
grahamc Aug 28, 2025
fbcfe29
Knoll the 3.9.1 release notes
grahamc Aug 28, 2025
20a6a99
Fixup release notes syncing: drop the extra v
grahamc Aug 28, 2025
28b2472
Merge pull request #185 from DeterminateSystems/release-v3.9.1/9cc0b9…
grahamc Aug 28, 2025
7b93f21
Restore testing against the Nix daemon
edolstra Aug 28, 2025
96ec55a
Fix daemon tests
edolstra Aug 28, 2025
4d4b74f
Shut up clang warning
edolstra Aug 28, 2025
532629b
Fix race in daemon tests
edolstra Aug 28, 2025
084fc52
Merge pull request #186 from DeterminateSystems/restore-daemon-tests
edolstra Aug 29, 2025
8c4e509
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Aug 29, 2025
aaebeb7
Cleanup
edolstra Aug 29, 2025
3cc44a3
Fix warning
edolstra Aug 29, 2025
24adb26
Use boost::thread to set the stack size for evaluator threads
edolstra Aug 29, 2025
b38862b
fixup: make "upload to s3" PRs usable
cole-h Aug 29, 2025
aaf725d
Put builtins.parallel behind an experimental feature
edolstra Aug 29, 2025
715b487
Merge pull request #187 from DeterminateSystems/fixup-upload-to-s3-prs
cole-h Aug 29, 2025
1f19992
Merge remote-tracking branch 'detsys/main' into sync-2.31.0
edolstra Aug 29, 2025
fac222c
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Aug 29, 2025
823b119
Merge pull request #181 from DeterminateSystems/sync-2.31.0
edolstra Aug 29, 2025
47c5040
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Aug 31, 2025
d269252
Fix warning
edolstra Sep 1, 2025
def90be
Fix clang compilation
edolstra Sep 1, 2025
2c2f00d
Prepare release v3.10.0
github-actions[bot] Sep 2, 2025
af2f24b
Set .version-determinate to 3.10.0
github-actions[bot] Sep 2, 2025
2c7a5c1
Generate release notes for 3.10.0
github-actions[bot] Sep 2, 2025
4fae454
Update doc/manual/source/release-notes-determinate/v3.10.0.md
cole-h Sep 2, 2025
0652411
Update doc/manual/source/release-notes-determinate/changes.md
cole-h Sep 2, 2025
33d2b50
Merge pull request #188 from DeterminateSystems/release-v3.10.0/84702…
detsys-spaghetti[bot] Sep 2, 2025
e316652
Merge tag '2.31.1' into sync-2.31.1
edolstra Sep 2, 2025
09b2a9c
Merge pull request #189 from DeterminateSystems/sync-2.31.1
edolstra Sep 2, 2025
6a404ee
Document which commands do parallel eval
edolstra Sep 2, 2025
3d8127c
Merge remote-tracking branch 'detsys/main' into multithreaded-eval-v2
edolstra Sep 2, 2025
1f89c8a
Remove untested code path
edolstra Sep 2, 2025
b7c36a8
Code review
edolstra Sep 2, 2025
3425c5d
Use alignment constant
edolstra Sep 2, 2025
2a001a8
GC-allocate Failed
edolstra Sep 2, 2025
a73bf2e
ValueStorage: Fix ordering in operator =
edolstra Sep 2, 2025
92788a0
Add TODO item
edolstra Sep 2, 2025
fc350a6
Prepare release v3.10.1
github-actions[bot] Sep 2, 2025
7ac0d6c
Set .version-determinate to 3.10.1
github-actions[bot] Sep 2, 2025
fee200c
Generate release notes for 3.10.1
github-actions[bot] Sep 2, 2025
d19372e
Apply suggestions from code review
grahamc Sep 2, 2025
088770b
Merge pull request #190 from DeterminateSystems/release-v3.10.1/00ce1…
detsys-spaghetti[bot] Sep 2, 2025
4b34658
Fix deadlock in SSHMaster::addCommonSSHOpts()
edolstra Sep 3, 2025
2bdbe00
Merge pull request #125 from DeterminateSystems/multithreaded-eval-v2
cole-h Sep 3, 2025
4e736b6
Prepare release v3.11.0
github-actions[bot] Sep 3, 2025
5b47c3c
Set .version-determinate to 3.11.0
github-actions[bot] Sep 3, 2025
b9e7e7b
Generate release notes for 3.11.0
github-actions[bot] Sep 3, 2025
9a22f7f
Parallel eval changelog
grahamc Sep 3, 2025
869a589
Merge pull request #191 from DeterminateSystems/release-v3.11.0/114ea…
grahamc Sep 3, 2025
02d8404
MountedSourceAccessor: Use boost::concurrent_flat_map
edolstra Sep 4, 2025
66e03c2
Reduce false sharing between pathInfoCache and Store
edolstra Sep 4, 2025
f5a0e14
LocalStore::State: Put behind a ref to reduce false sharing
edolstra Sep 4, 2025
7ccfc62
Fix race condition in Value::isTrivial()
edolstra Sep 4, 2025
525acde
Merge pull request #192 from DeterminateSystems/fix-isTrivial
edolstra Sep 4, 2025
5feb4b4
Prepare release v3.11.1
github-actions[bot] Sep 4, 2025
a7951dd
Set .version-determinate to 3.11.1
github-actions[bot] Sep 4, 2025
f97cda7
Generate release notes for 3.11.1
github-actions[bot] Sep 4, 2025
d2efdbc
Apply suggestions from code review
grahamc Sep 4, 2025
7143558
Merge pull request #193 from DeterminateSystems/release-v3.11.1/b52f4…
detsys-spaghetti[bot] Sep 4, 2025
0a75d23
Merge pull request #194 from DeterminateSystems/parallel-performance-…
edolstra Sep 5, 2025
a52423c
Fix hang in enterChroot() draining userNamespaceSync
edolstra Sep 5, 2025
9b69151
Merge pull request #195 from DeterminateSystems/fix-multithreaded-chr…
edolstra Sep 6, 2025
76d4813
Test that `dir` is propagated from registry entry
cole-h Sep 7, 2025
17c7f90
Fix flake registry ignoring `dir` parameter
cole-h Sep 7, 2025
6e93d2b
srcToStore: Use boost::concurrent_flat_map
edolstra Sep 7, 2025
96f6faf
Add getConcurrent helper function
edolstra Sep 7, 2025
f47e2df
importResolutionCache: Use boost::concurrent_flat_map
edolstra Sep 7, 2025
6c9a771
fixup: cached case
cole-h Sep 7, 2025
bb18a48
fileEvalCache: Use boost::concurrent_flat_map
edolstra Sep 7, 2025
e8f9493
Merge pull request #196 from DeterminateSystems/fix-flake-registry-ig…
cole-h Sep 7, 2025
0ae2b1d
Test that using --inputs-from with a flakeref that has a dir works
cole-h Sep 8, 2025
04e266f
Pass `dir` in extraAttrs when overriding the registry
cole-h Sep 8, 2025
a3b3220
Merge pull request #199 from DeterminateSystems/fix-inputs-from-ignor…
cole-h Sep 8, 2025
727cbf8
Merge pull request #197 from DeterminateSystems/more-concurrent-boost
cole-h Sep 8, 2025
ae9140e
get-env.sh: Version the JSON output
edolstra Sep 8, 2025
c8aeadb
Doxygen comment
edolstra Sep 8, 2025
348526e
nix develop: Use store->getFSAccessor()
edolstra Sep 8, 2025
3ccbe84
Merge pull request #200 from DeterminateSystems/nix-develop-cleanups
edolstra Sep 8, 2025
3fddd14
Only try to substitute input if fetching from its original location f…
edolstra Sep 12, 2025
c2251f0
Merge pull request #202 from DeterminateSystems/substitute-inputs-on-…
edolstra Sep 12, 2025
fa0c5e4
Prepare release v3.11.2
github-actions[bot] Sep 12, 2025
4ac5d6a
Set .version-determinate to 3.11.2
github-actions[bot] Sep 12, 2025
b1b12c0
Generate release notes for 3.11.2
github-actions[bot] Sep 12, 2025
5c306d1
Don't refer to store paths that might exist
edolstra Sep 12, 2025
d2a2502
Remove stale changes.md entries
edolstra Sep 12, 2025
a9902ea
Update release notes
edolstra Sep 12, 2025
766f43a
Merge pull request #203 from DeterminateSystems/release-v3.11.2/721c6…
detsys-spaghetti[bot] Sep 12, 2025
520aae5
Disable parallel eval if the debugger is enabled
edolstra Sep 17, 2025
9f8a904
Merge pull request #205 from DeterminateSystems/fix-debugger
edolstra Sep 17, 2025
745d9c6
Make threads waiting on thunks interruptible
edolstra Sep 17, 2025
167edd6
Use alignas
edolstra Sep 17, 2025
4086731
Merge pull request #206 from DeterminateSystems/make-waiters-interrup…
edolstra Sep 17, 2025
3a3b2fd
don't include derivation name in temporary build directories
Mic92 Aug 27, 2025
044c43c
Merge pull request #207 from DeterminateSystems/shorter-tmpdirs
edolstra Sep 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .github/CODEOWNERS

This file was deleted.

21 changes: 9 additions & 12 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Bug report
about: Report unexpected or incorrect behaviour
title: ''
title: ""
labels: bug
assignees: ''

assignees: ""
---

## Describe the bug
Expand Down Expand Up @@ -32,7 +31,9 @@ assignees: ''

## Metadata

<!-- Please insert the output of running `nix-env --version` below this line -->
<!-- Please insert the output of running `determinate-nixd version` below this line -->

<!-- Please insert the output of running `nix --version` below this line -->

## Additional context

Expand All @@ -42,13 +43,9 @@ assignees: ''

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [latest Determinate Nix manual] \([source])
- [ ] checked [open bug issues and pull requests] for possible duplicates

[latest Nix manual]: https://nix.dev/manual/nix/development/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open bug issues and pull requests]: https://github.com/NixOS/nix/labels/bug

---

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
19 changes: 7 additions & 12 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Feature request
about: Suggest a new feature
title: ''
title: ""
labels: feature
assignees: ''

assignees: ""
---

## Is your feature request related to a problem?
Expand All @@ -27,13 +26,9 @@ assignees: ''

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [open feature issues and pull requests] for possible duplicates

[latest Nix manual]: https://nix.dev/manual/nix/development/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open feature issues and pull requests]: https://github.com/NixOS/nix/labels/feature

---
- [ ] checked [latest Determinate Nix manual] \([source])
- [ ] checked [open bug issues and pull requests] for possible duplicates

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
23 changes: 9 additions & 14 deletions .github/ISSUE_TEMPLATE/installer.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
---
name: Installer issue
about: Report problems with installation
title: ''
title: ""
labels: installer
assignees: ''

assignees: ""
---

## Platform

<!-- select the platform on which you tried to install Nix -->
<!-- select the platform on which you tried to install Determinate Nix -->

- [ ] Linux: <!-- state your distribution, e.g. Arch Linux, Ubuntu, ... -->
- [ ] macOS
- [ ] Linux: <!-- state your distribution, e.g. Arch Linux, Ubuntu, ... -->
- [ ] WSL

## Additional information
Expand All @@ -35,13 +34,9 @@ assignees: ''

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [open installer issues and pull requests] for possible duplicates

[latest Nix manual]: https://nix.dev/manual/nix/development/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open installer issues and pull requests]: https://github.com/NixOS/nix/labels/installer

---
- [ ] checked [latest Determinate Nix manual] \([source])
- [ ] checked [open bug issues and pull requests] for possible duplicates

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
19 changes: 7 additions & 12 deletions .github/ISSUE_TEMPLATE/missing_documentation.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
name: Missing or incorrect documentation
about: Help us improve the reference manual
title: ''
title: ""
labels: documentation
assignees: ''

assignees: ""
---

## Problem
Expand All @@ -19,13 +18,9 @@ assignees: ''

<!-- make sure this issue is not redundant or obsolete -->

- [ ] checked [latest Nix manual] \([source])
- [ ] checked [open documentation issues and pull requests] for possible duplicates

[latest Nix manual]: https://nix.dev/manual/nix/development/
[source]: https://github.com/NixOS/nix/tree/master/doc/manual/source
[open documentation issues and pull requests]: https://github.com/NixOS/nix/labels/documentation

---
- [ ] checked [latest Determinate Nix manual] \([source])
- [ ] checked [open bug issues and pull requests] for possible duplicates

Add :+1: to [issues you find important](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc).
[latest Determinate Nix manual]: https://manual.determinate.systems/
[source]: https://github.com/DeterminateSystems/nix-src/tree/main/doc/manual/source
[open bug issues and pull requests]: https://github.com/DeterminateSystems/nix-src/labels/bug
25 changes: 0 additions & 25 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
<!--

IMPORTANT

Nix is a non-trivial project, so for your contribution to be successful,
it really is important to follow the contributing guidelines:

https://github.com/NixOS/nix/blob/master/CONTRIBUTING.md

Even if you've contributed to open source before, take a moment to read it,
so you understand the process and the expectations.

- what information to include in commit messages
- proper attribution
- volunteering contributions effectively
- how to get help and our review process.

-->

## Motivation

<!-- Briefly explain what the change is about and why it is desirable. -->
Expand All @@ -30,9 +11,3 @@ so you understand the process and the expectations.
<!-- Invasive change: Discuss alternative designs or approaches you considered. -->

<!-- Large change: Provide instructions to reviewers how to read the diff. -->

---

Add :+1: to [pull requests you find important](https://github.com/NixOS/nix/pulls?q=is%3Aopen+sort%3Areactions-%2B1-desc).

The Nix maintainer team uses a [GitHub project board](https://github.com/orgs/NixOS/projects/19) to [schedule and track reviews](https://github.com/NixOS/nix/tree/master/maintainers#project-board-protocol).
25 changes: 6 additions & 19 deletions .github/STALE-BOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,21 @@

- Thanks for your contribution!
- To remove the stale label, just leave a new comment.
- _How to find the right people to ping?_ &rarr; [`git blame`](https://git-scm.com/docs/git-blame) to the rescue! (or GitHub's history and blame buttons.)
- You can always ask for help on [our Discourse Forum](https://discourse.nixos.org/) or on [Matrix - #users:nixos.org](https://matrix.to/#/#users:nixos.org).
- You can always ask for help on [Discord](https://determinate.systems/discord).

## Suggestions for PRs

1. GitHub sometimes doesn't notify people who commented / reviewed a PR previously, when you (force) push commits. If you have addressed the reviews you can [officially ask for a review](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review) from those who commented to you or anyone else.
2. If it is unfinished but you plan to finish it, please mark it as a draft.
3. If you don't expect to work on it any time soon, closing it with a short comment may encourage someone else to pick up your work.
4. To get things rolling again, rebase the PR against the target branch and address valid comments.
5. If you need a review to move forward, ask in [the Discourse thread for PRs that need help](https://discourse.nixos.org/t/prs-in-distress/3604).
6. If all you need is a merge, check the git history to find and [request reviews](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/requesting-a-pull-request-review) from people who usually merge related contributions.
1. If it is unfinished but you plan to finish it, please mark it as a draft.
1. If you don't expect to work on it any time soon, closing it with a short comment may encourage someone else to pick up your work.
1. To get things rolling again, rebase the PR against the target branch and address valid comments.
1. If you need a review to move forward, ask in [Discord](https://determinate.systems/discord).

## Suggestions for issues

1. If it is resolved (either for you personally, or in general), please consider closing it.
2. If this might still be an issue, but you are not interested in promoting its resolution, please consider closing it while encouraging others to take over and reopen an issue if they care enough.
3. If you still have interest in resolving it, try to ping somebody who you believe might have an interest in the topic. Consider discussing the problem in [our Discourse Forum](https://discourse.nixos.org/).
4. As with all open source projects, your best option is to submit a Pull Request that addresses this issue. We :heart: this attitude!
3. If you still have interest in resolving it, try to ping somebody who you believe might have an interest in the topic. Consider discussing the problem in [Discord](https://determinate.systems/discord).

**Memorandum on closing issues**

Don't be afraid to close an issue that holds valuable information. Closed issues stay in the system for people to search, read, cross-reference, or even reopen--nothing is lost! Closing obsolete issues is an important way to help maintainers focus their time and effort.

## Useful GitHub search queries

- [Open PRs with any stale-bot interaction](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+)
- [Open PRs with any stale-bot interaction and `stale`](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+label%3A%22stale%22)
- [Open PRs with any stale-bot interaction and NOT `stale`](https://github.com/NixOS/nix/pulls?q=is%3Apr+is%3Aopen+commenter%3Aapp%2Fstale+-label%3A%22stale%22+)
- [Open Issues with any stale-bot interaction](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+)
- [Open Issues with any stale-bot interaction and `stale`](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+label%3A%22stale%22+)
- [Open Issues with any stale-bot interaction and NOT `stale`](https://github.com/NixOS/nix/issues?q=is%3Aissue+is%3Aopen+commenter%3Aapp%2Fstale+-label%3A%22stale%22+)
69 changes: 69 additions & 0 deletions .github/release-notes.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
#!/usr/bin/env bash

# SC2002 disables "useless cat" warnings.
# I prefer pipelines that start with an explicit input, and go from there.
# Overly fussy.
# shellcheck disable=SC2002

scratch=$(mktemp -d -t tmp.XXXXXXXXXX)
finish() {
rm -rf "$scratch"
}
trap finish EXIT

DATE=$(date +%Y-%m-%d)
DETERMINATE_NIX_VERSION=$(cat .version-determinate)
TAG_NAME="v${DETERMINATE_NIX_VERSION}"
NIX_VERSION=$(cat .version)
NIX_VERSION_MAJOR_MINOR=$(echo "$NIX_VERSION" | cut -d. -f1,2)
GITHUB_REPOSITORY="${GITHUB_REPOSITORY:-DeterminateSystems/nix-src}"

gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \
-f "tag_name=${TAG_NAME}" > "$scratch/notes.json"

trim_trailing_newlines() {
local text
text="$(cat)"
echo -n "${text}"
}

linkify_gh() {
sed \
-e 's!\(https://github.com/DeterminateSystems/nix-src/\(pull\|issue\)/\([[:digit:]]\+\)\)![DeterminateSystems/nix-src#\3](\1)!' \
-e 's#\(https://github.com/DeterminateSystems/nix-src/compare/\([^ ]\+\)\)#[\2](\1)#'
}

(
cat doc/manual/source/release-notes-determinate/changes.md \
| sed 's/^.*\(<!-- differences -->\)$/This section lists the differences between upstream Nix '"$NIX_VERSION_MAJOR_MINOR"' and Determinate Nix '"$DETERMINATE_NIX_VERSION"'.\1/' \

printf "\n<!-- Determinate Nix version %s -->\n" "$DETERMINATE_NIX_VERSION"
cat "$scratch/notes.json" \
| jq -r .body \
| grep -v '^#' \
| grep -v "Full Changelog" \
| trim_trailing_newlines \
| sed -e 's/^\* /\n* /' \
| linkify_gh
echo "" # final newline
) > "$scratch/changes.md"

(
printf "# Release %s (%s)\n\n" \
"$DETERMINATE_NIX_VERSION" \
"$DATE"
printf "* Based on [upstream Nix %s](../release-notes/rl-%s.md).\n\n" \
"$NIX_VERSION" \
"$NIX_VERSION_MAJOR_MINOR"

cat "$scratch/notes.json" | jq -r .body | linkify_gh
) > "$scratch/rl.md"

(
cat doc/manual/source/SUMMARY.md.in \
| sed 's/\(<!-- next -->\)$/\1\n - [Release '"$DETERMINATE_NIX_VERSION"' ('"$DATE"')](release-notes-determinate\/'"$TAG_NAME"'.md)/'
) > "$scratch/summary.md"

mv "$scratch/changes.md" doc/manual/source/release-notes-determinate/changes.md
mv "$scratch/rl.md" "doc/manual/source/release-notes-determinate/v${DETERMINATE_NIX_VERSION}.md"
mv "$scratch/summary.md" doc/manual/source/SUMMARY.md.in
Loading