[Nix-commits] [NixOS/hydra] f220f4: hydra-module.nix: restart daemons on config change

2017-06-27 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f220f45d29494a9da5609991ab2609ba4095f107
  
https://github.com/NixOS/hydra/commit/f220f45d29494a9da5609991ab2609ba4095f107
  Author: Domen Kožar 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  hydra-module.nix: restart daemons on config change


  Commit: 9cc25b0c9679941163e3feecc95325c48f798382
  
https://github.com/NixOS/hydra/commit/9cc25b0c9679941163e3feecc95325c48f798382
  Author: Eelco Dolstra 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  Merge pull request #491 from NixOS/restart-daemons-on-config-change

hydra-module.nix: restart daemons on config change


Compare: https://github.com/NixOS/hydra/compare/803833aba77e...9cc25b0c9679___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] f220f4: hydra-module.nix: restart daemons on config change

2017-06-27 Thread Domen Kožar
  Branch: refs/heads/restart-daemons-on-config-change
  Home:   https://github.com/NixOS/hydra
  Commit: f220f45d29494a9da5609991ab2609ba4095f107
  
https://github.com/NixOS/hydra/commit/f220f45d29494a9da5609991ab2609ba4095f107
  Author: Domen Kožar 
  Date:   2017-06-27 (Tue, 27 Jun 2017)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  hydra-module.nix: restart daemons on config change


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 803833: Disable the build-queued hook

2017-06-22 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 803833aba77e1082c14857aa26933fc7fe5ae190
  
https://github.com/NixOS/hydra/commit/803833aba77e1082c14857aa26933fc7fe5ae190
  Author: Eelco Dolstra 
  Date:   2017-06-22 (Thu, 22 Jun 2017)

  Changed paths:
M src/script/hydra-eval-jobset

  Log Message:
  ---
  Disable the build-queued hook

This can take an excessive amount of time. For example, on
hydra.nixos.org, a call to hydra-notify takes 0.7s even if there are
no plugins. So for an eval with ~45K new builds, the calls to
hydra-notify add up to about 9 hours.

The proper fix would be to pass a list of build IDs, or an eval ID.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 207d2d: GithubStatus: Don't send a pending status for alre...

2017-06-21 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 207d2dd10cf54f79770e370304f1e9fefc01f31a
  
https://github.com/NixOS/hydra/commit/207d2dd10cf54f79770e370304f1e9fefc01f31a
  Author: Shea Levy 
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
M src/lib/Hydra/Plugin/GithubStatus.pm

  Log Message:
  ---
  GithubStatus: Don't send a pending status for already-finished builds

Fixes #488


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 6e4a7a: fix github pulls json to be deterministic

2017-06-21 Thread michael bishop
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 6e4a7a30f731c42e64e24ccbf8f25110c02776ab
  
https://github.com/NixOS/hydra/commit/6e4a7a30f731c42e64e24ccbf8f25110c02776ab
  Author: michael bishop 
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
M hydra-module.nix
M src/lib/Hydra/Plugin/GithubPulls.pm

  Log Message:
  ---
  fix github pulls json to be deterministic


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] f0d24a: Fix "Evaluation pending since..." message even tho...

2017-06-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f0d24af9404ef20cec6d946d1a9c82bf7f5a9063
  
https://github.com/NixOS/hydra/commit/f0d24af9404ef20cec6d946d1a9c82bf7f5a9063
  Author: Eelco Dolstra 
  Date:   2017-06-12 (Mon, 12 Jun 2017)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc

  Log Message:
  ---
  Fix "Evaluation pending since..." message even though the jobset has been 
evaluated


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] dfb3a5: Fix build-queued plugin hook

2017-05-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: dfb3a52f6718b34a51edfc0edfc4893c02f5b97c
  
https://github.com/NixOS/hydra/commit/dfb3a52f6718b34a51edfc0edfc4893c02f5b97c
  Author: Shea Levy 
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/script/hydra-eval-jobset

  Log Message:
  ---
  Fix build-queued plugin hook


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] c40077: Fix tests

2017-05-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: c40077ece17ad5f25f460b4c3dad8944551a605b
  
https://github.com/NixOS/hydra/commit/c40077ece17ad5f25f460b4c3dad8944551a605b
  Author: Shea Levy 
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/script/hydra-eval-jobset
M tests/Makefile.am

  Log Message:
  ---
  Fix tests


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 582c39: Add buildQueued plugin hook

2017-05-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 582c39942097539aa595d6945a82c4e25ca16ff1
  
https://github.com/NixOS/hydra/commit/582c39942097539aa595d6945a82c4e25ca16ff1
  Author: Shea Levy 
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/lib/Hydra/Plugin.pm
M src/lib/Hydra/Plugin/GithubStatus.pm
M src/script/hydra-eval-jobset
M src/script/hydra-notify

  Log Message:
  ---
  Add buildQueued plugin hook


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 3d044d: Github status API: Pull authorization from github_...

2017-05-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 3d044d2ec20ac765d46d349a90b59d0589f44c42
  
https://github.com/NixOS/hydra/commit/3d044d2ec20ac765d46d349a90b59d0589f44c42
  Author: Shea Levy 
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/lib/Hydra/Plugin/GithubStatus.pm

  Log Message:
  ---
  Github status API: Pull authorization from github_authorization by default


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 08708e: GithubPulls: Add 'revision' to the input

2017-05-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 08708e899a4e9928ce783ccf82b64c43cf4e708e
  
https://github.com/NixOS/hydra/commit/08708e899a4e9928ce783ccf82b64c43cf4e708e
  Author: Shea Levy 
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
M src/lib/Hydra/Plugin/GithubPulls.pm

  Log Message:
  ---
  GithubPulls: Add 'revision' to the input


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] c6f075: Add GithubPulls input plugin.

2017-05-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: c6f07534359dd567b6dfe9397dc22e1f90925397
  
https://github.com/NixOS/hydra/commit/c6f07534359dd567b6dfe9397dc22e1f90925397
  Author: Shea Levy 
  Date:   2017-05-24 (Wed, 24 May 2017)

  Changed paths:
A src/lib/Hydra/Plugin/GithubPulls.pm

  Log Message:
  ---
  Add GithubPulls input plugin.

This can be used with declarative projects to build PRs.

The github_authorization section should contain verbatim Authorization header 
contents keyed by repo owner for private repos


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 941665: /api/scmdiff: Set correct MIME type

2017-05-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 941665044e8682ddcf70ab8a621948a2515c4a44
  
https://github.com/NixOS/hydra/commit/941665044e8682ddcf70ab8a621948a2515c4a44
  Author: Eelco Dolstra 
  Date:   2017-05-05 (Fri, 05 May 2017)

  Changed paths:
M src/lib/Hydra/Controller/API.pm

  Log Message:
  ---
  /api/scmdiff: Set correct MIME type

It was set to application/json but should be text/plain.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 8abc59: preHook -> shellHook

2017-05-04 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 8abc595d1c95cc4adf9d1e81cdd1b187731c3de3
  
https://github.com/NixOS/hydra/commit/8abc595d1c95cc4adf9d1e81cdd1b187731c3de3
  Author: Eelco Dolstra 
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
M release.nix

  Log Message:
  ---
  preHook -> shellHook

Adding the build directory to $PERL5LIB causes it to end up in the
wrapper scripts, which is bad.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 1f94f0: Fix build

2017-04-26 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 1f94f0369937c9187b158f53a4a361507a62c5e9
  
https://github.com/NixOS/hydra/commit/1f94f0369937c9187b158f53a4a361507a62c5e9
  Author: Eelco Dolstra 
  Date:   2017-04-26 (Wed, 26 Apr 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Fix build


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] f4b4ee: Add CircleCI plugin.

2017-04-24 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f4b4ee575168df585cfb96a8d3f98a30f889afb8
  
https://github.com/NixOS/hydra/commit/f4b4ee575168df585cfb96a8d3f98a30f889afb8
  Author: Shea Levy 
  Date:   2017-04-19 (Wed, 19 Apr 2017)

  Changed paths:
A src/lib/Hydra/Plugin/CircleCINotification.pm

  Log Message:
  ---
  Add CircleCI plugin.


  Commit: 86aa851d8d2bada671c5c02e57de015f7544f155
  
https://github.com/NixOS/hydra/commit/86aa851d8d2bada671c5c02e57de015f7544f155
  Author: Shea Levy 
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
A src/lib/Hydra/Plugin/CircleCINotification.pm

  Log Message:
  ---
  Merge branch 'circleci-plugin'


Compare: https://github.com/NixOS/hydra/compare/4c26cf0c81a4...86aa851d8d2b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 4c26cf: getHydraConfig: Allow multiple includes

2017-04-20 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 4c26cf0c81a4751037c4d436aa2b10efbe335187
  
https://github.com/NixOS/hydra/commit/4c26cf0c81a4751037c4d436aa2b10efbe335187
  Author: Shea Levy 
  Date:   2017-04-20 (Thu, 20 Apr 2017)

  Changed paths:
M src/lib/Hydra/Helper/Nix.pm

  Log Message:
  ---
  getHydraConfig: Allow multiple includes


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] cc8520: Fix build

2017-04-18 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: cc85208fe44fe97b0b6cc265f79a9e27a1aedcc3
  
https://github.com/NixOS/hydra/commit/cc85208fe44fe97b0b6cc265f79a9e27a1aedcc3
  Author: Eelco Dolstra 
  Date:   2017-04-18 (Tue, 18 Apr 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Fix build


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
https://mailman.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] fed37e: nix-prefetch-git: Only remove .git, not e.g. .gitk...

2017-04-12 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: fed37ea6408c84eeb1bea06b17aa3e4c6da568c1
  
https://github.com/NixOS/hydra/commit/fed37ea6408c84eeb1bea06b17aa3e4c6da568c1
  Author: Shea Levy 
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
M src/script/nix-prefetch-git

  Log Message:
  ---
  nix-prefetch-git: Only remove .git, not e.g. .gitkeep (#454)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 468b04: Revert "Move build logic for the core hydra packag...

2017-04-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 468b048fa2456b12d4e1fec33a1d76915ad92ef8
  
https://github.com/NixOS/hydra/commit/468b048fa2456b12d4e1fec33a1d76915ad92ef8
  Author: Eelco Dolstra 
  Date:   2017-04-12 (Wed, 12 Apr 2017)

  Changed paths:
R default.nix
M release.nix

  Log Message:
  ---
  Revert "Move build logic for the core hydra package into its own default.nix."

This reverts commit 949e5865c60323800f8bd5706842348e3e4437bf. This
makes release.nix harder to read/maintain IMHO. There already is a Nix
expression for Hydra in Nixpkgs that can be used for this purpose.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 949e58: Move build logic for the core hydra package into i...

2017-04-11 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 949e5865c60323800f8bd5706842348e3e4437bf
  
https://github.com/NixOS/hydra/commit/949e5865c60323800f8bd5706842348e3e4437bf
  Author: Shea Levy 
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
A default.nix
M release.nix

  Log Message:
  ---
  Move build logic for the core hydra package into its own default.nix.

This allows users to build hydra using a normal mkDerivation, package 
overrides, etc.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] a0376a: Add dependency on nix-perl

2017-04-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: a0376a92e5fd90f38d784df3000cdc76ccf314b3
  
https://github.com/NixOS/hydra/commit/a0376a92e5fd90f38d784df3000cdc76ccf314b3
  Author: Eelco Dolstra 
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
M release.nix

  Log Message:
  ---
  Add dependency on nix-perl

Fixes #459.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] c2c263: Fix link to cached build log

2017-04-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: c2c2633e501869139c5d8401814f0f9d736d2e1b
  
https://github.com/NixOS/hydra/commit/c2c2633e501869139c5d8401814f0f9d736d2e1b
  Author: Eelco Dolstra 
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
M src/lib/Hydra/Controller/Build.pm
M src/root/build.tt

  Log Message:
  ---
  Fix link to cached build log

Fixes #462.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 433b94: Fix Mercurial diff

2017-04-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 433b94ee688f432ed4217ad5e9072bd8f4a907c7
  
https://github.com/NixOS/hydra/commit/433b94ee688f432ed4217ad5e9072bd8f4a907c7
  Author: Eelco Dolstra 
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
M src/lib/Hydra/Controller/API.pm

  Log Message:
  ---
  Fix Mercurial diff

It only showed the log messages of $rev1 and $rev2. Now it shows the
range $rev1::$rev2, excluding $rev1.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 585d32: Better error message if jobset doesn't evaluate to...

2017-04-11 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 585d3274e38ebc5431555e8b9967b88d1146bd44
  
https://github.com/NixOS/hydra/commit/585d3274e38ebc5431555e8b9967b88d1146bd44
  Author: Eelco Dolstra 
  Date:   2017-04-11 (Tue, 11 Apr 2017)

  Changed paths:
M src/script/hydra-eval-jobset

  Log Message:
  ---
  Better error message if jobset doesn't evaluate to an attrset


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] a738f8: declarative projects: Pull jobset spec build from ...

2017-04-10 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: a738f826e8dc9a88f7f0024670bd232e29d6e986
  
https://github.com/NixOS/hydra/commit/a738f826e8dc9a88f7f0024670bd232e29d6e986
  Author: Shea Levy 
  Date:   2017-04-01 (Sat, 01 Apr 2017)

  Changed paths:
M src/lib/Hydra/Helper/AddBuilds.pm
M src/lib/Hydra/Helper/Nix.pm

  Log Message:
  ---
  declarative projects: Pull jobset spec build from the remote store

Fixes #443


  Commit: 7e3f12fe1099da0e5291895f90d2c52c4aceedf7
  
https://github.com/NixOS/hydra/commit/7e3f12fe1099da0e5291895f90d2c52c4aceedf7
  Author: Shea Levy 
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
M src/lib/Hydra/Helper/AddBuilds.pm
M src/lib/Hydra/Helper/Nix.pm

  Log Message:
  ---
  Merge branch 'decl-project-remote-store'


Compare: https://github.com/NixOS/hydra/compare/81fee456c240...7e3f12fe1099___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 81fee4: fix #425: parsable config by hydra-queue-runner

2017-04-10 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 81fee456c24020b46950435df336ff8edb6b69f7
  
https://github.com/NixOS/hydra/commit/81fee456c24020b46950435df336ff8edb6b69f7
  Author: Domen Kožar 
  Date:   2017-04-10 (Mon, 10 Apr 2017)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  fix #425: parsable config by hydra-queue-runner


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 426aea: hydra-queue-runner: Allow multiple concurrent daem...

2017-04-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 426aea1236ca424cfac60ffc6e4dd18aba13e6e0
  
https://github.com/NixOS/hydra/commit/426aea1236ca424cfac60ffc6e4dd18aba13e6e0
  Author: Eelco Dolstra 
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  hydra-queue-runner: Allow multiple concurrent daemon connections


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 581004: Periodically clear Store's path info cache

2017-04-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 5810042a3b4b877ddf52e4c1117a9fc2dc31a87b
  
https://github.com/NixOS/hydra/commit/5810042a3b4b877ddf52e4c1117a9fc2dc31a87b
  Author: Eelco Dolstra 
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
M src/hydra-queue-runner/queue-monitor.cc

  Log Message:
  ---
  Periodically clear Store's path info cache

Otherwise the queue runner can consider paths as valid that have been
garbage-collected since the first time it queried them.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 8364f4: Upload log files to the right location

2017-04-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 8364f4ec7046a51d0a5179f52c7f2304b4c78bdd
  
https://github.com/NixOS/hydra/commit/8364f4ec7046a51d0a5179f52c7f2304b4c78bdd
  Author: Eelco Dolstra 
  Date:   2017-04-06 (Thu, 06 Apr 2017)

  Changed paths:
M src/hydra-queue-runner/builder.cc

  Log Message:
  ---
  Upload log files to the right location

We were mixing up builds and steps. So for example

  
https://cache.nixos.org/log/2w66a98iqbjdppc5s2b8qvhi3gprvy45-freecell-solver-4.8.0.drv

at the moment contains the log for
/nix/store/442r9d5ihbcpgq8q9dhijhvhlmplzp96-perl-namespace-autoclean-0.28.drv
because the latter is a step in http://hydra.nixos.org/build/51300420.
Oops.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] fec895: hydra-server: Support logs in S3

2017-04-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: fec895a6421a99e76772dc284a01cafe1c39d310
  
https://github.com/NixOS/hydra/commit/fec895a6421a99e76772dc284a01cafe1c39d310
  Author: Eelco Dolstra 
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
M src/lib/Hydra/Controller/Build.pm
M src/lib/Hydra/Controller/Root.pm
M src/lib/Hydra/Helper/Nix.pm
M src/lib/Hydra/View/NixLog.pm
M src/lib/Hydra/View/TT.pm
M src/root/build.tt
M src/root/common.tt
M src/root/log.tt
M src/root/machine-status.tt
R src/root/plain-reload.tt
M src/root/static/css/hydra.css
M src/root/static/js/common.js
M src/root/steps.tt

  Log Message:
  ---
  hydra-server: Support logs in S3


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 4f11cf: Fix build cancellation

2017-04-05 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 4f11cf45dc106a36ac3e02947eddba9ba1902ad8
  
https://github.com/NixOS/hydra/commit/4f11cf45dc106a36ac3e02947eddba9ba1902ad8
  Author: Eelco Dolstra 
  Date:   2017-04-05 (Wed, 05 Apr 2017)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Fix build cancellation

We nowadays ignore SIGINT, so the sshd child process inherited this
and ignored SIGINT as well.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 3e0ee2: Adds documentation for the external API (#441)

2017-04-01 Thread Richard Zetterberg
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 3e0ee24b87ee65660ae5a14688e74819aef427a8
  
https://github.com/NixOS/hydra/commit/3e0ee24b87ee65660ae5a14688e74819aef427a8
  Author: Richard Zetterberg 
  Date:   2017-04-01 (Sat, 01 Apr 2017)

  Changed paths:
A doc/manual/api.xml
M doc/manual/manual.xml

  Log Message:
  ---
  Adds documentation for the external API (#441)

Documents all the endpoints that can be used to retrieve data from
the API without authenticating.

Authentication and manipulating data with the API is not documented.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 90870f: NixExprs.pm: encode default.nix as utf-8 to fix mi...

2017-04-01 Thread Will Dietz
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 90870f1416dbde578a38cfffdfdaa572d2cd6b80
  
https://github.com/NixOS/hydra/commit/90870f1416dbde578a38cfffdfdaa572d2cd6b80
  Author: Will Dietz 
  Date:   2017-04-01 (Sat, 01 Apr 2017)

  Changed paths:
M src/lib/Hydra/View/NixExprs.pm

  Log Message:
  ---
  NixExprs.pm: encode default.nix as utf-8 to fix missing chars/data. (#455)

cc #254


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 147ba3: Set proper charset on log files

2017-03-31 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 147ba3ca3153337629773f430181f355dc099cad
  
https://github.com/NixOS/hydra/commit/147ba3ca3153337629773f430181f355dc099cad
  Author: Eelco Dolstra 
  Date:   2017-03-31 (Fri, 31 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/builder.cc

  Log Message:
  ---
  Set proper charset on log files


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 3b5fd2: hydra-eval-jobs: Disable the build hook.

2017-03-30 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 3b5fd2d8576f116ddee6b3d305ef33dcd7ddb2cd
  
https://github.com/NixOS/hydra/commit/3b5fd2d8576f116ddee6b3d305ef33dcd7ddb2cd
  Author: Shea Levy 
  Date:   2017-03-20 (Mon, 20 Mar 2017)

  Changed paths:
M src/hydra-eval-jobs/hydra-eval-jobs.cc

  Log Message:
  ---
  hydra-eval-jobs: Disable the build hook.

For some reason this causes an unexpected EOF when doing import-from-derivation.


  Commit: ec1c8efd43011cc620b61b332d3e4aabd115fc63
  
https://github.com/NixOS/hydra/commit/ec1c8efd43011cc620b61b332d3e4aabd115fc63
  Author: Shea Levy 
  Date:   2017-03-30 (Thu, 30 Mar 2017)

  Changed paths:
M src/hydra-eval-jobs/hydra-eval-jobs.cc

  Log Message:
  ---
  Merge branch 'eval-no-build-hook'


Compare: https://github.com/NixOS/hydra/compare/8771f7f91381...ec1c8efd4301___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 596236: Send BuildFinished notifications on cached build r...

2017-03-29 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 5962367ffc235d3c44dad8596c5984c9c1d95539
  
https://github.com/NixOS/hydra/commit/5962367ffc235d3c44dad8596c5984c9c1d95539
  Author: Shea Levy 
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
M src/hydra-queue-runner/queue-monitor.cc

  Log Message:
  ---
  Send BuildFinished notifications on cached build results.

Fixes #342


  Commit: 8771f7f9138166154379cb937d9f3ac76c7f0b60
  
https://github.com/NixOS/hydra/commit/8771f7f9138166154379cb937d9f3ac76c7f0b60
  Author: Eelco Dolstra 
  Date:   2017-03-29 (Wed, 29 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/queue-monitor.cc

  Log Message:
  ---
  Merge pull request #382 from shlevy/cached-build-notifications

Send BuildFinished notifications on cached build results.


Compare: https://github.com/NixOS/hydra/compare/57bc0eaead8c...8771f7f91381___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 57bc0e: hydra-queue-runner: Limit concurrent database conn...

2017-03-21 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 57bc0eaead8c76ffd71ddc49adfacc47bb8a75ac
  
https://github.com/NixOS/hydra/commit/57bc0eaead8c76ffd71ddc49adfacc47bb8a75ac
  Author: Eelco Dolstra 
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  hydra-queue-runner: Limit concurrent database connections

Adding a 96-core aarch64 build machine to the build farm caused the
potential number of database connections to increase a lot, so we
started hitting the Postgres connection limit.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] d1afb4: Supress debug message

2017-03-15 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: d1afb42f129211977da9a189f697d9f5354ca56a
  
https://github.com/NixOS/hydra/commit/d1afb42f129211977da9a189f697d9f5354ca56a
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Supress debug message


  Commit: 242ea8009fecbe408339b2f0752a4890d8a99f99
  
https://github.com/NixOS/hydra/commit/242ea8009fecbe408339b2f0752a4890d8a99f99
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc
M src/script/hydra-eval-jobset

  Log Message:
  ---
  hydra-evaluator: Don't use the "timeout" command

"timeout" does not propagate PR_SET_PDEATHSIG, so it prevents
hydra-eval-jobset from being killed when hydra-evaluator quits.


  Commit: 285754aff69202b02846132100d7b90276d621a0
  
https://github.com/NixOS/hydra/commit/285754aff69202b02846132100d7b90276d621a0
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M hydra-module.nix
M src/hydra-evaluator/hydra-evaluator.cc
M src/lib/Hydra/Controller/Jobset.pm
M src/lib/Hydra/Schema/Jobsets.pm
M src/root/jobset.tt
M src/script/hydra-eval-jobset
M src/sql/hydra.sql
A src/sql/upgrade-53.sql

  Log Message:
  ---
  hydra-evaluator improvements

* The "Jobset" page now shows when evaluations are in progress (rather
  than just pending).

* Restored the ability to do a single evaluation from the command line
  by doing "hydra-evaluator  ".

* Fix some consistency issues between jobset status in PostgreSQL and
  in hydra-evaluator. In particular, "lastCheckedTime" was never
  updated internally.


  Commit: 7e6486e6943bb7152fdaff30a68cd5879c69442c
  
https://github.com/NixOS/hydra/commit/7e6486e6943bb7152fdaff30a68cd5879c69442c
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/state.hh
A src/lib/Hydra/Plugin/CompressLog.pm

  Log Message:
  ---
  Move log compression to a plugin


  Commit: 150228d7dec499a763a8f76477aa35310771fd84
  
https://github.com/NixOS/hydra/commit/150228d7dec499a763a8f76477aa35310771fd84
  Author: Eelco Dolstra 
  Date:   2017-03-15 (Wed, 15 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/state.hh

  Log Message:
  ---
  Upload build logs to the binary cache


Compare: https://github.com/NixOS/hydra/compare/73900e9f5fe1...150228d7dec4___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 73900e: Fix std::stoi exception

2017-03-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 73900e9f5fe18153a8d7a5eeaaedb6721653b53b
  
https://github.com/NixOS/hydra/commit/73900e9f5fe18153a8d7a5eeaaedb6721653b53b
  Author: Eelco Dolstra 
  Date:   2017-03-08 (Wed, 08 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Fix std::stoi exception


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 7c3e5c: Include nix/config.h

2017-03-03 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 7c3e5c99c0c524db87d2e9f8c706c67afecc284f
  
https://github.com/NixOS/hydra/commit/7c3e5c99c0c524db87d2e9f8c706c67afecc284f
  Author: Eelco Dolstra 
  Date:   2017-03-03 (Fri, 03 Mar 2017)

  Changed paths:
M configure.ac

  Log Message:
  ---
  Include nix/config.h


  Commit: 500c27e4d5304528f1479bc9da552d2692cb4dc3
  
https://github.com/NixOS/hydra/commit/500c27e4d5304528f1479bc9da552d2692cb4dc3
  Author: Eelco Dolstra 
  Date:   2017-03-03 (Fri, 03 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/state.hh
M src/hydra-queue-runner/token-server.hh

  Log Message:
  ---
  Add hydra.conf option "nar_buffer_size" to configure memoryTokens limit

It defaults to half the physical RAM.


  Commit: edebdf33f061d1bd6e65db2ea6e45c511d51379f
  
https://github.com/NixOS/hydra/commit/edebdf33f061d1bd6e65db2ea6e45c511d51379f
  Author: Eelco Dolstra 
  Date:   2017-03-03 (Fri, 03 Mar 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  hydra-queue-runner: Handle SIGINT


Compare: https://github.com/NixOS/hydra/compare/fd754d678e69...edebdf33f061___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] fd754d: Do not trigger eval on jobset change when check in...

2017-02-23 Thread Rob Vermaas
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: fd754d678e691ddb32fd702186135f8a3291cb13
  
https://github.com/NixOS/hydra/commit/fd754d678e691ddb32fd702186135f8a3291cb13
  Author: Rob Vermaas 
  Date:   2017-02-23 (Thu, 23 Feb 2017)

  Changed paths:
M src/lib/Hydra/Controller/Jobset.pm

  Log Message:
  ---
  Do not trigger eval on jobset change when check interval is 0 (disabled).


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 7081f9: Pedantry: CLOCK_REALTIME -> CLOCK_MONOTONIC

2017-02-21 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 7081f97f3a2430fc058a0dfb4f4de5eb8e1a514e
  
https://github.com/NixOS/hydra/commit/7081f97f3a2430fc058a0dfb4f4de5eb8e1a514e
  Author: Eelco Dolstra 
  Date:   2017-02-21 (Tue, 21 Feb 2017)

  Changed paths:
M src/script/hydra-eval-jobset

  Log Message:
  ---
  Pedantry: CLOCK_REALTIME -> CLOCK_MONOTONIC


  Commit: 81ac547d2b9386b982d6872399b1d94b66afa0bd
  
https://github.com/NixOS/hydra/commit/81ac547d2b9386b982d6872399b1d94b66afa0bd
  Author: Eelco Dolstra 
  Date:   2017-02-21 (Tue, 21 Feb 2017)

  Changed paths:
M src/lib/Hydra/Controller/API.pm
M src/lib/Hydra/Controller/Admin.pm
M src/lib/Hydra/Controller/Build.pm
M src/lib/Hydra/Helper/AddBuilds.pm
M src/lib/Hydra/Helper/Nix.pm
M src/script/hydra-eval-jobset
M tests/Setup.pm
M tests/evaluation-tests.pl

  Log Message:
  ---
  Move most of AddBuilds to hydra-eval-jobset

Having this stuff in a separate module is a remnant of the time when
hydra-server could add builds to the queue directly. This is no longer
the case.


  Commit: 52753e49c2cfc4ff1d7ec2afd2eb6be60b36cc1e
  
https://github.com/NixOS/hydra/commit/52753e49c2cfc4ff1d7ec2afd2eb6be60b36cc1e
  Author: Eelco Dolstra 
  Date:   2017-02-21 (Tue, 21 Feb 2017)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc

  Log Message:
  ---
  hydra-evaluator: Handle SIGINT

This makes "systemctl stop hydra-evaluator" work promptly again.


  Commit: 9f6afb337540c56b60e7c0d9f5da3f3b712693b8
  
https://github.com/NixOS/hydra/commit/9f6afb337540c56b60e7c0d9f5da3f3b712693b8
  Author: Eelco Dolstra 
  Date:   2017-02-21 (Tue, 21 Feb 2017)

  Changed paths:
M src/lib/Hydra/Plugin/GitInput.pm
M src/lib/Hydra/Plugin/MercurialInput.pm

  Log Message:
  ---
  Lock paths in the scm cache

This is necessary now that hydra-evaluator runs multiple evaluations
in parallel, to prevent corruption of Git/Mercurial clones.


Compare: https://github.com/NixOS/hydra/compare/53b1f7da6408...9f6afb337540___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] a366f3: Use latest nixUnstable

2017-02-03 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: a366f362e197476615a813e2cc904b60db28e65f
  
https://github.com/NixOS/hydra/commit/a366f362e197476615a813e2cc904b60db28e65f
  Author: Eelco Dolstra 
  Date:   2017-02-03 (Fri, 03 Feb 2017)

  Changed paths:
M release.nix
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Use latest nixUnstable


  Commit: 53b1f7da6408c4b6f39a71643009adc2d3bd3d6d
  
https://github.com/NixOS/hydra/commit/53b1f7da6408c4b6f39a71643009adc2d3bd3d6d
  Author: Eelco Dolstra 
  Date:   2017-02-03 (Fri, 03 Feb 2017)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Decrease memoryTokens


Compare: https://github.com/NixOS/hydra/compare/63d8c8d63129...53b1f7da6408___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 63d8c8: Revert "Sort inputs table" (#448)

2017-01-30 Thread Renzo Carbonara
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 63d8c8d631299b19a066d0f8b464a4dd4322f6f8
  
https://github.com/NixOS/hydra/commit/63d8c8d631299b19a066d0f8b464a4dd4322f6f8
  Author: Renzo Carbonara 
  Date:   2017-01-30 (Mon, 30 Jan 2017)

  Changed paths:
M src/root/edit-jobset.tt
M src/root/jobset.tt

  Log Message:
  ---
  Revert "Sort inputs table" (#448)

This reverts commit c103163825340e7e8af2ecbc50489384a2346a01.

Fixes #412 #445


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] de5530: Fix SQL syntax for migration 50. It failed with Po...

2016-12-09 Thread Renzo Carbonara
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: de55303197d997c4fc5503b52b1321ae9528583d
  
https://github.com/NixOS/hydra/commit/de55303197d997c4fc5503b52b1321ae9528583d
  Author: Renzo Carbonara 
  Date:   2016-12-09 (Fri, 09 Dec 2016)

  Changed paths:
M src/sql/hydra.sql
M src/sql/upgrade-50.sql

  Log Message:
  ---
  Fix SQL syntax for migration 50. It failed with PostgreSQL 9.4. (#416)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 8a1200: Fix version test

2016-12-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 8a120006f0ba50b56b1a17efad18283b797d39fa
  
https://github.com/NixOS/hydra/commit/8a120006f0ba50b56b1a17efad18283b797d39fa
  Author: Eelco Dolstra 
  Date:   2016-12-08 (Thu, 08 Dec 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Fix version test


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] f60816: Allow determinism checking for entire jobsets

2016-12-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f6081668dc5e9974f7e6fae7e74ea27dc1a5b3e7
  
https://github.com/NixOS/hydra/commit/f6081668dc5e9974f7e6fae7e74ea27dc1a5b3e7
  Author: Eelco Dolstra 
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/state.hh
M src/lib/Hydra/Schema/BuildSteps.pm
M src/root/build.tt
M src/root/static/css/hydra.css
M src/sql/hydra.sql
A src/sql/upgrade-52.sql

  Log Message:
  ---
  Allow determinism checking for entire jobsets

Setting

  xxx-jobset-repeats = patchelf:master:2

will cause Hydra to perform every build step in the specified jobset 2
additional times (i.e. 3 times in total). Non-determinism is not fatal
unless the derivation has the attribute "isDeterministic = true"; we
just note the lack of determinism in the Hydra database. This will
allow us to get stats about the (lack of) reproducibility of all of
Nixpkgs.


  Commit: 9989e6c0f45a3b2723206af32acdf76bb1994dd2
  
https://github.com/NixOS/hydra/commit/9989e6c0f45a3b2723206af32acdf76bb1994dd2
  Author: Eelco Dolstra 
  Date:   2016-12-07 (Wed, 07 Dec 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Get exact build start/stop times from the remote


Compare: https://github.com/NixOS/hydra/compare/8bb36e79bd9e...9989e6c0f45a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 8bb36e: Support testing build determinism

2016-12-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 8bb36e79bd9e1752c01499971cc511872c706956
  
https://github.com/NixOS/hydra/commit/8bb36e79bd9e1752c01499971cc511872c706956
  Author: Eelco Dolstra 
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/queue-monitor.cc
M src/hydra-queue-runner/state.hh
M src/root/build.tt
M src/root/common.tt
M src/sql/hydra.sql

  Log Message:
  ---
  Support testing build determinism

Builds can now specify the attribute "isDeterministic = true" to tell
Hydra to build with build-repeat > 0. If there is a mismatch between
rounds, the step / build fails with a suitable status.

Maybe this should be a meta attribute, but that makes it invisible to
hydra-queue-runner, and it seems reasonable to make a claim of
mandatory determinism part of the derivation (since e.g. enabling this
flag should trigger a rebuild).


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] d0ad3f: Revert "Remove the global channel"

2016-12-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: d0ad3fd80673be0569f61708552eb40ed947ec6d
  
https://github.com/NixOS/hydra/commit/d0ad3fd80673be0569f61708552eb40ed947ec6d
  Author: Eelco Dolstra 
  Date:   2016-12-06 (Tue, 06 Dec 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  Revert "Remove the global channel"

This reverts commit 2f6c2f5622e18b39828528eea1470d78eaec2dc1.

This unintentionally also removed /all, which is actually somewhat
useful.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] cf1235: Document ssmtp for email notifications. (#426)

2016-11-29 Thread phile314-isska
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: cf12356572b64ecc8d9c3a81ad7d71174a7479b3
  
https://github.com/NixOS/hydra/commit/cf12356572b64ecc8d9c3a81ad7d71174a7479b3
  Author: phile314-isska 
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
M doc/manual/projects.xml

  Log Message:
  ---
  Document ssmtp for email notifications. (#426)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 8758d7: Remove logfile.css from templates (#428)

2016-11-29 Thread Leonid Onokhov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 8758d719c64b3d7e808c950a5e7744e42c866192
  
https://github.com/NixOS/hydra/commit/8758d719c64b3d7e808c950a5e7744e42c866192
  Author: Leonid Onokhov 
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
M src/root/layout.tt

  Log Message:
  ---
  Remove logfile.css from templates (#428)

It is no longer used, and causes unnecessary 404s


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 96dc9c: Document how to serve hydra behind reverse proxy (...

2016-11-24 Thread Leonid Onokhov
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 96dc9ccecb48754ed13624ec930a429f0177e643
  
https://github.com/NixOS/hydra/commit/96dc9ccecb48754ed13624ec930a429f0177e643
  Author: Leonid Onokhov 
  Date:   2016-11-24 (Thu, 24 Nov 2016)

  Changed paths:
M doc/manual/installation.xml

  Log Message:
  ---
  Document how to serve hydra behind reverse proxy (#423)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 98e7e3: hydra-server: Fix and simplify robots.txt

2016-11-17 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 98e7e378324ca2794d37853dc1b86d8461d71cac
  
https://github.com/NixOS/hydra/commit/98e7e378324ca2794d37853dc1b86d8461d71cac
  Author: Eelco Dolstra 
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  hydra-server: Fix and simplify robots.txt


  Commit: 2f6c2f5622e18b39828528eea1470d78eaec2dc1
  
https://github.com/NixOS/hydra/commit/2f6c2f5622e18b39828528eea1470d78eaec2dc1
  Author: Eelco Dolstra 
  Date:   2016-11-17 (Thu, 17 Nov 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  Remove the global channel

It's useless and it makes it very easy to kill the server by fetching
/channel/latest/closure.


Compare: https://github.com/NixOS/hydra/compare/aef048b3cb3a...2f6c2f5622e1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] b4d32a: hydra-queue-runner: More accurate memory accountin...

2016-11-16 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: b4d32a30855e1350170afd3fd2c35c9ee9f70128
  
https://github.com/NixOS/hydra/commit/b4d32a30855e1350170afd3fd2c35c9ee9f70128
  Author: Eelco Dolstra 
  Date:   2016-11-16 (Wed, 16 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/state.hh
M src/hydra-queue-runner/token-server.hh

  Log Message:
  ---
  hydra-queue-runner: More accurate memory accounting

We now take into account the memory necessary for compressing the NAR
being exported to the binary cache, plus xz compression overhead.

Also, we now release the memory tokens for the NAR accessor *after*
releasing the NAR accessor. Previously the memory for the NAR accessor
might still be in use while another thread does an allocation, causing
the maximum to be exceeded temporarily.

Also, use notify_all instead of notify_one to wake up memory token
waiters. This is not very nice, but not every waiter is requesting the
same number of tokens, so some might be able to proceed.


  Commit: afb8765ae4690209b34da17eb6e240cdf2269d1d
  
https://github.com/NixOS/hydra/commit/afb8765ae4690209b34da17eb6e240cdf2269d1d
  Author: Eelco Dolstra 
  Date:   2016-11-16 (Wed, 16 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  hydra-queue-runner: Bump memory limit to reflect more accurate accounting


  Commit: aef048b3cb3a7db25b1c48366f266031c5905c0b
  
https://github.com/NixOS/hydra/commit/aef048b3cb3a7db25b1c48366f266031c5905c0b
  Author: Eelco Dolstra 
  Date:   2016-11-16 (Wed, 16 Nov 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Bump Nix dependency


Compare: https://github.com/NixOS/hydra/compare/cb5e438a08cb...aef048b3cb3a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] cb5e43: Bump Nix

2016-11-09 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: cb5e438a08cb44c49bd583a7478a6a2db1a04ea9
  
https://github.com/NixOS/hydra/commit/cb5e438a08cb44c49bd583a7478a6a2db1a04ea9
  Author: Eelco Dolstra 
  Date:   2016-11-09 (Wed, 09 Nov 2016)

  Changed paths:
M release.nix
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Bump Nix

Fixes #398.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 4576b3: hydra-evaluator: Show friendlier exit status

2016-11-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 4576b3d35bc4015f53b89f901caa917035dc5254
  
https://github.com/NixOS/hydra/commit/4576b3d35bc4015f53b89f901caa917035dc5254
  Author: Eelco Dolstra 
  Date:   2016-11-08 (Tue, 08 Nov 2016)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc

  Log Message:
  ---
  hydra-evaluator: Show friendlier exit status


  Commit: e2a012de8c6ca5e1450cc8e4e99f54c377e6f36c
  
https://github.com/NixOS/hydra/commit/e2a012de8c6ca5e1450cc8e4e99f54c377e6f36c
  Author: Eelco Dolstra 
  Date:   2016-11-08 (Tue, 08 Nov 2016)

  Changed paths:
M src/hydra-evaluator/hydra-evaluator.cc

  Log Message:
  ---
  hydra-evaluator: Set jobset error if hydra-eval-jobset dies


Compare: https://github.com/NixOS/hydra/compare/1ecc8a4f4099...e2a012de8c6c___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] de9d7b: hydra-queue-runner: Handle exceptions in the dispa...

2016-11-08 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: de9d7bcf2580f3c114df9cf3f112aae3367b01d6
  
https://github.com/NixOS/hydra/commit/de9d7bcf2580f3c114df9cf3f112aae3367b01d6
  Author: Eelco Dolstra 
  Date:   2016-11-08 (Tue, 08 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/dispatcher.cc

  Log Message:
  ---
  hydra-queue-runner: Handle exceptions in the dispatcher thread

E.g. "resource unavailable" when creating new threads.


  Commit: 1ecc8a4f4099dcfd148aecbbe9277d5486b9eef0
  
https://github.com/NixOS/hydra/commit/1ecc8a4f4099dcfd148aecbbe9277d5486b9eef0
  Author: Eelco Dolstra 
  Date:   2016-11-08 (Tue, 08 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/builder.cc

  Log Message:
  ---
  hydra-queue-runner: Fix a race keeping cancelled steps alive

If a step is cancelled just as its builder step is starting,
doBuildStep() will return sRetry. This causes builder() to make the
step runnable again, since the queue monitor may have added new builds
referencing it. The idea is that if the latter condition is not true,
the step's reference count will drop to zero and it will be
deleted. However, if the dispatcher thread sees and locks the step
before the reference count can drop to zero in the builder thread, the
dispatcher thread will start a new builder thread for the step. Thus
the step can be kept alive for an indefinite amount of time.

The fix is for State::builder() to use a weak pointer to the step, to
ensure that the step's reference count can drop to zero *before* it's
added to the runnable queue.


Compare: https://github.com/NixOS/hydra/compare/7863d2e1da89...1ecc8a4f4099___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 7863d2: Step cancellation: Don't use pthread_cancel()

2016-11-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 7863d2e1da8956e3c3dc2abe991ab33b135b
  
https://github.com/NixOS/hydra/commit/7863d2e1da8956e3c3dc2abe991ab33b135b
  Author: Eelco Dolstra 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/queue-monitor.cc
M src/hydra-queue-runner/state.hh

  Log Message:
  ---
  Step cancellation: Don't use pthread_cancel()

This was a bad idea because pthread_cancel() is unsalvageable broken
in C++. Destructors are not allowed to throw exceptions (especially in
C++11), but pthread_cancel() can cause a __cxxabiv1::__forced_unwind
exception inside any destructor that invokes a cancellation
point. (This exception can be caught but *must* be rethrown.) So let's
just kill the builder process instead.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 6f6562: Update build images to be more friendly to users w...

2016-11-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 6f6562bc5ff203c09e31a54923df6879bc43649d
  
https://github.com/NixOS/hydra/commit/6f6562bc5ff203c09e31a54923df6879bc43649d
  Author: Graham Christensen 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M README.md
M src/root/common.tt
A src/root/static/images/emojione-check-2714.svg
A src/root/static/images/emojione-gray-x-2716.svg
A src/root/static/images/emojione-question-2754.svg
A src/root/static/images/emojione-red-x-274c.svg
A src/root/static/images/emojione-stopsign-1f6d1.svg

  Log Message:
  ---
  Update build images to be more friendly to users with color blindness.

Closes #406


  Commit: 95aa1f05905c156c02a02497e4003b7e62c575c7
  
https://github.com/NixOS/hydra/commit/95aa1f05905c156c02a02497e4003b7e62c575c7
  Author: Eelco Dolstra 
  Date:   2016-11-07 (Mon, 07 Nov 2016)

  Changed paths:
M README.md
M src/root/common.tt
A src/root/static/images/emojione-check-2714.svg
A src/root/static/images/emojione-gray-x-2716.svg
A src/root/static/images/emojione-question-2754.svg
A src/root/static/images/emojione-red-x-274c.svg
A src/root/static/images/emojione-stopsign-1f6d1.svg

  Log Message:
  ---
  Merge pull request #407 from grahamc/images

Update build images to be more friendly to users with color blindness.


Compare: https://github.com/NixOS/hydra/compare/d7453bd8be10...95aa1f05905c___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 4f08c8: hydra-queue-runner: Fix assertion failure

2016-11-02 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 4f08c85c69a3e0ae056aba3fe8ab2d289597edcd
  
https://github.com/NixOS/hydra/commit/4f08c85c69a3e0ae056aba3fe8ab2d289597edcd
  Author: Eelco Dolstra 
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/state.hh

  Log Message:
  ---
  hydra-queue-runner: Fix assertion failure

It was hitting

assert(reservation.unique());

Since we do want the machine reservation to be released before calling
wakeDispatcher(), let's use a different object for keeping track of
active steps.


  Commit: d7453bd8be10e80a60d6a20e917c2bb3587a627b
  
https://github.com/NixOS/hydra/commit/d7453bd8be10e80a60d6a20e917c2bb3587a627b
  Author: Eelco Dolstra 
  Date:   2016-11-02 (Wed, 02 Nov 2016)

  Changed paths:
M src/hydra-queue-runner/builder.cc

  Log Message:
  ---
  hydra-queue-runner: Fix message


Compare: https://github.com/NixOS/hydra/compare/07decd691574...d7453bd8be10___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 9072ad: Fix broken logic for showing/hiding jobsets

2016-11-01 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 9072adece869d38fb19683ed63d2242c1907ac01
  
https://github.com/NixOS/hydra/commit/9072adece869d38fb19683ed63d2242c1907ac01
  Author: Eelco Dolstra 
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
M src/root/common.tt
M src/root/project.tt
M src/root/static/css/hydra.css

  Log Message:
  ---
  Fix broken logic for showing/hiding jobsets


  Commit: 07decd691574889ab346f40afd47085ceb9b3b5d
  
https://github.com/NixOS/hydra/commit/07decd691574889ab346f40afd47085ceb9b3b5d
  Author: Eelco Dolstra 
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm
M src/root/overview.tt
M src/root/project.tt

  Log Message:
  ---
  Also hide disabled projects on the overview page by default


Compare: https://github.com/NixOS/hydra/compare/ef711ce845ce...07decd691574___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] ef711c: Handle Referer not having a trailing slash

2016-11-01 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: ef711ce845ce488a42c0f8fd68e18998fb05cddf
  
https://github.com/NixOS/hydra/commit/ef711ce845ce488a42c0f8fd68e18998fb05cddf
  Author: Eelco Dolstra 
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  Handle Referer not having a trailing slash

Fixes #415.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] d6ccbe: doc: add basic docs about declarative projects

2016-10-31 Thread Shea Levy
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: d6ccbeedbd8418a5f4eaa78ef24b19b9f43cb4a8
  
https://github.com/NixOS/hydra/commit/d6ccbeedbd8418a5f4eaa78ef24b19b9f43cb4a8
  Author: Shea Levy 
  Date:   2016-10-31 (Mon, 31 Oct 2016)

  Changed paths:
A doc/manual/declarative-projects.xml
M doc/manual/projects.xml

  Log Message:
  ---
  doc: add basic docs about declarative projects

Conversion of Shea's *.md, added as a subsection.  Shea is left as author.
I made this new bit a separate file, though it might be questionable.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] a2be29: Hide hidden jobsets for project admins by default

2016-10-31 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: a2be29377e1bc0f891faaedb1a3765e49554c2b8
  
https://github.com/NixOS/hydra/commit/a2be29377e1bc0f891faaedb1a3765e49554c2b8
  Author: Eelco Dolstra 
  Date:   2016-10-31 (Mon, 31 Oct 2016)

  Changed paths:
M src/lib/Hydra/Controller/Project.pm
M src/root/common.tt
M src/root/dashboard-my-jobsets-tab.tt
M src/root/project.tt
M src/root/static/css/hydra.css

  Log Message:
  ---
  Hide hidden jobsets for project admins by default

This unclutters project pages.

Fixes #390.


  Commit: a816ef873d61ca12f99e4ec382de21a1207667a2
  
https://github.com/NixOS/hydra/commit/a816ef873d61ca12f99e4ec382de21a1207667a2
  Author: Eelco Dolstra 
  Date:   2016-10-31 (Mon, 31 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Warn against empty machines file


  Commit: b3169ce4389701fc77ee3e142ebb0cdd7a9fea18
  
https://github.com/NixOS/hydra/commit/b3169ce4389701fc77ee3e142ebb0cdd7a9fea18
  Author: Eelco Dolstra 
  Date:   2016-10-31 (Mon, 31 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/queue-monitor.cc
M src/hydra-queue-runner/state.hh
M src/root/build.tt
M src/sql/hydra.sql

  Log Message:
  ---
  Kill active build steps when builds are cancelled

We now kill active build steps when there are no more referring
builds. This is useful e.g. for preventing cancelled multi-hour TPC-H
benchmark runs from hogging build machines.


Compare: https://github.com/NixOS/hydra/compare/3c8f00c76f85...b3169ce43897___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 3c8f00: Clean up unused images (#404)

2016-10-30 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 3c8f00c76f85747bcdffe1f6ecf3b48d7eef528f
  
https://github.com/NixOS/hydra/commit/3c8f00c76f85747bcdffe1f6ecf3b48d7eef528f
  Author: Graham Christensen 
  Date:   2016-10-30 (Sun, 30 Oct 2016)

  Changed paths:
R src/root/static/images/arrow-down.gif
R src/root/static/images/arrow-right-active.gif
R src/root/static/images/arrow-right.gif
R src/root/static/images/failure-some.gif
R src/root/static/images/failure.gif
R src/root/static/images/information_128.png
R src/root/static/images/information_256.png
R src/root/static/images/information_32.png
R src/root/static/images/information_64.png
R src/root/static/images/persona_sign_in_blue.png
R src/root/static/images/question-mark.png
R src/root/static/images/success.gif

  Log Message:
  ---
  Clean up unused images (#404)

* Drop information_{32,64,128,256}.png because it appears to be unused.

* Delete unused images


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 2b790c: Remove the pretty-printed log

2016-10-27 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 2b790ceefa4d3b92acbee745b1ce8deaba1291a3
  
https://github.com/NixOS/hydra/commit/2b790ceefa4d3b92acbee745b1ce8deaba1291a3
  Author: Eelco Dolstra 
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
M configure.ac
M release.nix
M src/Makefile.am
M src/lib/Hydra/Controller/Build.pm
M src/root/log.tt
M src/root/plain-reload.tt
M src/root/static/css/hydra.css
R src/root/static/css/logfile.css
R src/xsl/Makefile.am
R src/xsl/log2html.xsl
R src/xsl/mark-errors.xsl

  Log Message:
  ---
  Remove the pretty-printed log

It didn't work anymore due to the removal of nix-log2xml. And in any
case XSL is the work of the devil.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 41a020: Fix typo

2016-10-27 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 41a020e3237fe487e3b5bdacf7506f2da2a2f862
  
https://github.com/NixOS/hydra/commit/41a020e3237fe487e3b5bdacf7506f2da2a2f862
  Author: Eelco Dolstra 
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
M src/sql/upgrade-50.sql

  Log Message:
  ---
  Fix typo


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 3b84d4: Bump Nix

2016-10-27 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 3b84d4711b589f6eb68b76c21a4fb0f16f93e0b8
  
https://github.com/NixOS/hydra/commit/3b84d4711b589f6eb68b76c21a4fb0f16f93e0b8
  Author: Eelco Dolstra 
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
M release.nix
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Bump Nix


  Commit: cc866bff1e9b294dade27311e637b43ec9bb8543
  
https://github.com/NixOS/hydra/commit/cc866bff1e9b294dade27311e637b43ec9bb8543
  Author: Eelco Dolstra 
  Date:   2016-10-27 (Thu, 27 Oct 2016)

  Changed paths:
M tests/api-test.pl

  Log Message:
  ---
  Fix API tests

POST requests require a referrer now.

http://hydra.nixos.org/build/42775011


Compare: https://github.com/NixOS/hydra/compare/a0c8e2b0554d...cc866bff1e9b___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] cba7e7: Allow hydra-eval-jobset to be found by the hydra-e...

2016-10-26 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: cba7e7e0e2ce409f3636a18cb3b75a58d7bb4e87
  
https://github.com/NixOS/hydra/commit/cba7e7e0e2ce409f3636a18cb3b75a58d7bb4e87
  Author: Bas van Dijk 
  Date:   2016-10-25 (Tue, 25 Oct 2016)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  Allow hydra-eval-jobset to be found by the hydra-evaluator

Without this I got the following error in my journal:

  Oct 25 22:42:29 mymachine hydra-evaluator[4085]: starting evaluation of 
jobset ‘myproject:.jobsets’
  Oct 25 22:42:29 mymachine hydra-evaluator[4085]: timeout: failed to run 
command ‘hydra-eval-jobset’: No such file or directory
  Oct 25 22:42:29 mymachine hydra-evaluator[4085]: evaluation of jobset 
‘myproject:.jobsets’ finished with status 32512


  Commit: a0c8e2b0554ddf5dbac8b1ac7d61100a344659d0
  
https://github.com/NixOS/hydra/commit/a0c8e2b0554ddf5dbac8b1ac7d61100a344659d0
  Author: Eelco Dolstra 
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  Merge pull request #410 from LumiGuide/fix-hydra-eval-jobset-not-found

Allow hydra-eval-jobset to be found by the hydra-evaluator


Compare: https://github.com/NixOS/hydra/compare/0b00d51bafd2...a0c8e2b0554d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 0b00d5: Prevent orphaned build steps

2016-10-26 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 0b00d51bafd2422bfae72c2693de344fbca5c7e2
  
https://github.com/NixOS/hydra/commit/0b00d51bafd2422bfae72c2693de344fbca5c7e2
  Author: Eelco Dolstra 
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/builder.cc

  Log Message:
  ---
  Prevent orphaned build steps

If two active steps of the same build failed, then the first would be
marked as "failed", but the second would end up as "orphaned", causing
it to be marked as "aborted" later on. Now it's correctly marked as
"failed".


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 8e1d79: Truncate the log just before starting the remote b...

2016-10-26 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 8e1d791d0c518388d16f147b875398c5197c364b
  
https://github.com/NixOS/hydra/commit/8e1d791d0c518388d16f147b875398c5197c364b
  Author: Eelco Dolstra 
  Date:   2016-10-26 (Wed, 26 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Truncate the log just before starting the remote build

This gets rid of all those remote substitution messages that were
polluting the build logs.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] a12e94: When manually scheduling an eval, force re-instant...

2016-10-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: a12e9478e76400881e9c0d12c5dd6e4a218652ee
  
https://github.com/NixOS/hydra/commit/a12e9478e76400881e9c0d12c5dd6e4a218652ee
  Author: Eelco Dolstra 
  Date:   2016-10-24 (Mon, 24 Oct 2016)

  Changed paths:
M src/lib/Hydra/Controller/API.pm
M src/lib/Hydra/Schema/Jobsets.pm
M src/script/hydra-eval-jobset
M src/sql/hydra.sql
A src/sql/upgrade-51.sql

  Log Message:
  ---
  When manually scheduling an eval, force re-instantiation of store derivations

Without this, if (failed or aborted) derivations have been
garbage-collected, there is no way to restart them, which is very
annoying. Now we set a forceEval flag in the jobset to cause it to be
re-evaluated even if none of the inputs have changed.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 140cbe: Set utf-8 charset for raw logs

2016-10-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 140cbe930261e83eefb272e0c623aef1ebbe93d9
  
https://github.com/NixOS/hydra/commit/140cbe930261e83eefb272e0c623aef1ebbe93d9
  Author: Eelco Dolstra 
  Date:   2016-10-24 (Mon, 24 Oct 2016)

  Changed paths:
M src/lib/Hydra/View/NixLog.pm
M src/lib/Hydra/View/Plain.pm

  Log Message:
  ---
  Set utf-8 charset for raw logs

Also fix incorrect use of Content-Encoding header in View::Plain.


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] f7ff7f: Fix a couple of encoding issues

2016-10-24 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: f7ff7f741bb7cfff6eab534a03b50e481a9414a2
  
https://github.com/NixOS/hydra/commit/f7ff7f741bb7cfff6eab534a03b50e481a9414a2
  Author: Eelco Dolstra 
  Date:   2016-10-24 (Mon, 24 Oct 2016)

  Changed paths:
M src/lib/Hydra/Controller/Job.pm
M src/lib/Hydra/Controller/JobsetEval.pm
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  Fix a couple of encoding issues


  Commit: 3fcfa20d1a4683d9f98d32511c55e3dd774f2daf
  
https://github.com/NixOS/hydra/commit/3fcfa20d1a4683d9f98d32511c55e3dd774f2daf
  Author: Eelco Dolstra 
  Date:   2016-10-24 (Mon, 24 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Fix regression caused by ee2e9f53

‘basicDrv.inputSrcs’ also contains the outputs of inputDrvs. These
don't necessarily exist in the local store, so copying them may cause
an exception. We should only copy the real inputSrcs.


Compare: https://github.com/NixOS/hydra/compare/3586bf28e46c...3fcfa20d1a46___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 3586bf: Build status: copy the alt attribute to the title ...

2016-10-23 Thread Graham Christensen
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 3586bf28e46c0bd8dfdf06fa7b5e83a9f0b3017d
  
https://github.com/NixOS/hydra/commit/3586bf28e46c0bd8dfdf06fa7b5e83a9f0b3017d
  Author: Graham Christensen 
  Date:   2016-10-23 (Sun, 23 Oct 2016)

  Changed paths:
M src/root/common.tt

  Log Message:
  ---
  Build status: copy the alt attribute to the title attribute for on-hover tool 
tips. (#405)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 881d3b: Bump Nix

2016-10-21 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 881d3bc017d9f9941e6672d6b6fc1072dda8b8a2
  
https://github.com/NixOS/hydra/commit/881d3bc017d9f9941e6672d6b6fc1072dda8b8a2
  Author: Eelco Dolstra 
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Bump Nix


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 5d8fbc: Fix referer check

2016-10-21 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 5d8fbc6ca1d9fa9571ffdd9037e2840a368ec46c
  
https://github.com/NixOS/hydra/commit/5d8fbc6ca1d9fa9571ffdd9037e2840a368ec46c
  Author: Eelco Dolstra 
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  Fix referer check


  Commit: a3efdcdfd910aabd3001467864eaf2990f6c57a2
  
https://github.com/NixOS/hydra/commit/a3efdcdfd910aabd3001467864eaf2990f6c57a2
  Author: Eelco Dolstra 
  Date:   2016-10-21 (Fri, 21 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/build-result.cc

  Log Message:
  ---
  Use std::regex


Compare: https://github.com/NixOS/hydra/compare/c928c41ee1f1...a3efdcdfd910___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] bbe45e: Remove Persona support

2016-10-20 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: bbe45ed8443d49bec45f333ed210ee127cb667e6
  
https://github.com/NixOS/hydra/commit/bbe45ed8443d49bec45f333ed210ee127cb667e6
  Author: Eelco Dolstra 
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm
M src/lib/Hydra/Controller/User.pm
M src/root/auth.tt
M src/root/layout.tt
M src/root/topbar.tt
M src/script/hydra-create-user
M src/sql/hydra.sql

  Log Message:
  ---
  Remove Persona support

Persona is no longer supported by Mozilla, so let's remove it.


  Commit: c928c41ee1f15776df85551c8df918643e5717bd
  
https://github.com/NixOS/hydra/commit/c928c41ee1f15776df85551c8df918643e5717bd
  Author: Eelco Dolstra 
  Date:   2016-10-20 (Thu, 20 Oct 2016)

  Changed paths:
M src/lib/Hydra/Controller/Root.pm

  Log Message:
  ---
  Add XSRF protection for POST requests

Some Hydra API requests were vulnerable to XSRF attacks, e.g. you
could have a form on another website using http://hydra/logout as the
form action. So we now require POST requests to come from the same
origin.

Reported by Hans-Christian Esperer.


Compare: https://github.com/NixOS/hydra/compare/e0b2921ff2f7...c928c41ee1f1___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] dd5af7: Remove finally.hh

2016-10-14 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: dd5af7637d2bb045303cf258d547fc0c8b7d6a6d
  
https://github.com/NixOS/hydra/commit/dd5af7637d2bb045303cf258d547fc0c8b7d6a6d
  Author: Eelco Dolstra 
  Date:   2016-10-14 (Fri, 14 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/Makefile.am
R src/hydra-queue-runner/finally.hh

  Log Message:
  ---
  Remove finally.hh


  Commit: 16feddd5d4bb1d6ea1f5610dcd4d94c0d93b535a
  
https://github.com/NixOS/hydra/commit/16feddd5d4bb1d6ea1f5610dcd4d94c0d93b535a
  Author: Eelco Dolstra 
  Date:   2016-10-14 (Fri, 14 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/Makefile.am

  Log Message:
  ---
  Drop obsolete -laws-cpp-sdk-s3


  Commit: e0b2921ff2f714fd243a4ef3357c5d01fffba1a5
  
https://github.com/NixOS/hydra/commit/e0b2921ff2f714fd243a4ef3357c5d01fffba1a5
  Author: Eelco Dolstra 
  Date:   2016-10-14 (Fri, 14 Oct 2016)

  Changed paths:
M configure.ac
M release.nix
M src/Makefile.am
A src/hydra-evaluator/Makefile.am
A src/hydra-evaluator/hydra-evaluator.cc
M src/hydra-queue-runner/Makefile.am
R src/hydra-queue-runner/db.hh
A src/libhydra/db.hh
M src/script/Makefile.am
A src/script/hydra-eval-jobset
R src/script/hydra-evaluator
M src/sql/hydra.sql
A src/sql/upgrade-50.sql
M tests/Makefile.am
M tests/Setup.pm
M tests/api-test.pl
M tests/s3-backup-test.pl

  Log Message:
  ---
  Concurrent hydra-evaluator

This rewrites the top-level loop of hydra-evaluator in C++. The Perl
stuff is moved into hydra-eval-jobset. (Rewriting the entire evaluator
would be nice but is a bit too much work.) The new version has some
advantages:

* It can run multiple jobset evaluations in parallel.

* It uses PostgreSQL notifications so it doesn't have to poll the
  database. So if a jobset is triggered via the web interface or from
  a GitHub / Bitbucket webhook, evaluation of the jobset will start
  almost instantaneously (assuming the evaluator is not at its
  concurrency limit).

* It imposes a timeout on evaluations. So if e.g. hydra-eval-jobset
  hangs connecting to a Mercurial server, it will eventually be
  killed.


Compare: https://github.com/NixOS/hydra/compare/386a97224419...e0b2921ff2f7___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 386a97: README: fix manual links, fixes #401

2016-10-13 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 386a97224419dcacf4ccac3983698d6f63600217
  
https://github.com/NixOS/hydra/commit/386a97224419dcacf4ccac3983698d6f63600217
  Author: Domen Kožar 
  Date:   2016-10-13 (Thu, 13 Oct 2016)

  Changed paths:
M README.md

  Log Message:
  ---
  README: fix manual links, fixes #401


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 607eed: svn.nixos.org -> github.com

2016-10-12 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 607eeda9bb86a0c93043f1a107451466e49a29a6
  
https://github.com/NixOS/hydra/commit/607eeda9bb86a0c93043f1a107451466e49a29a6
  Author: Domen Kožar 
  Date:   2016-10-12 (Wed, 12 Oct 2016)

  Changed paths:
M doc/manual/projects.xml

  Log Message:
  ---
  svn.nixos.org -> github.com


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 7221bd: manual: Add index.html

2016-10-10 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 7221bd7e5a2237c65df44910058a44d315fe3784
  
https://github.com/NixOS/hydra/commit/7221bd7e5a2237c65df44910058a44d315fe3784
  Author: Eelco Dolstra 
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
M doc/manual/Makefile.am

  Log Message:
  ---
  manual: Add index.html


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 303718: Doh

2016-10-10 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 303718dbd6b5dd8b06adf412466eec30de7fc3c1
  
https://github.com/NixOS/hydra/commit/303718dbd6b5dd8b06adf412466eec30de7fc3c1
  Author: Eelco Dolstra 
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Doh


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 0b5a74: Add a job for the manual

2016-10-10 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 0b5a7472beef36221882a009d4ae04c919e45d39
  
https://github.com/NixOS/hydra/commit/0b5a7472beef36221882a009d4ae04c919e45d39
  Author: Eelco Dolstra 
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Add a job for the manual


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 633724: services.hydra -> services.hydra-dev

2016-10-10 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 633724cc8aecc8fe7e586f81444bfd8d290be411
  
https://github.com/NixOS/hydra/commit/633724cc8aecc8fe7e586f81444bfd8d290be411
  Author: Eelco Dolstra 
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
M hydra-module.nix
M release.nix

  Log Message:
  ---
  services.hydra -> services.hydra-dev

Since Nixpkgs 16.09 contains a Hydra module, we were getting a
conflict. I guess we should have a way to override modules in
Nixpkgs...


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 2f0d2f: Bump Nix

2016-10-10 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 2f0d2f8d91133a34214eeea1a3da028d90b08b94
  
https://github.com/NixOS/hydra/commit/2f0d2f8d91133a34214eeea1a3da028d90b08b94
  Author: Eelco Dolstra 
  Date:   2016-10-10 (Mon, 10 Oct 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Bump Nix


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] ee2e9f: Update to reflect BinaryCacheStore changes

2016-10-07 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: ee2e9f5335c8c0288c102975b506f6b275793cfe
  
https://github.com/NixOS/hydra/commit/ee2e9f5335c8c0288c102975b506f6b275793cfe
  Author: Eelco Dolstra 
  Date:   2016-10-07 (Fri, 07 Oct 2016)

  Changed paths:
M hydra-module.nix
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/hydra-queue-runner.cc
M src/hydra-queue-runner/queue-monitor.cc
M src/hydra-queue-runner/state.hh

  Log Message:
  ---
  Update to reflect BinaryCacheStore changes

BinaryCacheStore no longer implements buildPaths() and ensurePath(),
so we need to use copyPath() / copyClosure().


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 934829: Remove NetStatsd since it's also in Nixpkgs

2016-10-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 934829a1a9ee964f37689a727070915264eb8158
  
https://github.com/NixOS/hydra/commit/934829a1a9ee964f37689a727070915264eb8158
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Remove NetStatsd since it's also in Nixpkgs


  Commit: 706e06e8d7d5209f2b85c5b8a19f75f40a34bc36
  
https://github.com/NixOS/hydra/commit/706e06e8d7d5209f2b85c5b8a19f75f40a34bc36
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-eval-jobs/hydra-eval-jobs.cc

  Log Message:
  ---
  hydra-eval-jobs: Fix build


  Commit: 492d16074c1c0788c61c9ee9431d41b568160934
  
https://github.com/NixOS/hydra/commit/492d16074c1c0788c61c9ee9431d41b568160934
  Author: Alexander Ried 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/Makefile.am
R src/hydra-queue-runner/s3-binary-cache-store.cc
R src/hydra-queue-runner/s3-binary-cache-store.hh

  Log Message:
  ---
  Remove s3binarystore (moved to nix in d155d80)


  Commit: 232e6e85560692e03df8040ee92f8e6317f5d899
  
https://github.com/NixOS/hydra/commit/232e6e85560692e03df8040ee92f8e6317f5d899
  Author: Alexander Ried 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Replace buildVerbosity with verboseBuild (nix#5761827)


  Commit: 1c2f6281b911738aeea5afd8105f52e44c5ccd58
  
https://github.com/NixOS/hydra/commit/1c2f6281b911738aeea5afd8105f52e44c5ccd58
  Author: Alexander Ried 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc

  Log Message:
  ---
  Remove signing parameter (nix#f435f82)


  Commit: a73f211bf2a1068e99bcf9965b85616c34d57995
  
https://github.com/NixOS/hydra/commit/a73f211bf2a1068e99bcf9965b85616c34d57995
  Author: Alexander Ried 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Use store-api for binary cache instantiation


  Commit: 7089142fdc06cad0765ec5ad69464c15a1ed2304
  
https://github.com/NixOS/hydra/commit/7089142fdc06cad0765ec5ad69464c15a1ed2304
  Author: Alexander Ried 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  Add error/warnings for deprecated store specification


  Commit: 6a313c691b15a1f338e0885c5c593eae4f5509eb
  
https://github.com/NixOS/hydra/commit/6a313c691b15a1f338e0885c5c593eae4f5509eb
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/build-result.cc
M src/hydra-queue-runner/hydra-queue-runner.cc

  Log Message:
  ---
  hydra-queue-runner: Fix build


  Commit: f2724d088d2e64b446b0c5b59a8794734cab8926
  
https://github.com/NixOS/hydra/commit/f2724d088d2e64b446b0c5b59a8794734cab8926
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M src/lib/Hydra/Helper/Nix.pm
M tests/Setup.pm

  Log Message:
  ---
  Test: Show error output from hydra-queue-runner on timeout


  Commit: e94ef4627c834a5f414c930915920b9f9fd06041
  
https://github.com/NixOS/hydra/commit/e94ef4627c834a5f414c930915920b9f9fd06041
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M tests/Makefile.am

  Log Message:
  ---
  Tests: Clear $NIX_REMOTE_SYSTEMS


  Commit: fb0d2d2ddad039d150e72ca0274a6dd684d2f759
  
https://github.com/NixOS/hydra/commit/fb0d2d2ddad039d150e72ca0274a6dd684d2f759
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M release.nix

  Log Message:
  ---
  Build against the bleeding edge of Nix


Compare: https://github.com/NixOS/hydra/compare/c9ab3b9ffd8a...fb0d2d2ddad0___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] c9ab3b: README.md: Point to the manual

2016-10-06 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: c9ab3b9ffd8a22bd2f23cf96f255263f8269694a
  
https://github.com/NixOS/hydra/commit/c9ab3b9ffd8a22bd2f23cf96f255263f8269694a
  Author: Eelco Dolstra 
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
M README.md

  Log Message:
  ---
  README.md: Point to the manual

Let's not duplicate the hacking instructions here (especially since
they were actually wrong).


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] b1512a: Fix build failure on GCC 5.4

2016-09-30 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: b1512a152a97b7e91cf85d8a2aa0ba6c4174fe98
  
https://github.com/NixOS/hydra/commit/b1512a152a97b7e91cf85d8a2aa0ba6c4174fe98
  Author: Eelco Dolstra 
  Date:   2016-09-30 (Fri, 30 Sep 2016)

  Changed paths:
M src/hydra-queue-runner/build-remote.cc
M src/hydra-queue-runner/builder.cc
M src/hydra-queue-runner/dispatcher.cc

  Log Message:
  ---
  Fix build failure on GCC 5.4


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] fb5e7f: Use the new logo (#396)

2016-09-29 Thread Michele Guerini Rocco
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: fb5e7f95707e58207c7ed696d462247f5e37c9c9
  
https://github.com/NixOS/hydra/commit/fb5e7f95707e58207c7ed696d462247f5e37c9c9
  Author: Michele Guerini Rocco 
  Date:   2016-09-29 (Thu, 29 Sep 2016)

  Changed paths:
M src/root/static/images/channel.png
M src/root/static/images/nixos-logo-only-hires.png

  Log Message:
  ---
  Use the new logo (#396)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] dedcb7: module: add default to buildMachinesFiles (#372)

2016-08-20 Thread Eric Sagnes
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: dedcb76bedbb0c2fb43e18a5b7e58f3fcf2db0d6
  
https://github.com/NixOS/hydra/commit/dedcb76bedbb0c2fb43e18a5b7e58f3fcf2db0d6
  Author: Eric Sagnes 
  Date:   2016-08-20 (Sat, 20 Aug 2016)

  Changed paths:
M hydra-module.nix

  Log Message:
  ---
  module: add default to buildMachinesFiles (#372)


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 026f89: product list: convert to a proper table

2016-08-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 026f891ed6b040357e120be108b8306b5a2664ec
  
https://github.com/NixOS/hydra/commit/026f891ed6b040357e120be108b8306b5a2664ec
  Author: Domen Kožar 
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
M src/root/product-list.tt
M src/root/static/css/hydra.css

  Log Message:
  ---
  product list: convert to a proper table


  Commit: 1a99761a8e77390fd708743ed4cd2206d3bdb43c
  
https://github.com/NixOS/hydra/commit/1a99761a8e77390fd708743ed4cd2206d3bdb43c
  Author: Domen Kožar 
  Date:   2016-05-19 (Thu, 19 May 2016)

  Changed paths:
M src/root/product-list.tt

  Log Message:
  ---
  product-list: remove redundant Icon table header


  Commit: 682b4bcc730186dbc70ad24d1ccdefa245e4168e
  
https://github.com/NixOS/hydra/commit/682b4bcc730186dbc70ad24d1ccdefa245e4168e
  Author: Eelco Dolstra 
  Date:   2016-08-19 (Fri, 19 Aug 2016)

  Changed paths:
M src/root/product-list.tt
M src/root/static/css/hydra.css

  Log Message:
  ---
  Merge pull request #311 from domenkozar/product-list-table

product list: convert to a proper table


Compare: https://github.com/NixOS/hydra/compare/b03e3c593cf9...682b4bcc7301___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 02baff: Enable apache style includes in the config file

2016-08-19 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 02baff987a5377e840b14acc72d6dd4fa13e0ec2
  
https://github.com/NixOS/hydra/commit/02baff987a5377e840b14acc72d6dd4fa13e0ec2
  Author: Joe Hermaszewski 
  Date:   2016-06-19 (Sun, 19 Jun 2016)

  Changed paths:
M src/lib/Hydra/Helper/Nix.pm

  Log Message:
  ---
  Enable apache style includes in the config file


  Commit: b03e3c593cf99d123989228278fa7ccb070e53ad
  
https://github.com/NixOS/hydra/commit/b03e3c593cf99d123989228278fa7ccb070e53ad
  Author: Eelco Dolstra 
  Date:   2016-08-19 (Fri, 19 Aug 2016)

  Changed paths:
M src/lib/Hydra/Helper/Nix.pm

  Log Message:
  ---
  Merge pull request #338 from expipiplus1/apache-include

Enable apache style includes in the config file


Compare: https://github.com/NixOS/hydra/compare/2840a5e08968...b03e3c593cf9___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 2840a5: push_github: return empty response instead of a te...

2016-08-16 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 2840a5e089687e450cab629a2649833ea61a354a
  
https://github.com/NixOS/hydra/commit/2840a5e089687e450cab629a2649833ea61a354a
  Author: Domen Kožar 
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
M src/lib/Hydra/Controller/API.pm

  Log Message:
  ---
  push_github: return empty response instead of a template, fixes #309


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 121944: GitHub push suffix (#332)

2016-08-16 Thread Joe Hermaszewski
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 12194447ee2bab5922271c882ddf121cd089e3db
  
https://github.com/NixOS/hydra/commit/12194447ee2bab5922271c882ddf121cd089e3db
  Author: Joe Hermaszewski 
  Date:   2016-08-17 (Wed, 17 Aug 2016)

  Changed paths:
M src/lib/Hydra/Controller/API.pm

  Log Message:
  ---
  GitHub push suffix (#332)

* Fix api/push-github

Fixes #309

* Don't require .git suffix on jobset inputs


___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] eb9aba: Fix api/push-github

2016-08-16 Thread Domen Kožar
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: eb9aba0ff45b3d71f548cd81e9f31da12b60844b
  
https://github.com/NixOS/hydra/commit/eb9aba0ff45b3d71f548cd81e9f31da12b60844b
  Author: Joe Hermaszewski 
  Date:   2016-06-14 (Tue, 14 Jun 2016)

  Changed paths:
M src/lib/Hydra/Controller/API.pm

  Log Message:
  ---
  Fix api/push-github

Fixes #309


  Commit: 03e85387463a117a4c9f15130003cd904557525e
  
https://github.com/NixOS/hydra/commit/03e85387463a117a4c9f15130003cd904557525e
  Author: Domen Kožar 
  Date:   2016-08-16 (Tue, 16 Aug 2016)

  Changed paths:
M src/lib/Hydra/Controller/API.pm

  Log Message:
  ---
  Merge pull request #331 from expipiplus1/github-push

Fix api/push-github


Compare: https://github.com/NixOS/hydra/compare/71440e7bd70d...03e85387463a___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] c10316: Sort inputs table

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: c103163825340e7e8af2ecbc50489384a2346a01
  
https://github.com/NixOS/hydra/commit/c103163825340e7e8af2ecbc50489384a2346a01
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M src/root/edit-jobset.tt
M src/root/jobset.tt

  Log Message:
  ---
  Sort inputs table


  Commit: 71440e7bd70d0debf3e8ea4ecdcd24c29aec9c23
  
https://github.com/NixOS/hydra/commit/71440e7bd70d0debf3e8ea4ecdcd24c29aec9c23
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M src/root/edit-jobset.tt
M src/root/jobset.tt

  Log Message:
  ---
  Merge pull request #379 from domenkozar/sort-inputs-tables

Sort inputs table


Compare: https://github.com/NixOS/hydra/compare/7b3dfe836320...71440e7bd70d___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


[Nix-commits] [NixOS/hydra] 23bf99: Use pixz instead of bzip2 for compressing nars

2016-08-12 Thread Eelco Dolstra
  Branch: refs/heads/master
  Home:   https://github.com/NixOS/hydra
  Commit: 23bf99b8e2eb842da63527797d3c3ae36b622dd1
  
https://github.com/NixOS/hydra/commit/23bf99b8e2eb842da63527797d3c3ae36b622dd1
  Author: Domen Kožar 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M hydra-module.nix
M release.nix
M src/lib/Hydra/View/NARInfo.pm
M src/lib/Hydra/View/NixNAR.pm

  Log Message:
  ---
  Use pixz instead of bzip2 for compressing nars

According to following two benchmarks:

- https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison/
- 
http://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO

xz has better compression ratio than bzip2 at lowest compression rate.

https://github.com/vasi/pixz has been chosen as it can scale compressing
over multiple cores linearly.

We're using this in snabblab for a month now and it has improved CPU
wise the main Hydra server.


  Commit: 7b3dfe836320c011af72c9636a286737d47d470a
  
https://github.com/NixOS/hydra/commit/7b3dfe836320c011af72c9636a286737d47d470a
  Author: Eelco Dolstra 
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
M hydra-module.nix
M release.nix
M src/lib/Hydra/View/NARInfo.pm
M src/lib/Hydra/View/NixNAR.pm

  Log Message:
  ---
  Merge pull request #377 from domenkozar/pixz

Use pixz instead of bzip2 for compressing nars


Compare: https://github.com/NixOS/hydra/compare/dd32033657fc...7b3dfe836320___
nix-commits mailing list
nix-comm...@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-commits


  1   2   3   >