Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applying various patches and fixing various things #597

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

cleverca22
Copy link
Contributor

@cleverca22 cleverca22 commented Sep 10, 2018

  • fix hydra build on nixpkgs master:
    copied from NixOS/nixpkgs@c501958 and NixOS/nixpkgs@f7fe612
  • fix nix-prefetch-git to accept submodules on build inputs
  • allow shorter context in the github-status plugin, that exclude the -pr-123 on the jobset name
  • overhaul the notify channel between hydra-eval-jobset and hydra-queue-runner
    it now sends an eval#, rather then the lowest build#, and then queue-runner just looks up the members of the eval

@cleverca22 cleverca22 changed the title [WIP-do-not-merge] applying various patches and fixing various things applying various patches and fixing various things Sep 10, 2018
@cleverca22 cleverca22 force-pushed the fixing-everything branch 2 times, most recently from d0380cb to a4469f8 Compare September 11, 2018 11:27
Copy link

@LisannaAtHome LisannaAtHome left a comment

Choose a reason for hiding this comment

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

This appears to fix #366 and #550 for me. Would be awesome if this got merged.

@grahamc
Copy link
Member

grahamc commented Mar 18, 2019

Maybe you could make this a few PRs:

  • one fixing dependency problems
  • one for the declarative jobsets
  • one for the github context
  • one for the notify events

for the one about notify events, could you write a bit more about the why's?


pqxx::result res = txn.parameterized
("select id, project, jobset, job, drvPath, maxsilent, timeout, timestamp, globalPriority, priority from Builds "
"where id IN (select build from jobsetevalmembers where eval = $1) order by globalPriority desc, id")
Copy link
Member

Choose a reason for hiding this comment

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

This looks like it could be a fairly simple join, and avoid a temporary table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants