Allow using a subdirectory of a repository as a job input

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
git

Research direction

Start by tracing how Hydra handles Mercurial, Bazaar, and Git repository inputs, then compare that behavior with Subversion inputs, which support subdirectory checkouts. The work is done when a subdirectory or single file can be selected and changes outside that selection do not trigger a rebuild.

Written by the indexing model from the issue text.

Description

feature

The Mercurial/Bazaar/Git repository types do not allow using a subdirectory (or single file) of the repository as a job input. This is useful if the repository contains other stuff besides the files we're interested in, and we don't want commits to the other stuff to trigger a rebuild. (With Subversion inputs this is possible because it allows checking out subdirectories.)

Dominant language
PLpgSQL
Stars
1.6k
Forks
358
Avg merge
20h 30m
Merged PRs (30d)
27

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NixOS/hydra

All issues in NixOS/hydra

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.