From 2cd27b8dd40c7361f6f2b8832e210a58f30f3639 Mon Sep 17 00:00:00 2001 From: Michael Gattozzi Date: Thu, 21 Nov 2019 10:59:44 -0500 Subject: Move find_root function into the new shared crate This cleans up the init function using the modified find_root function for ticket and moves it into a new shared crate so that other tools that might be built can use it. This means we can easily find the root of a git repo no matter where in the repo one is and build paths relative to it. Closes #3 --- .dev-suite/ticket/closed/3-create-a-find_root-function.toml | 12 ++++++++++++ .dev-suite/ticket/open/3-create-a-find_root-function.toml | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 .dev-suite/ticket/closed/3-create-a-find_root-function.toml delete mode 100644 .dev-suite/ticket/open/3-create-a-find_root-function.toml (limited to '.dev-suite') diff --git a/.dev-suite/ticket/closed/3-create-a-find_root-function.toml b/.dev-suite/ticket/closed/3-create-a-find_root-function.toml new file mode 100644 index 0000000..5057356 --- /dev/null +++ b/.dev-suite/ticket/closed/3-create-a-find_root-function.toml @@ -0,0 +1,12 @@ +title = 'Create a find_root function' +status = 'Closed' +number = 3 +description = ''' +One of the issues with ticket is that it has a bug in init where if it's +not given the path to the root of a git then it will fail. This is +frankly frustrating and can be a bit unexpected in behavior. We fixed +this in the ticket creation with a `find_root` function. This should be +a more generalized function and be shared amongst future tools as this +will be a common operation. It shouldn't matter where in a repo you are, +the tools should just work. +''' diff --git a/.dev-suite/ticket/open/3-create-a-find_root-function.toml b/.dev-suite/ticket/open/3-create-a-find_root-function.toml deleted file mode 100644 index 7ec030e..0000000 --- a/.dev-suite/ticket/open/3-create-a-find_root-function.toml +++ /dev/null @@ -1,12 +0,0 @@ -title = 'Create a find_root function' -status = 'Open' -number = 3 -description = ''' -One of the issues with ticket is that it has a bug in init where if it's -not given the path to the root of a git then it will fail. This is -frankly frustrating and can be a bit unexpected in behavior. We fixed -this in the ticket creation with a `find_root` function. This should be -a more generalized function and be shared amongst future tools as this -will be a common operation. It shouldn't matter where in a repo you are, -the tools should just work. -''' -- cgit v1.2.3