aboutsummaryrefslogtreecommitdiffstats
path: root/src/af83.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-09 01:14:38 +0100
committerTeddy Wing2017-11-09 01:14:38 +0100
commit254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95 (patch)
tree9ef4ceb7f61536170f98e634430ec3b501745d18 /src/af83.rs
parentdf0b5cd4b3c4af93019e2f628fa32101242d4ec2 (diff)
downloadkipper-254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95.tar.bz2
CommitRef: Add `owner` field
This field stores the "owner" of the commit on GitHub, in other words, a user or organisation. Storing that information in this struct makes it easier to pass around.
Diffstat (limited to 'src/af83.rs')
-rw-r--r--src/af83.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/af83.rs b/src/af83.rs
index b3b8bf7..bc8876c 100644
--- a/src/af83.rs
+++ b/src/af83.rs
@@ -14,6 +14,7 @@ mod tests {
#[test]
fn job_name_is_branch_appended_by_commit_sha_prefix() {
let commit_ref = CommitRef {
+ owner: "sybil".to_string(),
repo: "sybil-system".to_string(),
sha: "159f8769b897ed7774700d0b2777def8ac838b8f".to_string(),
branch: "5912-make-logo-bigger".to_string(),