aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add quickcheck dependency to libgitmailKatharina Fey2020-01-101-0/+13
|
* Adding nom as a dependency to libgitmailKatharina Fey2020-01-081-0/+104
|
* Update reqwest and create a release profileMichael Gattozzi2020-01-021-499/+276
|
* Add the ability to install dev-suite to ds toolMichael Gattozzi2020-01-011-0/+812
| | | | | | This adds the ability to install dev-suite from the command line and simplifies the process of acquiring all of the tools and sets the foundations to use ds more like rustup to manage dev-suite.
* Switch from termion to crossterm for tuiMichael Gattozzi2019-12-191-32/+242
|
* Add the ability to add comments to ticketsMichael Gattozzi2019-12-131-0/+2
| | | | | | | | | | | | | | | | | | This commit encompasses quite a few changes to add tickets: - The `Ticket` struct is updated to properly order comments using a uuid v1 and to hold the user name, uuid, and their comment - Tickets in the repo are updated to accomodate this change to the ticket. Despite this being a breaking config change, none of these tickets had any comments so it was an easy manual port and the migration tool did not need to be updated. - The TUI was updated to display the tickets a bit better with some coloring and now also showing the comments with them This gets us one step closer to a decent first release for ticket. The only things that are really left to do are adding the ability to comment in the tui, listing tickets on the cli, and adding in issue assignees on both the cli and tui.
* Extend ds with config subcomandMichael Gattozzi2019-12-121-0/+1
| | | | | This commit utilizes configamajig to allow creating configs for a repo and the user themselves as well as checking what those values are.
* Create configamajig to handle dev-suite configsMichael Gattozzi2019-12-121-0/+13
| | | | | | | Configuaration is important and overtime dev-suite will need more and more of it. This commit adds the configamajig crate to handle these configs and have it shared across tools that need access to them, creating one API not several bits of glue code to read in files.
* Upgrade ticket format from V0 to V1 to use UUIDsMichael Gattozzi2019-12-031-0/+1
| | | | | | | | | | | | | | | | | | | | | This is a necessary upgrade to deal with the fact that incremental ids do not work in distributed systems. For instance say we have two branches from the same commit on master and they both add a new ticket. Both will have the same incremental ID despite being completely separate tickets. In this case we want to use UUIDs, specifically version 1 as defined in IETF RFC 4122. This version of UUID uses a timestamp to generate it and as a result the UUID it generates is *sortable*. This means that the UUIDs can be created whenever on any branch, be unique, and will be sortable by time. No matter when or where our tickets can be sorted correctly by this UUID in a deterministic order. Since we are also upgrading the code we've set up migration upgrade code to handle this in case we need to do this again in the future. We also add a few more fields and make some breaking changes since we already are for the UUIDs. Resources: - https://tools.ietf.org/html/rfc4122
* Add a tui for ticketMichael Gattozzi2019-12-021-0/+76
| | | | | | | | This commit sets up a basic tui for the current functionality. It's traversable by keyboard and by mouse and shows the ticket state via tab, info in a row, and the description in it's own box when selected. This is necessary for a good user experience for in repo tools. Files are fine, but interactivity is better.
* Add logging output to ticketMichael Gattozzi2019-11-261-0/+2
| | | | | | | | ticket used to just run without any kind of logging for commands that weren't just printing tickets to the console or getting any kind of information as to what was going on. This change adds logging with info level for the end user by default, with debug and trace statements while developing the code being an option via the RUST_LOG env var.
* Add logging output to hookedMichael Gattozzi2019-11-261-0/+131
| | | | | | | | We really should be logging what's going on as each of these tools run. Before this change hooked just ran without any indication of what was going on. This change adds logging with info level for the end user by default, with debug and trace statements while developing the code being an option as well.
* Create dev-suite tool to orchestrate toolingMichael Gattozzi2019-11-261-0/+91
| | | | | | | | | | The dev-suite tool acts simmilar to rustup in that it's responsible for keeping the tools up to date, installing the tools, and managing itself. It also includes an init command to run all the various tools init commands all at once. Of course we want what tools people use to be configurable. dev-suite uses dialouger in order to provide a nice text based menu for things like selecting what tools to use etc. Certain functions are stubbed out for now, but they will be expanded over time.
* Add 'hooked init' testMichael Gattozzi2019-11-251-0/+366
| | | | | | | | | Up to this point testing of our command line tools just hasn't been happening. That's not great. While locally testing things by hand is possible, overtime various workflows will be harder to test by hand. By automating these tests we can avoid regressions that we wouldn't think to catch. Future work will involve working on adding tests for tools as they integrate together.
* Add commit message linting hook to the repoMichael Gattozzi2019-11-221-0/+1
| | | | | | | | | This adds a commit to handle git commit linting to enforce style by not allowing less than 10 or more than 50 chars for titles and less than or equal to 72 chars for the body. Chars are measured in number of graphemes as 50 chars represented in the terminal is what we want to use not 50 bytes. This will eventually be an installable hook for end users if they want it.
* Add hooked and empty inited hooks from the toolMichael Gattozzi2019-11-221-0/+10
| | | | | | | | | | | | | | | This adds the hooked binary to the dev-suite repo as well as a stub for a program to be used in this workflow! Hooked works by adding the hooks into the repo and setting them to executable and linking them into the hooks directory under .git. This means hooks get to travel with the repo and are source controlled. All a dev needs to do is run the init command and hooked will symlink them all for them. No need to remember how ln works. It's all handled for you. Future work will iterate about what hooks that dev-suite supplies as part of the script. This will involve configuration files and per repo settings are something that will need to be thought about. Closes Issue #2
* Move find_root function into the new shared crateMichael Gattozzi2019-11-211-0/+8
| | | | | | | | | | 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
* Bump anyhow from 1.0.19 to 1.0.22dependabot-preview[bot]2019-11-181-3/+3
| | | | | | | Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.19 to 1.0.22. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.19...1.0.22) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Add ticket functionality to dev-suite (#3)Michael Gattozzi2019-11-181-0/+339
| | | | | | | This adds the ability to open new tickets, close them, and show them from the commandline. This functionality is enough to get started adding more tickets to the repo from here on out and work on new tools with tickets associated with them.
* Initialize the dev-suite repoMichael Gattozzi2019-11-151-0/+224
This commit initializes the repo with a stubbed out ticket tool and the rustfmt preferences for the repo. The idea is that dev-suite will allow remote collaboration by giving a lot of the functionality that GitHub and other services have, but have all of the data live alongside the repo and it's history. This makes choosing a different service easier and lets people who don't want to use the service have that option.