summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-10-05Merge pull request #106 from matthiasbeyer/fix-verbosity_bugv0.3Matthias Beyer
Fix verbosity bug
2015-10-05Call git here without explanation outputMatthias Beyer
Fixes #105
2015-10-05util: Provide functions to disable outputMatthias Beyer
2015-10-05Merge pull request #103 from matthiasbeyer/fix-syntax_errorMatthias Beyer
Fix: move debug output in case block
2015-10-05Fix: move debug output in case blockMatthias Beyer
2015-10-04Merge pull request #102 from matthiasbeyer/switch-no_tag_if_buildMatthias Beyer
Do not generate config tag if cmd is "build"
2015-10-04Do not generate config tag if cmd is "build"Matthias Beyer
Closes #101. If the command for rebuilding the system is "build", the "switch" command should not generate a tag in the configuration. A tag in the nixpkgs clone can be generated, though.
2015-10-04Merge pull request #93 from matthiasbeyer/implement-#90Matthias Beyer
Add option to update (upstream) remote before generating tag in nixpkgs
2015-10-04Add option to update remote before generating tag in nixpkgsMatthias Beyer
Add config var: Remote name for upstream nixpkgs
2015-10-04Merge pull request #82 from matthiasbeyer/update-pkg-autopushMatthias Beyer
Support for git-push after successful build of package update
2015-10-04Merge pull request #94 from matthiasbeyer/switch-fetch-commit-before-tagMatthias Beyer
Fetch commit hash before nixos-rebuild
2015-10-04Fetch commit hash before nixos-rebuildMatthias Beyer
As described in #81, we should fetch the hash of the current HEAD before starting the nixos-rebuild run, as if this run takes a lot of time, the HEAD could have changed in between and so we would generate a tag on a wrong commit.
2015-10-04Merge pull request #96 from matthiasbeyer/refactor-switchMatthias Beyer
Refactor switch
2015-10-04Add "ready" outputMatthias Beyer
2015-10-04Integrate function code in scriptMatthias Beyer
As the function is only used once.
2015-10-04Fix typoMatthias Beyer
2015-10-04Remove else-branch from if-else by negating conditionMatthias Beyer
2015-10-04Fixed indentionMatthias Beyer
2015-10-04Minify ifMatthias Beyer
2015-10-04Default command setting simplifiedMatthias Beyer
2015-10-04Add debug output in arg parsingMatthias Beyer
2015-10-04Better overview over the help textMatthias Beyer
2015-10-04Merge pull request #98 from ↵Matthias Beyer
matthiasbeyer/switch-integrate_alternative_nixpkgs_arg_parsing switch: Ability to parse alternative nixpkgs from normal args
2015-09-29Support for git-push after successful build of package updateMatthias Beyer
2015-09-29Merge pull request #100 from matthiasbeyer/update-package-def-parallelMatthias Beyer
Update package def parallel
2015-09-29update-package-def: Add -c option to pass --cores to nix-buildMatthias Beyer
2015-09-29update-package-def: Add -j option to build in parallelMatthias Beyer
2015-09-27switch: Ability to parse alternative nixpkgs from normal argsMatthias Beyer
2015-09-23Merge pull request #92 from matthiasbeyer/quiet-by-defaultMatthias Beyer
switch: Be quiet by default
2015-09-22switch: Be quiet by defaultMatthias Beyer
2015-09-18Merge pull request #71 from matthiasbeyer/add-replMatthias Beyer
Add repl
2015-09-18Merge pull request #89 from matthiasbeyer/fix-switch-nixpkgs_tag_generatingMatthias Beyer
Fix: switch: Generate tag only if argument for it is passed
2015-09-16Fix: switch: Generate tag only if argument for it is passedMatthias Beyer
2015-09-16Add builtin "exit" with ability to "exit 1"Matthias Beyer
2015-09-14Shorten: __builtin__()Matthias Beyer
2015-09-14Switch login for __builtin__()Matthias Beyer
2015-09-14Add builtin: debuggingMatthias Beyer
2015-09-14Add builtin: verbosity setterMatthias Beyer
2015-09-14Add callback helper for builtinsMatthias Beyer
2015-09-14Add: nix-script replMatthias Beyer
This is a combination of 23 commits: * Add first draft for nix-shell repl * Remove functions which are in nix-utils.sh * Minify if-then-exit * Remove sudo run... why do I actually have this? * Include helpers * Add help text * Remove old arguments in parsing code * Dont print on stderr, do debugging output here * Remove explain checker, use dbg() as output function * Fix checker * Use bash to print * Use "exit" or "quit" to exit nix-repl * Remove doubled caller code * Move: script_for() function to helpers * Remove old variables * Fix bash call * move all_commands() function to nix-utils.sh * Formatted and extended all_commands() function * Lists executables only. * Shorten error message * Add helper to check whether a string contains a string * Add possibility to execute simple bash commands in repl * The more debug output, the better * More things, we should really squash this stuff
2015-09-12Merge pull request #83 from matthiasbeyer/help-text-cleanupMatthias Beyer
Help text cleanup
2015-09-12Merge pull request #74 from matthiasbeyer/add-container-helpersMatthias Beyer
Add container helpers
2015-09-12Merge pull request #84 from matthiasbeyer/download-sourcesMatthias Beyer
Add command to download sources of a package and its deps
2015-09-12Add container helper for listing container statsMatthias Beyer
2015-09-12Merge pull request #75 from matthiasbeyer/show-profile-genMatthias Beyer
show-generation: Support for showing generation of custom profile
2015-09-11Add "-v" switch in usage stringMatthias Beyer
2015-09-11Add missing arguments to help_end() callsMatthias Beyer
2015-09-11Merge pull request #77 from matthiasbeyer/channel-updateMatthias Beyer
Channel update tool
2015-09-11Add command to update channel and create a tag in the config for itMatthias Beyer
2015-09-08Add command to download sources of a package and its depsMatthias Beyer